ruff 0.0.240

* ruff 0.0.240
* ruff: update shell completion script generation

Closes #122182.

Signed-off-by: Rui Chen <rui@chenrui.dev>
Co-authored-by: Rui Chen <rui@chenrui.dev>
Signed-off-by: Patrick Linnane <patrick@linnane.io>
Signed-off-by: BrewTestBot <1589480+BrewTestBot@users.noreply.github.com>
master
Porkepix 2023-02-03 02:06:55 +01:00 committed by BrewTestBot
parent ab5d61c1a1
commit d7dfd074b0
No known key found for this signature in database
GPG Key ID: 82D7D104050B0F0F
1 changed files with 3 additions and 3 deletions

View File

@ -2,8 +2,8 @@ class Ruff < Formula
desc "Extremely fast Python linter, written in Rust"
homepage "https://github.com/charliermarsh/ruff"
# ruff should only be updated every 5 releases on multiples of 5
url "https://github.com/charliermarsh/ruff/archive/refs/tags/v0.0.235.tar.gz"
sha256 "58957e98d8354d247acfb9152705ddf678eca9de902d298ddc0c5eb1eac00801"
url "https://github.com/charliermarsh/ruff/archive/refs/tags/v0.0.240.tar.gz"
sha256 "6a38b7711a41010d34285c88e66bb0777fde2e15427213636a81485782eef83c"
license "MIT"
head "https://github.com/charliermarsh/ruff.git", branch: "main"
@ -22,7 +22,7 @@ class Ruff < Formula
def install
system "cargo", "install", "--no-default-features", *std_cargo_args(path: "ruff_cli")
bin.install "target/release/ruff" => "ruff"
generate_completions_from_executable(bin/"ruff", ".", shell_parameter_format: "--generate-shell-completion=")
generate_completions_from_executable(bin/"ruff", "--generate-shell-completion")
end
test do