diff --git a/osidb_bindings/bindings/pyproject.toml b/osidb_bindings/bindings/pyproject.toml index 88de38b..57a050d 100644 --- a/osidb_bindings/bindings/pyproject.toml +++ b/osidb_bindings/bindings/pyproject.toml @@ -21,7 +21,8 @@ requires = ["poetry-core>=1.0.0"] build-backend = "poetry.core.masonry.api" [tool.ruff] -line-length = 120 +line-length = 88 [tool.ruff.lint] -select = ["F", "I", "UP"] +select = ["E4", "E7", "E9", "F"] +ignore = ["F403", "UP006"] diff --git a/osidb_bindings/templates_0.22.0/pyproject_ruff.toml.jinja b/osidb_bindings/templates_0.22.0/pyproject_ruff.toml.jinja index 888879e..57ff0b1 100644 --- a/osidb_bindings/templates_0.22.0/pyproject_ruff.toml.jinja +++ b/osidb_bindings/templates_0.22.0/pyproject_ruff.toml.jinja @@ -2,8 +2,11 @@ This is a custom template derived from: https://github.com/openapi-generators/openapi-python-client/blob/v0.22.0/openapi_python_client/templates/pyproject_ruff.toml.jinja #} +{# CHANGE START (1) - change ruff config to match osidb-bindings package ruff config #} [tool.ruff] -line-length = 120 +line-length = 88 [tool.ruff.lint] -select = ["F", "I", "UP"] +select = ["E4", "E7", "E9", "F"] +ignore = ["F403", "UP006"] +{# CHANGE END (1) #}