BrewTestBot
456677a3f2
sorbet: Autobump sigils via Spoom
...
Autogenerated by the [sorbet](https://github.com/Homebrew/brew/blob/master/.github/workflows/sorbet.yml ) workflow.
2024-07-14 00:24:16 +00:00
Sam Ford
17b0493e18
Use struct for #audit_formula
args
...
Adding type signatures to `#audit_formula` methods in formula cops
would lead to verbose, repetitive signatures across the existing ~63
instances. This reworks `#audit_formula` to use a `T::Struct` for its
arguments, which allows us to use a one-line signature for these
methods.
2024-07-08 12:22:25 -04:00
Sean Molenaar
bbd73a7243
feat: add shared checks for casks and formulae
2024-06-16 17:24:31 +02:00
Markus Reiter
480e264d9a
Lint Ruby docs.
2024-05-01 11:35:21 +02:00
Markus Reiter
caf87c0336
Warn about undocumented non-private APIs.
2024-05-01 11:35:20 +02:00
Douglas Eichelberger
387d2f859f
Use exclude_from_registry instead
2023-02-20 18:14:47 -08:00
Douglas Eichelberger
d9db5e8825
Refactor FormulaCop as a mixin
2023-02-20 18:14:47 -08:00
Bo Anderson
6ede5d2dd5
rubocops: handle empty formula body in various cops
2022-11-05 04:40:16 +00:00
Mike McQuaid
2d5eab2e1c
brew style --fix
2022-06-30 08:56:21 +01:00
Issy Long
ffe0c18b2a
rubocops/homepage: Escape .
s in hostnames in regexps
2022-04-15 15:46:36 +01:00
Rick Mark
dd7a33649f
Update homepage.rb
2022-02-01 00:03:48 -07:00
Jonathan Chang
92e07f5c0b
rubocops/homepage: use rubocop v1 API
2021-01-12 19:11:43 +11:00
Mike McQuaid
051fba341f
rubocops/homepage: don't attempt to auto-correct an empty string.
...
Fixes #10232
2021-01-06 13:53:15 +00:00
Mike McQuaid
7ab50ef6f6
rubocops/homepage: fix frozen string error.
2020-12-31 13:30:24 +00:00
Markus Reiter
1b732ec7b2
Fix RuboCop offenses.
2020-11-16 02:05:29 +01:00
Rylan Polster
20ee7e8881
add Lint/DuplicateBranch cop exceptions
2020-11-16 02:02:52 +01:00
EricFromCanada
3768b7a6e9
apidoc: update comment wording, punctuation, formatting
2020-11-06 00:21:02 -05:00
Markus Reiter
24ae318a3d
Move type annotations into files.
2020-10-10 14:59:39 +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
Mike McQuaid
fa760a2f26
Fix brew style
.
2020-07-07 13:12:37 +01:00
Issy Long
1f6168fe8a
Change regexp.match?(string) to string.match?(regexp) everywhere
...
- Only try to call `.match?` on strings that aren't nil.
2019-10-13 23:22:51 +01:00
Issy Long
b78028b9c2
Auto-fix Performance/RegexpMatch offenses
2019-10-13 16:04:26 +01:00
Mike McQuaid
36dbad3922
Add frozen_string_literal to all files.
2019-04-20 13:27:36 +09: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