diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 482936a..41eeaa0 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -1,11 +1,11 @@ repos: - repo: https://github.com/astral-sh/ruff-pre-commit - rev: v0.1.9 + rev: v0.6.3 hooks: - id: ruff args: ["--fix"] - id: ruff-format - repo: https://github.com/RobertCraigie/pyright-python - rev: v1.1.350 + rev: v1.1.378 hooks: - id: pyright diff --git a/pyproject.toml b/pyproject.toml index 4e08a78..fa56134 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -41,11 +41,14 @@ typeCheckingMode = "standard" reportImplicitOverride = true [tool.ruff] +line-length = 100 + exclude = [ "docs/", "tests/" ] +[tool.ruff.lint] select = [ "ALL", ] @@ -65,8 +68,6 @@ ignore = [ "FBT", # boolean "traps" ] -line-length = 100 - [tool.ruff.lint.per-file-ignores] "examples/*" = [ "T201", # use of "print"