[tool.mypy]
python_version = "3.9"
strict = true
pretty = true
color_output = true
show_error_codes = true
files = [
    "owslogger/**/*.py",
    "tests/**/*.py",
    "sample_fastapi.py",
    "sample_flask.py",
]

[tool.ruff]
line-length = 88
target-version = "py39"
include = [
    "owslogger/**/*.py",
    "tests/**/*.py",
    "sample_fastapi.py",
    "sample_flask.py",
    "setup.py",
]

[tool.ruff.lint]
select = ["A", "C", "C4", "E", "F", "W", "B", "I", "INP", "UP", "T", "TID", "RUF"]

[tool.ruff.lint.isort]
combine-as-imports = true
forced-separate = ["tests"]
