2ff353bebb
This is enough code to start using the tool to debug itself, so it's time to start committing individual bugfixes.
26 lines
483 B
INI
26 lines
483 B
INI
[aliases]
|
|
test=pytest
|
|
typecheck=pytest --addopts="--mypy paypal_rest"
|
|
|
|
[mypy]
|
|
disallow_any_unimported = False
|
|
disallow_untyped_calls = False
|
|
disallow_untyped_defs = True
|
|
show_error_codes = True
|
|
strict_equality = True
|
|
warn_redundant_casts = True
|
|
warn_return_any = False
|
|
warn_unreachable = True
|
|
warn_unused_configs = True
|
|
|
|
[tool:pytest]
|
|
filterwarnings =
|
|
ignore::DeprecationWarning:^socks$
|
|
|
|
[tox:tox]
|
|
envlist = py36,py37
|
|
|
|
[testenv]
|
|
commands =
|
|
./setup.py test
|
|
./setup.py typecheck
|