2021-10-11 14:29:45 -05:00
|
|
|
[tool.black]
|
|
|
|
line-length = 120
|
|
|
|
exclude = '''
|
|
|
|
/(
|
|
|
|
\.direnv|
|
|
|
|
|\.eggs
|
|
|
|
|\.git
|
|
|
|
|\.hg
|
|
|
|
|\.mypy_cache
|
|
|
|
|\.nox
|
|
|
|
|\.tox
|
|
|
|
|\.venv
|
|
|
|
|\.svn
|
|
|
|
|_build
|
|
|
|
|build
|
|
|
|
|dist
|
|
|
|
)/
|
|
|
|
'''
|
|
|
|
|
2021-11-01 15:25:11 -06:00
|
|
|
[tool.coverage.paths]
|
|
|
|
source = ["libkeyringctl"]
|
2021-10-11 14:29:45 -05:00
|
|
|
|
|
|
|
[tool.coverage.report]
|
|
|
|
omit = ["tests/*", ".tox/*"]
|
|
|
|
precision = 2
|
|
|
|
show_missing = true
|
|
|
|
|
|
|
|
[tool.coverage.run]
|
|
|
|
branch = true
|
2021-11-01 11:36:02 -06:00
|
|
|
command_line = "-m pytest --junit-xml=build/junit-report.xml -vv tests/"
|
2021-10-11 14:29:45 -05:00
|
|
|
omit = ["tests/*", ".tox/*"]
|
2021-11-01 15:25:11 -06:00
|
|
|
relative_files = true
|
|
|
|
|
|
|
|
[tool.coverage.xml]
|
|
|
|
output = "build/coverage.xml"
|
2021-10-11 14:29:45 -05:00
|
|
|
|
|
|
|
[tool.isort]
|
|
|
|
profile = "black"
|
|
|
|
multi_line_output = 3
|
2021-10-18 05:58:23 -05:00
|
|
|
force_single_line = true
|
2021-10-11 14:29:45 -05:00
|
|
|
|
|
|
|
[tool.mypy]
|
|
|
|
ignore_missing_imports = true
|
|
|
|
follow_imports = "silent"
|
|
|
|
follow_imports_for_stubs = true
|
|
|
|
warn_unused_ignores = true
|
|
|
|
warn_no_return = true
|
|
|
|
warn_return_any = true
|
|
|
|
warn_incomplete_stub = true
|
|
|
|
warn_redundant_casts = true
|
|
|
|
warn_unused_configs = true
|
|
|
|
no_implicit_optional = true
|
|
|
|
warn_unreachable = true
|
|
|
|
check_untyped_defs = true
|
|
|
|
disallow_any_generics = true
|
|
|
|
disallow_untyped_calls = true
|
|
|
|
disallow_untyped_defs = true
|
|
|
|
disallow_incomplete_defs = true
|