diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index bc9dbfe4..06ebd19d 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -18,7 +18,7 @@ repos: - id: trailing-whitespace - 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 17698357..e1d0a9ce 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -126,8 +126,6 @@ strict = true enable_error_code = ["ignore-without-code", "redundant-expr", "truthy-bool"] warn_unreachable = true -[tool.ruff] -src = ["src"] [tool.ruff.lint] extend-select = [