Skip to content

Commit

Permalink
chore: ruff moved to astral-sh (#652)
Browse files Browse the repository at this point in the history
* chore: ruff moved to astral-sh

* Update pyproject.toml
  • Loading branch information
henryiii authored Jul 4, 2023
1 parent 90ea4e5 commit 1963e06
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,8 @@ repos:
hooks:
- id: black

- repo: https://github.com/charliermarsh/ruff-pre-commit
rev: "v0.0.270"
- repo: https://github.com/astral-sh/ruff-pre-commit
rev: "v0.0.275"
hooks:
- id: ruff
args: ["--fix", "--show-fixes"]
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -192,7 +192,7 @@ extend-ignore = [
"PLR",
"PT004",
"PT011", # TODO: add match parameter
"PLC1901", # Simplify == "", might be risky
"RUF012", # ClassVar required if mutable
]
target-version = "py37"
exclude = ["docs/conf.py"]
Expand Down

0 comments on commit 1963e06

Please sign in to comment.