Updated pyproject.toml
Added configuration for pytest and mypy
This commit is contained in:
parent
c712c1b819
commit
419586f326
|
|
@ -1,3 +1,23 @@
|
||||||
[build-system]
|
[build-system]
|
||||||
requires = ["setuptools>=42.0", "wheel"]
|
requires = ["setuptools>=42.0", "wheel"]
|
||||||
build-backend = "setuptools.build_meta"
|
build-backend = "setuptools.build_meta"
|
||||||
|
|
||||||
|
[tool.pytest.ini_options]
|
||||||
|
addopts = "--cov=clog"
|
||||||
|
testpaths = [
|
||||||
|
"testing",
|
||||||
|
]
|
||||||
|
|
||||||
|
[tool.mypy]
|
||||||
|
mypy_path = "."
|
||||||
|
check_untyped_defs = true
|
||||||
|
disallow_any_generics = true
|
||||||
|
ignore_missing_imports = true
|
||||||
|
no_implicit_optional = true
|
||||||
|
show_error_codes = true
|
||||||
|
strict_equality = true
|
||||||
|
warn_redundant_casts = true
|
||||||
|
warn_return_any = true
|
||||||
|
warn_unreachable = true
|
||||||
|
warn_unused_configs = true
|
||||||
|
no_implicit_reexport = true
|
||||||
Loading…
Reference in New Issue
Block a user