-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
67 lines (61 loc) · 1.12 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
59
60
61
62
63
64
65
66
67
[tool.black]
exclude = '''
/(
\.eggs
| \.git
| \.mypy_cache
| \.tox
| \.venv
| \.pytype
| _build
| buck-out
| build
| dist
)/
| docs/conf.py
'''
line-length = 100
target-version = ['py37', 'py38', 'py39', 'py310', 'py311', 'py312']
[tool.coverage.run]
branch = true
source = ['pytablewriter_altcol_theme']
[tool.coverage.report]
exclude_lines = [
'except ImportError',
'raise NotImplementedError',
'pass',
'ABCmeta',
'abstractmethod',
'abstractproperty',
'abstractclassmethod',
'warnings.warn',
]
precision = 1
show_missing = true
[tool.isort]
include_trailing_comma = true
known_third_party = [
'pytest',
]
line_length = 100
lines_after_imports = 2
multi_line_output = 3
skip_glob = [
'*/.eggs/*',
'*/.pytype/*',
'*/.tox/*',
]
[tool.mypy]
ignore_missing_imports = true
python_version = 3.7
pretty = true
check_untyped_defs = true
disallow_incomplete_defs = true
disallow_untyped_defs = true
no_implicit_optional = true
show_error_codes = true
show_error_context = true
warn_redundant_casts = true
warn_unreachable = true
warn_unused_configs = true
warn_unused_ignores = true