-
Notifications
You must be signed in to change notification settings - Fork 46
/
pyproject.toml
58 lines (50 loc) · 1.15 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
[build-system]
requires = [
"Cython >= 3.0.3, < 4.0.0",
"setuptools >= 40.6.0", # Start of PEP 517 support for setuptools
]
build-backend = "setuptools.build_meta"
[tool.mypy]
exclude = """
(?x)(
setup.py
| docs/
| build/
)
"""
show_error_codes = true
show_column_numbers = true
disallow_any_unimported = true
disallow_untyped_calls = true
disallow_untyped_defs = true
disallow_incomplete_defs = true
check_untyped_defs = true
disallow_untyped_decorators = true
warn_redundant_casts = true
warn_unused_ignores = true
[[tool.mypy.overrides]]
module = "gssapi.tests.*"
disallow_any_unimported = false
disallow_untyped_calls = false
disallow_untyped_defs = false
check_untyped_defs = false
[[tool.mypy.overrides]]
module = "k5test"
ignore_missing_imports = true
[[tool.mypy.overrides]]
module = "k5test.unit"
ignore_missing_imports = true
[[tool.mypy.overrides]]
module = "parameterized"
ignore_missing_imports = true
[tool.tox]
legacy_tox_ini = """
[tox]
envlist = py36,py37,py38
[testenv]
whitelist_externals=bash
commands =
bash -c "source ./.travis/lib-verify.sh && verify::flake8"
python -m unittest
deps = -r{toxinidir}/test-requirements.txt
"""