chore: bump ruff and mypy
Signed-off-by: Henry Schreiner <henryschreineriii@gmail.com>
This commit is contained in:
@@ -19,7 +19,7 @@ repos:
|
||||
- id: black
|
||||
|
||||
- repo: https://github.com/charliermarsh/ruff-pre-commit
|
||||
rev: v0.0.242
|
||||
rev: v0.0.243
|
||||
hooks:
|
||||
- id: ruff
|
||||
args: ["--fix"]
|
||||
@@ -31,7 +31,7 @@ repos:
|
||||
args: [--include-version-classifiers, --max-py-version=3.11]
|
||||
|
||||
- repo: https://github.com/pre-commit/mirrors-mypy
|
||||
rev: v0.991
|
||||
rev: v1.0.0
|
||||
hooks:
|
||||
- id: mypy
|
||||
name: mypy 3.7 on cibuildwheel/
|
||||
|
||||
+2
-2
@@ -129,7 +129,7 @@ select = [
|
||||
"ISC", # flake8-implicit-str-concat
|
||||
"PGH", # pygrep-hooks
|
||||
"PIE", # flake8-pie
|
||||
"PLC", "PLE", "PLR", "PLW", # pylint
|
||||
"PLC", "PLE", "PLW", # pylint
|
||||
"PT", # flake8-pytest-style
|
||||
"RET", # flake8-return
|
||||
"RUF", # Ruff-specific
|
||||
@@ -137,7 +137,7 @@ select = [
|
||||
"UP", # pyupgrade
|
||||
"YTT", # flake8-2020
|
||||
]
|
||||
ignore = [
|
||||
extend-ignore = [
|
||||
"PLR2004", "E501",
|
||||
"RET504", "RET505", "RET508", # else after control flow
|
||||
"PT004", # Rename suggested for returnless fixtures
|
||||
|
||||
Reference in New Issue
Block a user