mirror of
https://github.com/kennethreitz/pydantic.git
synced 2026-06-05 23:00:18 +00:00
9ef401839b
* add type hints, fix #372 * fix tests and BaseModel inference * fix #280 * fix dataclasses and docs * more typing * adding hints to fields.py * type **EVERTHING* * fix for 3.6 * small speed ups and some typ checks * correct model.copy * update history
47 lines
823 B
INI
47 lines
823 B
INI
[tool:pytest]
|
|
testpaths = tests
|
|
addopts = --isort
|
|
timeout = 10
|
|
filterwarnings = error
|
|
|
|
[flake8]
|
|
max-line-length = 120
|
|
max-complexity = 12
|
|
|
|
[bdist_wheel]
|
|
python-tag = py36.py37
|
|
|
|
[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
|