Manual brew style fixes.
This commit is contained in:
parent
2d5eab2e1c
commit
22d6af1258
@ -78,8 +78,8 @@ module Homebrew
|
||||
description: "Specify a comma-separated <cops> list to check for violations of only the listed " \
|
||||
"RuboCop cops."
|
||||
comma_array "--except-cops",
|
||||
description: "Specify a comma-separated <cops> list to skip checking for violations of the listed " \
|
||||
"RuboCop cops."
|
||||
description: "Specify a comma-separated <cops> list to skip checking for violations of the " \
|
||||
"listed RuboCop cops."
|
||||
switch "--formula", "--formulae",
|
||||
description: "Treat all named arguments as formulae."
|
||||
switch "--cask", "--casks",
|
||||
|
@ -65,8 +65,8 @@ module Homebrew
|
||||
"`--merge`."
|
||||
switch "--merge",
|
||||
description: "Generate an updated bottle block for a formula and optionally merge it into the " \
|
||||
"formula file. Instead of a formula name, requires the path to a JSON file generated with " \
|
||||
"`brew bottle --json` <formula>."
|
||||
"formula file. Instead of a formula name, requires the path to a JSON file generated " \
|
||||
"with `brew bottle --json` <formula>."
|
||||
switch "--write",
|
||||
depends_on: "--merge",
|
||||
description: "Write changes to the formula file. A new commit will be generated unless " \
|
||||
|
@ -82,8 +82,8 @@ module Homebrew
|
||||
description: "Append these options to all `cask` commands. All `--*dir` options, " \
|
||||
"`--language`, `--require-sha`, `--no-quarantine` and `--no-binaries` are supported. " \
|
||||
"For example, you might add something like the following to your " \
|
||||
"`~/.profile`, `~/.bash_profile`, or `~/.zshenv`:\n\n" \
|
||||
' `export HOMEBREW_CASK_OPTS="--appdir=~/Applications --fontdir=/Library/Fonts"`',
|
||||
"`~/.profile`, `~/.bash_profile`, or `~/.zshenv`:" \
|
||||
'\n\n `export HOMEBREW_CASK_OPTS="--appdir=~/Applications --fontdir=/Library/Fonts"`',
|
||||
},
|
||||
HOMEBREW_CLEANUP_PERIODIC_FULL_DAYS: {
|
||||
description: "If set, `brew install`, `brew upgrade` and `brew reinstall` will cleanup all formulae " \
|
||||
|
@ -97,9 +97,12 @@ class Attr < Parlour::Plugin
|
||||
when :attr_rw
|
||||
name = node.shift
|
||||
name = "self.#{name}" if sclass
|
||||
namespace.create_method(name, parameters: [
|
||||
Parlour::RbiGenerator::Parameter.new("arg", type: "T.untyped", default: "T.unsafe(nil)"),
|
||||
], return_type: "T.untyped")
|
||||
namespace.create_method(name,
|
||||
parameters: [
|
||||
Parlour::RbiGenerator::Parameter.new("arg", type: "T.untyped",
|
||||
default: "T.unsafe(nil)"),
|
||||
],
|
||||
return_type: "T.untyped")
|
||||
when :attr_predicate
|
||||
name = node.shift
|
||||
name = "self.#{name}" if sclass
|
||||
|
@ -109,8 +109,8 @@ describe RuboCop::Cop::Cask::StanzaOrder do
|
||||
severity: :convention,
|
||||
line: 3,
|
||||
column: 2,
|
||||
source: "uninstall :quit => 'com.example.foo',\n" \
|
||||
" :kext => 'com.example.foo.kext'",
|
||||
source: "uninstall :quit => 'com.example.foo'," \
|
||||
"\n :kext => 'com.example.foo.kext'",
|
||||
}, {
|
||||
message: "`version` stanza out of order",
|
||||
severity: :convention,
|
||||
|
@ -1982,9 +1982,7 @@ example, run `export HOMEBREW_NO_INSECURE_REDIRECT=1` rather than just
|
||||
*Default:* macOS: `$HOME/Library/Caches/Homebrew`, Linux: `$XDG_CACHE_HOME/Homebrew` or `$HOME/.cache/Homebrew`.
|
||||
|
||||
- `HOMEBREW_CASK_OPTS`
|
||||
<br>Append these options to all `cask` commands. All `--*dir` options, `--language`, `--require-sha`, `--no-quarantine` and `--no-binaries` are supported. For example, you might add something like the following to your `~/.profile`, `~/.bash_profile`, or `~/.zshenv`:
|
||||
|
||||
`export HOMEBREW_CASK_OPTS="--appdir=~/Applications --fontdir=/Library/Fonts"`
|
||||
<br>Append these options to all `cask` commands. All `--*dir` options, `--language`, `--require-sha`, `--no-quarantine` and `--no-binaries` are supported. For example, you might add something like the following to your `~/.profile`, `~/.bash_profile`, or `~/.zshenv`:\n\n `export HOMEBREW_CASK_OPTS="--appdir=~/Applications --fontdir=/Library/Fonts"`
|
||||
|
||||
- `HOMEBREW_CLEANUP_PERIODIC_FULL_DAYS`
|
||||
<br>If set, `brew install`, `brew upgrade` and `brew reinstall` will cleanup all formulae when this number of days has passed.
|
||||
|
@ -2826,10 +2826,7 @@ Use this directory as the download cache\.
|
||||
\fBHOMEBREW_CASK_OPTS\fR
|
||||
.
|
||||
.br
|
||||
Append these options to all \fBcask\fR commands\. All \fB\-\-*dir\fR options, \fB\-\-language\fR, \fB\-\-require\-sha\fR, \fB\-\-no\-quarantine\fR and \fB\-\-no\-binaries\fR are supported\. For example, you might add something like the following to your \fB~/\.profile\fR, \fB~/\.bash_profile\fR, or \fB~/\.zshenv\fR:
|
||||
.
|
||||
.IP
|
||||
\fBexport HOMEBREW_CASK_OPTS="\-\-appdir=~/Applications \-\-fontdir=/Library/Fonts"\fR
|
||||
Append these options to all \fBcask\fR commands\. All \fB\-\-*dir\fR options, \fB\-\-language\fR, \fB\-\-require\-sha\fR, \fB\-\-no\-quarantine\fR and \fB\-\-no\-binaries\fR are supported\. For example, you might add something like the following to your \fB~/\.profile\fR, \fB~/\.bash_profile\fR, or \fB~/\.zshenv\fR:\en\en \fBexport HOMEBREW_CASK_OPTS="\-\-appdir=~/Applications \-\-fontdir=/Library/Fonts"\fR
|
||||
.
|
||||
.TP
|
||||
\fBHOMEBREW_CLEANUP_PERIODIC_FULL_DAYS\fR
|
||||
|
Loading…
x
Reference in New Issue
Block a user