-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpyproject.toml
58 lines (52 loc) · 1.04 KB
/
pyproject.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
[tool.black]
line-length = 120
exclude = '''
/(
\.direnv|
|\.eggs
|\.git
|\.hg
|\.mypy_cache
|\.nox
|\.tox
|\.venv
|\.svn
|_build
|build
|dist
)/
'''
[tool.coverage.paths]
source = ["libkeyringctl"]
[tool.coverage.report]
include = ["libkeyringctl/*", "keyringctl"]
precision = 2
show_missing = true
[tool.coverage.run]
branch = true
command_line = "-m pytest --junit-xml=build/junit-report.xml -vv tests/"
omit = ["tests/*", ".tox/*"]
relative_files = true
[tool.coverage.xml]
output = "build/coverage.xml"
[tool.isort]
profile = "black"
multi_line_output = 3
force_single_line = true
[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