568 Commits

Author SHA1 Message Date
Rylan Polster
3b944434cf style: allow python versions with two digits 2020-10-11 09:46:14 -04:00
Rylan Polster
40e4b38d05 style: python versions must match python dependency 2020-10-10 13:59:20 -04:00
Markus Reiter
24ae318a3d Move type annotations into files. 2020-10-10 14:59:39 +02:00
Markus Reiter
b4e8bfe716 Fix RuboCop offenses. 2020-10-09 11:17:55 +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
e6ed3a0568
rubocops/livecheck: minor changes 2020-09-17 15:57:19 +05:30
nandahkrishna
7c3c459f47
livecheck: add RuboCops 2020-09-17 15:57:19 +05:30
Mike McQuaid
fb4d08a49a Fix brew style 2020-09-11 10:29:22 +01:00
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
Mike McQuaid
8b97c27c21 brew style manual fixes 2020-09-01 14:26:45 +01:00
Markus Reiter
f32b2e0515
Switch unless to if.
Co-authored-by: Mike McQuaid <mike@mikemcquaid.com>
2020-09-01 13:59:24 +02: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
Dustin Rodrigues
04382c8d06
Merge pull request #8470 from dtrodrigues/sha-tag
audit: don't allow both sha256 and tag/revision for formula
2020-08-26 07:58:49 -04:00
Markus Reiter
c43407f40e Document FormulaAudit::Version. 2020-08-26 03:13:59 +02:00
Markus Reiter
7630cee8e1 Document FormulaAudit::Urls. 2020-08-26 03:13:59 +02:00
Markus Reiter
7719b4e1f0 Document FormulaAudit::Text. 2020-08-26 03:13:59 +02:00
Markus Reiter
d5ba5cb8f8 Document rubocops/shared modules. 2020-08-26 03:13:59 +02:00
Markus Reiter
7e2e5bf388 Document FormulaCop. 2020-08-26 03:13:59 +02:00
Markus Reiter
52efa13222 Document rubocops/lines cops. 2020-08-26 03:13:59 +02:00
Markus Reiter
8e55d7fde2 Document FormulaAudit::KegOnly. 2020-08-26 03:13:59 +02:00
Markus Reiter
7185e4c9a7 Document FormulaAudit::Files. 2020-08-26 03:13:59 +02:00
Markus Reiter
26af3b5807 Document rubocops/class cops. 2020-08-26 03:13:59 +02:00
Markus Reiter
69a0e3fb61 Document FormulaAudit::ComponentsRedundancy. 2020-08-26 03:13:59 +02:00
Markus Reiter
924fc47f0f Document FormulaAudit::Checksum. 2020-08-26 03:13:59 +02:00
Markus Reiter
a91e606d48 Document FormulaAudit::Caveats. 2020-08-26 03:13:59 +02:00
Dustin Rodrigues
9949482fc8 style: don't allow both sha256 and tag/revision in a formula 2020-08-24 10:10:59 -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
Mike McQuaid
3a91c37e66
Fix RuboCop checks. 2020-08-19 17:12:32 +01:00
Markus Reiter
750e299d49 Don't take name into account when calculating description length. 2020-08-15 00:16:56 +02:00
Markus Reiter
62ae16bfa8 Allow iOS and iPhone at the beginning of descriptions. 2020-08-13 18:18:03 +02:00
Alexander Bayandin
8142bf2797 rubocop/urls: add go@1.14 to binary URLs allowlist 2020-08-12 15:35:20 +01:00
Markus Reiter
9ed16681f3 Fix Desc cop for casks. 2020-08-12 01:07:03 +02:00
Waldir Pimenta
c66fa42efd Add language stanza to cask rubocops
Also fix the corresponding test
2020-08-09 22:07:31 +01:00
Waldir Pimenta
1b71d99f45 Fix order and grouping of cask stanzas
- Put `desc` stanza after the `name` stanza
- Add missing `vst3_plugin` stanza to the group containing `vst_plugin`
2020-08-09 18:27:59 +01: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
Waldir Pimenta
ffed8fdbb3 Add a desc stanza to the cask DSL 2020-08-08 23:02:23 +01:00
Waldir Pimenta
db7ffe21f1 Fix URL of the documentation for stanza order and grouping 2020-08-08 23:01:52 +01:00
Markus Reiter
5d3881e1ab Don't skip RuboCop on non-existent ARGV methods. 2020-08-06 16:28:07 +02:00