Skip to content
Snippets Groups Projects
pyproject.toml 870 B
Newer Older
[tool.isort]
profile = "black"
line_length = 120
balanced_wrapping = true

[tool.ruff]
line-length = 120
target-version = "py312"

[tool.mypy]
plugins = ["pydantic.mypy", "sqlalchemy.ext.mypy.plugin"]
ignore_missing_imports = true
disallow_untyped_defs = true
namespace_packages = true

[tool.coverage.run]
concurrency = [
    "greenlet",
    "thread"
]
omit = [
    "clowm/tests/**",
    "clowm/check_database_connection.py",
    "clowm/check_ceph_connection.py",
    "clowm/check_oidc_connection.py",
    "clowm/check_slurm_connection.py",
    "clowm/core/config.py",
    "clowm/core/oidc/*",
    "clowm/models/*",
    "clowm/db/*"
]

[tool.coverage.report]
exclude_lines = [
    "pragma: no cover",
    "def __repr__",
    "def __str__",
    "def __eq__",
    "if TYPE_CHECKING",
    "if __name__ = = .__main__.:"
]

[tool.pytest.ini_options]
asyncio_mode = "strict"