mirror of
https://github.com/kennethreitz/pydantic.git
synced 2026-06-05 23:00:18 +00:00
32bc0083d9
* Update sphinx from 2.0.1 to 2.1.2 * Update typing-extensions from 3.7.2 to 3.7.4 * Update cython from 0.29.9 to 0.29.11 * Update isort from 4.3.20 to 4.3.21 * Update mypy from 0.701 to 0.711 * Update pytest from 4.6.0 to 5.0.0 * pytest and mypy fixes * prevent deprication warnings
50 lines
896 B
INI
50 lines
896 B
INI
[tool:pytest]
|
|
testpaths = tests
|
|
timeout = 10
|
|
filterwarnings =
|
|
error
|
|
ignore::DeprecationWarning:distutils
|
|
|
|
[flake8]
|
|
max-line-length = 120
|
|
max-complexity = 14
|
|
inline-quotes = '
|
|
multiline-quotes = """
|
|
|
|
[bdist_wheel]
|
|
python-tag = py36.py37.py38
|
|
|
|
[coverage:run]
|
|
source = pydantic
|
|
branch = True
|
|
|
|
[coverage:report]
|
|
precision = 2
|
|
exclude_lines =
|
|
pragma: no cover
|
|
raise NotImplementedError
|
|
raise NotImplemented
|
|
|
|
[isort]
|
|
line_length=120
|
|
known_first_party=pydantic
|
|
known_standard_library=dataclasses
|
|
multi_line_output=3
|
|
include_trailing_comma=True
|
|
force_grid_wrap=0
|
|
combine_as_imports=True
|
|
|
|
[mypy]
|
|
follow_imports = silent
|
|
strict_optional = True
|
|
warn_redundant_casts = True
|
|
warn_unused_ignores = True
|
|
disallow_any_generics = True
|
|
check_untyped_defs = True
|
|
|
|
# for strict mypy: (this is the tricky one :-))
|
|
disallow_untyped_defs = True
|
|
|
|
[mypy-email_validator]
|
|
ignore_missing_imports = true
|