Skip to content

Commit

Permalink
Change inner bindings ruff config to match package
Browse files Browse the repository at this point in the history
  • Loading branch information
JakubFrejlach committed Jan 3, 2025
1 parent 46dd6e0 commit 9168fef
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 4 deletions.
5 changes: 3 additions & 2 deletions osidb_bindings/bindings/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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"]
7 changes: 5 additions & 2 deletions osidb_bindings/templates_0.22.0/pyproject_ruff.toml.jinja
Original file line number Diff line number Diff line change
Expand Up @@ -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) #}

0 comments on commit 9168fef

Please sign in to comment.