-
Notifications
You must be signed in to change notification settings - Fork 2
/
pyproject.toml
56 lines (51 loc) · 1.17 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
[build-system]
requires = ["wheel", "setuptools>=30.3.0", "attrs>=17.1", "setuptools_scm[toml]>=3.4"]
build-backend = "setuptools.build_meta"
[tool.setuptools_scm]
write_to = "src/simplify/_version.py"
local_scheme = "no-local-version"
[tool.check-manifest]
ignore = [
'tests*',
'.*',
'pyproject.toml',
'pytest.ini',
'codecov.yml',
'CONTRIBUTING.md',
]
[tool.pytest.ini_options]
minversion = "6.0"
addopts = "--ignore=setup.py --ignore=examples/ --cov=simplify --cov-report=term-missing --cov-config=.coveragerc --cov-report xml"
testpaths = [
"src",
"tests",
]
[tool.black]
line-length = 88
target-version = ['py37', 'py38']
skip-string-normalization = true
include = '\.pyi?$'
exclude = '''
/(
\.git
| .eggs
| build
)/
'''
[tool.mypy]
files = "src/simplify"
pretty = true
show_error_context = true
show_error_codes = true
# strict = true
# disallow_untyped_calls = true
disallow_untyped_defs = true
disallow_incomplete_defs = true
check_untyped_defs = true
disallow_untyped_decorators = false
warn_redundant_casts = true
warn_return_any = false
warn_unreachable = true
strict_equality = true
no_implicit_optional = true
ignore_missing_imports = true