Added configuration files

This commit is contained in:
Kristofers Solo
2022-12-04 19:07:56 +02:00
parent e12eb6a275
commit ef97781d59
11 changed files with 117 additions and 0 deletions

21
pyproject.toml Normal file
View File

@@ -0,0 +1,21 @@
[build-system]
requires = ["setuptools>=42.0", "wheel"]
build-backend = "setuptools.build_meta"
[tool.pytest.ini_options]
addops = "--cov=detector"
testpaths = ["tests"]
[tool.mypy]
check_untyped_defs = true
disallow_any_generics = true
ignore_missing_imports = true
mypy_path = "src"
no_implicit_optional = true
no_implicit_reexport = true
show_error_codes = true
strict_equality = true
warn_redundant_casts = true
warn_return_any = true
warn_unreachable = true
warn_unused_configs = true