mirror of
https://github.com/kennethreitz/pydantic.git
synced 2026-06-05 23:00:18 +00:00
0c2f69c500
* add toml reader * fix path * skip configparser step * fix quotes * full pyproject.toml check * add doc note * cleaner formatting, raise ValueError for non-bool * fix tests * add bad config test case * add changelog file. * bump mypy to 0.902 * tweak change MD, fix formatting in requirements * import check around toml * switch to tomli for parsing to match mypy dependency * import check around toml/tomli * add note on tomli usage * more succinct changelog entry * fix quotes in changelog * linting fixes, remove unnecessary stub install * mypy checks on mypy plugin file * wrongly placed pragma no cover Co-authored-by: PrettyWood <em.jolibois@gmail.com>
31 lines
548 B
TOML
31 lines
548 B
TOML
[build-system]
|
|
requires = ["poetry>=0.12"]
|
|
build_backend = "poetry.masonry.api"
|
|
|
|
[tool.poetry]
|
|
name = "test"
|
|
version = "0.0.1"
|
|
readme = "README.md"
|
|
authors = [
|
|
"author@example.com"
|
|
]
|
|
|
|
[tool.poetry.dependencies]
|
|
python = "*"
|
|
|
|
[tool.pytest.ini_options]
|
|
addopts = "-v -p no:warnings"
|
|
|
|
[tool.mypy]
|
|
plugins = [
|
|
"pydantic.mypy"
|
|
]
|
|
follow_imports = "silent"
|
|
strict_optional = true
|
|
warn_redundant_casts = true
|
|
warn_unused_ignores = true
|
|
disallow_any_generics = true
|
|
check_untyped_defs = true
|
|
no_implicit_reexport = true
|
|
disallow_untyped_defs = true
|