diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index b3e9fd3..4ffb99a 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -18,7 +18,7 @@ repos: - id: check-yaml - repo: https://github.com/astral-sh/ruff-pre-commit - rev: "v0.5.7" + rev: "v0.6.1" hooks: - id: ruff args: ["--fix", "--show-fixes"] diff --git a/pyproject.toml b/pyproject.toml index 356ebb4..b670dcc 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -91,10 +91,6 @@ strict = true warn_unreachable = true enable_error_code = ["ignore-without-code", "redundant-expr", "truthy-bool"] - -[tool.ruff] -src = ["src"] - [tool.ruff.lint] extend-select = [ "B", # flake8-bugbear @@ -117,7 +113,7 @@ extend-select = [ "YTT", # flake8-2020 ] ignore = [ - "ISC001", + "ISC001", # Conflicts with formatter ] [tool.ruff.lint.per-file-ignores]