Issy Long
149b0e4f31
Fix new Style/MutableConstant
RuboCop offenses for Ruby 3.1
...
- A follow-up to de592af20bbff5bcb548d2474f0722e59ff1129a, resetting the previous disabled comments too.
2023-12-16 11:57:06 +00:00
Issy Long
de592af20b
rubocop: Set TargetRubyVersion to 3.1 & disable all cops that fail
...
- As discussed in
https://github.com/Homebrew/brew/pull/16337#issuecomment-1855668516 ,
then we won't have the chicken/egg problem of fixing cops for syntax
that's unsupported on Ruby 2.6 _before_ we set the TargetRubyVersion
to 3.1, but if we set it too early then all the taps will fail.
2023-12-14 23:19:43 +00:00
Douglas Eichelberger
24cf6076e8
brew style --fix
2023-04-24 20:42:39 -07:00
Dustin Rodrigues
eb1fbab729
minor typo fixes
2022-11-06 22:50:07 -05:00
Markus Reiter
1690f064a2
Add types for Formula
.
2020-11-25 17:36:52 +01:00
Markus Reiter
1b732ec7b2
Fix RuboCop offenses.
2020-11-16 02:05:29 +01:00
Rylan Polster
50890ebd51
fix Lint/DuplicateBranch style
2020-11-16 02:02:52 +01:00
Markus Reiter
a582b6e371
Add type signatures for PATH
.
2020-10-19 22:10:21 +02:00
Markus Reiter
24ae318a3d
Move type annotations into files.
2020-10-10 14:59:39 +02:00
Mike McQuaid
8b97c27c21
brew style manual fixes
2020-09-01 14:26:45 +01:00
Markus Reiter
a231116252
Document PATH
.
2020-08-26 03:13:58 +02:00
Mike McQuaid
36dbad3922
Add frozen_string_literal to all files.
2019-04-20 13:27:36 +09:00
Markus Reiter
9f1b64a9d4
Add additional specs for PATH
.
2018-04-20 19:11:22 +02:00
Markus Reiter
1be5eeec26
Add test and comment for PATH#existing
.
2017-04-30 21:23:12 +02:00
Markus Reiter
005f165dcb
Simplify PATH#parse
.
2017-04-30 21:11:49 +02:00
Markus Reiter
4d5d6a65e3
Rename PATH#validate
to PATH#existing
.
2017-04-30 21:11:28 +02:00
Markus Reiter
22f624b373
Make PATH
enumerable.
2017-04-30 21:11:28 +02:00
Markus Reiter
e70f2ec332
Make sure duplicates are remove from PATH
.
2017-04-30 21:11:28 +02:00
Markus Reiter
0bb9b4918e
Remove PATH#inspect
.
2017-04-30 21:11:28 +02:00
Markus Reiter
d552ff316d
Make PATH#validate
return nil
if empty.
2017-04-30 21:11:28 +02:00
Markus Reiter
cb1ac3f998
Don’t implement PATH#eql?
.
2017-04-30 21:11:27 +02:00
Markus Reiter
a16746906d
Add PATH
class.
2017-04-30 21:11:27 +02:00