Commit f64dd8be authored by Sergio Gimenez's avatar Sergio Gimenez
Browse files

Update pyproject

parent e7f1ec95
Loading
Loading
Loading
Loading
+9 −0
Original line number Diff line number Diff line
@@ -27,6 +27,14 @@ include = ["federation_manager*"]
[tool.ruff]
line-length = 100
target-version = "py312"
# Legacy Connexion code under src/ is being replaced; only lint the new package.
# TODO: drop extend-exclude once the old src/ tree is removed at parity.
extend-exclude = [
    "src/adapters", "src/api", "src/clients", "src/conf", "src/deploy",
    "src/models", "src/static", "src/swagger", "src/templates", "src/test",
    "src/encoder.py", "src/init.py", "src/main.py", "src/type_util.py",
    "src/util.py", "src/validator.py", "src/wsgi.py",
]

[tool.ruff.lint]
select = ["E", "W", "F", "I"]
@@ -35,6 +43,7 @@ select = ["E", "W", "F", "I"]
python_version = "3.12"
strict = true
ignore_missing_imports = true
files = ["src/federation_manager", "tests"]

[tool.pytest.ini_options]
testpaths = ["tests"]