diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index dfbce083..c2acbdf4 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -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/ diff --git a/pyproject.toml b/pyproject.toml index 78cea95e..e53b0c68 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -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