Markus Reiter
24ae318a3d
Move type annotations into files.
2020-10-10 14:59:39 +02:00
Rylan Polster
38cedb9013
style: allow license exceptions to be on one line
2020-10-05 16:23:52 -04:00
Rylan Polster
a91730316c
style: only require tag for git urls with --strict
2020-10-03 15:51:30 -04:00
Rylan Polster
c84b5f985f
style: require tag
and revision
for git urls
2020-10-03 12:27:01 -04:00
Jonathan Chang
f6cd7b72f4
Merge pull request #8757 from reitermarkus/desc-the
...
Check for descriptions starting with “the”.
2020-09-20 15:36:27 +10:00
Markus Reiter
78cd6dc0a9
Allow “macOS virtual machines” in descriptions.
2020-09-19 04:30:54 +02:00
Markus Reiter
9a48568226
Check for descriptions starting with “the”.
2020-09-17 20:44:09 +02:00
nandahkrishna
7c3c459f47
livecheck: add RuboCops
2020-09-17 15:57:19 +05:30
Mike McQuaid
2e5272d04c
Deprecate/disable code for Homebrew 2.5.0.
...
Do the usual "disable deprecations" and "uncomment pending deprecations"
dance and delete/deprecate/disable relevant/related code.
2020-09-03 10:34:22 +01:00
Markus Reiter
6994556d19
Don't allow platform in cask descriptions.
2020-09-01 13:18:59 +02:00
Markus Reiter
3038ff8726
Improve detection of descriptions starting with cask/formula name.
2020-09-01 02:53:25 +02:00
Rylan Polster
4d0a1ff775
deprecate!, disable!: allow symbols for reason
2020-08-31 10:11:08 -04:00
Rylan Polster
842335d47b
style: check disable! dates and reasons
2020-08-31 10:11:08 -04:00
Rylan Polster
6162799d63
style: check deprecate! reason
2020-08-31 10:11:08 -04:00
Rylan Polster
b1c374b729
style: fix deprecation date check
2020-08-29 10:57:07 -04:00
Rylan Polster
97b1b75dc5
style: forbid one line nested license expressions
2020-08-20 11:20:04 -04:00
Rylan Polster
ef447a38c6
style: convert from license array to license hash
2020-08-20 10:58:36 -04:00
Markus Reiter
750e299d49
Don't take name into account when calculating description length.
2020-08-15 00:16:56 +02:00
Markus Reiter
3b86e1f9c1
Implement RuboCop for cask desc
stanza.
2020-08-08 23:04:24 +01:00
Waldir Pimenta
fc6813f094
Extract formula desc auditing code to a separate module
...
The extracted module will be used for Cask descs as well.
Co-authored-by: Markus Reiter <me@reitermark.us>
2020-08-08 23:02:39 +01:00
Markus Reiter
62671b1703
Remove wrong test.
2020-08-06 16:13:14 +02:00
Dustin Rodrigues
5157c08327
style: clarify GitHub .git error message
2020-08-05 01:00:36 -04:00
Dustin Rodrigues
1c5e73a578
style: autocorrect readthedocs and GitHub .git homepages
2020-08-04 09:45:18 -04:00
Dustin Rodrigues
de8cc4106a
style: don't allow PR/MR urls for patches
2020-08-01 16:20:46 -04:00
Dustin Rodrigues
af3ea7d5aa
Revert "style: don't allow PR/MR urls for patches"
...
This reverts commit 7a2483728c18e9cfb45e4b3f079687ec5a8e1503.
2020-07-28 21:20:46 -04:00
Dustin Rodrigues
7a2483728c
style: don't allow PR/MR urls for patches
2020-07-28 10:18:26 -04:00
Dawid Dziurla
2cd72908bc
Merge pull request #7863 from iMichka/single-resource
...
on_os resources: allow linux-only or mac-only resources
2020-07-20 16:58:30 +02:00
Rylan Polster
70dfaf3b42
Add link to pypi downloads page to problem message
2020-07-18 14:22:05 -04:00
Rylan Polster
5f3f7d010b
Require long urls for pypi and pythonhosted urls
2020-07-18 14:05:46 -04:00
Rylan Polster
d8fb850fa9
fix pkgshare missing slash issue
2020-07-12 14:20:50 -04:00
Michka Popoff
edd1685d37
on_os resources: allow linux-only or mac-only resources
...
This is now allowed since #7833 has been fixed.
2020-07-10 23:16:43 +02:00
Rylan Polster
9e52712b08
style: don't need require "formula"
2020-07-10 11:17:37 -04:00
Rylan Polster
e0b5c2093a
style: refactor OptionDeclarations cop
2020-07-10 11:17:37 -04:00
Rylan Polster
1859162735
style: use pkgshare instead of share/foo
2020-07-10 11:17:37 -04:00
Rylan Polster
792533462a
style: don't use prefix + directory
2020-07-10 11:17:37 -04:00
Rylan Polster
b4a9565b8b
style: require java dependency for JAVA_HOME
2020-07-10 11:17:37 -04:00
Rylan Polster
9ad342eba0
style: don't concatenate in string interpolation
2020-07-10 11:17:37 -04:00
Rylan Polster
63b81d847a
style: env :userpaths is deprecated
2020-07-10 11:17:37 -04:00
Rylan Polster
1e943d7b6f
style: env :std deprecated in homebrew-core
2020-07-10 11:17:37 -04:00
Rylan Polster
bd8805b14f
style: separate make commands
2020-07-10 11:17:37 -04:00
EricFromCanada
8540aaf218
audit: disallow capitalization and period in conflicts_with reason
2020-07-07 13:25:54 -04:00
Mike McQuaid
fa760a2f26
Fix brew style
.
2020-07-07 13:12:37 +01:00
Mike McQuaid
6211d0da13
Merge pull request #7691 from Rylan12/popen_read-audit
...
style: separate shell command arguments
2020-07-06 09:15:52 +01:00
Rylan Polster
ae0d37e911
Transfer to FormulaAuditStrict
2020-07-05 13:57:49 -04:00
Rylan Polster
0786003fe9
Add tests for autocorrect
2020-07-05 12:12:36 -04:00
Rylan Polster
e252de5295
style: improve keg_only style checks
2020-07-03 14:35:32 -04:00
lionellloh
7358dd7bba
style fixes
2020-06-30 23:25:51 +08:00
lionellloh
1422542a07
components_order and test
2020-06-30 23:18:04 +08:00
Michka Popoff
8d55c87adb
components order: fix audit and add test
2020-06-30 08:36:11 +01:00
Rylan Polster
d921e94a2b
rubocop: separate args for shell commands
...
Use `system "foo", "bar"` instead of `system "foo bar"`. Also applies to
`Utils.popen_read` and `Utils.popen_write` commands. RuboCop can
automatically fix these problems.
2020-06-29 13:26:58 -04:00