186 Commits

Author SHA1 Message Date
Mike McQuaid
170c5493a4
Update deprecations
- Add some `odeprecated`
- Make some `odeprecated` now `odisabled`
- Remove `odisabled` code.
- Remove old update migrations
- Remove GCC 4.0 compiler
- Remove Tiger-only code
- Remove 32-bit-only code
- Remove use of LD64
- Remove GCC 4.3 - 4.8 support.
2019-01-08 19:13:46 +00:00
Mike McQuaid
b917cccf19
rubocops: remove scons audit.
This will be deprecated in #5477.
2019-01-06 14:41:37 +00:00
Shaun Jackman
8461cf24f1 rubocop: Use include? rather than match 2018-12-10 10:23:39 -08:00
Shaun Jackman
f62955688f audit: Disable "Don't use OS.mac?" for Linuxbrew 2018-11-26 11:55:28 -08:00
Mike McQuaid
491ceb6c4c
Import rubocop-cask (with clean brew style) 2018-11-08 15:54:46 +00:00
Mike McQuaid
376eac2b8d
rubocops: rename files for consistency.
Make the filenames consistent with the class names.
2018-11-08 14:42:55 +00:00
Mike McQuaid
737b84b54b
brew style --fix fixes. 2018-11-02 17:29:23 +00:00
commitay
cbae07cd0f options_cop: make audits non-strict 2018-10-27 22:20:17 +10:00
Viktor Szakats
44578adfdb audit: use debian canonical mirror 2018-10-23 15:52:00 +00:00
EricFromCanada
20167e5f1b Adjust comments to tidy API docs output. 2018-10-18 21:42:43 -04:00
commitay
108999f7d7
Merge pull request #4863 from commitay/component-order
components_order_cop: add all components
2018-09-21 15:07:18 +10:00
commitay
02219f91d1
Merge pull request #4862 from commitay/dependency-order
make dependency_order_cop a regular audit
2018-09-19 07:51:42 +10:00
Markus Reiter
e9b9ea49a1 Update to RuboCop 0.59.1. 2018-09-17 03:45:59 +02:00
commitay
b46852da4c components_order_cop: add more components 2018-09-11 22:05:45 +10:00
commitay
a1264f5ada components_order_cop: add more components 2018-09-10 08:01:12 +10:00
commitay
6c3b8e100f components_order_cop: add all components 2018-09-09 13:12:18 +10:00
commitay
6053b6dc5b make dependency_order_cop a regular audit 2018-09-09 08:30:57 +10:00
Markus Reiter
eca488a966 Add $LOAD_PATH for RuboCop cops. 2018-09-06 01:10:47 +02:00
Mike McQuaid
0aa9dce03c
Revert "Add $LOAD_PATH for RuboCop cops." 2018-09-02 20:49:25 +01:00
Mike McQuaid
bcb1ec5499
Improve Homebrew/brew line length.
Use 124 max line length everywhere. Also, reduce tap max line length to
189 as Homebrew/homebrew-core has that as a maximum now. In future
Homebrew/homebrew-core will also be reduced to 124 maximum line length.
2018-09-02 16:15:09 +01:00
commitay
e4049b3005
Merge pull request #4775 from commitay/cargo-install
text_cop: update `cargo build` cop
2018-08-30 08:03:42 +10:00
commitay
0ce583964e text_cop: update cargo build cop 2018-08-29 23:06:53 +10:00
Markus Reiter
444e3d2a78 Add $LOAD_PATH for RuboCop cops. 2018-08-29 01:44:47 +02:00
commitay
84216f5aa8 conflicts_cop: remove node@ from whitelist 2018-08-19 17:35:23 +10:00
Jonathan Chang
25d0c020c9 audit: don't error when test block is missing 2018-08-16 16:42:08 -04:00
Jonathan Chang
ca59377a90 audit: add autocorrect and tests for test checks 2018-08-16 12:43:50 -04:00
Jonathan Chang
2487345460 audit: fixes for test checks 2018-08-16 12:43:13 -04:00
Dominyk Tiller
b8948129b8
class_cop: tighten test audit 2018-08-07 03:46:33 +01:00
Dominyk Tiller
73194b460d
formula_desc_cop: add unnecessary whitespace check 2018-08-06 18:43:26 +01:00
commitay
44873fd4c8 bottle_block_cop: remove 2018-07-04 21:25:43 +10:00
Mike McQuaid
c81806543f
Merge pull request #4414 from commitay/stable-block
components_redundancy: audit `stable do` without a head or devel spec
2018-07-03 08:29:52 +01:00
commitay
4dba9fddf1 components_redundancy: audit stable do without a head or devel spec 2018-07-03 11:56:31 +10:00
commitay
6ca66d18e0 audit: exempt versioned formulae from new formula audit 2018-07-02 23:40:24 +10:00
Gautham Goli
ffb4fe7041 DependencyOrder: Fix var initialization bug 2018-06-30 15:24:53 +05:30
Mike McQuaid
5e6c40e28f Make versioned formulae regex more consistent.
Share the regex where possible and otherwise ensure they are identical.
2018-06-18 14:36:51 +01:00
Markus Reiter
44f56a0773 Refactor join("") to join. 2018-06-15 13:56:08 +02:00
Markus Reiter
b9ba631982 Support constants in DependencyOrder cop. 2018-06-11 04:23:52 +02:00
commitay
3329a9f6d8 text_cop: require cargo to use install instead of build 2018-06-10 16:42:19 +10:00
commitay
490dc9118e text_cop: require dep ensure to use -vendor-only 2018-06-08 00:42:57 +10:00
commitay
1a4340161c options_cop: formula -> formulae 2018-06-02 16:56:55 +10:00
Markus Reiter
a0ca601a1a Silence Parser compatibility warning. 2018-05-26 16:24:48 +02:00
commitay
9d55fed15f audit: new formulae should not have options 2018-05-22 19:39:14 +10:00
Gautham Goli
efec2fa0c5 lines_cop: Add deprected options audit for depends_on 2018-05-06 15:42:51 +05:30
commitay
44937fcf95 components_order_cop: add post_install 2018-04-27 10:26:58 +10:00
ilovezfs
ae6ae30857
Merge pull request #4110 from commitay/desc_cop
formula_desc_cop desclength: make non-strict
2018-04-25 06:01:42 -07:00
Mike McQuaid
9089ea4df3
Merge pull request #4109 from commitay/components_redundancy_cop
components_redundancy_cop: make non-strict
2018-04-25 08:32:35 +01:00
Mike McQuaid
56124f2918
Merge pull request #4108 from commitay/urls_cop_pypi
urls_cop pypiurls: make non-strict
2018-04-25 08:32:30 +01:00
commitay
156451bd4b formula_desc_cop desclength: make non-strict 2018-04-25 16:38:40 +10:00
commitay
1b7e6f7eb2 urls_cop pypiurls: make non-strict 2018-04-25 12:18:22 +10:00
commitay
9e24cb9c62 components_redundancy_cop: make non-strict 2018-04-25 07:58:01 +10:00