diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index c003dbc6e2..f3c053aacb 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -26,14 +26,10 @@ repos: - id: ruff args: - --output-format=full - - --target-version - - py311 exclude: ^source/tools/webservices/ - id: ruff-format args: - --check - - --target-version - - py311 exclude: ^source/tools/webservices/ - repo: local hooks: diff --git a/ruff.toml b/ruff.toml index 4d7e8cef79..5ebeee3197 100644 --- a/ruff.toml +++ b/ruff.toml @@ -1,5 +1,7 @@ line-length = 99 +target-version = "py311" + [format] line-ending = "lf"