Skip to content

Commit

Permalink
Update ruff and config (#12390)
Browse files Browse the repository at this point in the history
  • Loading branch information
notatallshaw authored Nov 6, 2023
1 parent fd77ebf commit 9685f64
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
3 changes: 2 additions & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,10 @@ repos:
- id: black

- repo: https://github.com/astral-sh/ruff-pre-commit
rev: v0.0.292
rev: v0.1.4
hooks:
- id: ruff
args: [--fix, --exit-non-zero-on-fix]

- repo: https://github.com/pre-commit/mirrors-mypy
rev: v0.961
Expand Down
1 change: 1 addition & 0 deletions news/12390.trivial.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Update ruff versions and config for dev
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -84,8 +84,8 @@ ignore = [
"B020",
"B904", # Ruff enables opinionated warnings by default
"B905", # Ruff enables opinionated warnings by default
"G202",
]
target-version = "py37"
line-length = 88
select = [
"ASYNC",
Expand Down

0 comments on commit 9685f64

Please sign in to comment.