forked from koxudaxi/datamodel-code-generator
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.cfg
94 lines (83 loc) · 2.03 KB
/
setup.cfg
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
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
[metadata]
name = datamodel-code-generator
description = Datamodel Code Generator
url = https://github.com/koxudaxi/datamodel-code-generator/
long_description = file: README.md
long_description_content_type = text/markdown
author = Koudai Aono
author_email = [email protected]
license_file = LICENSE
classifiers =
Development Status :: 2 - Pre-Alpha
Natural Language :: English
License :: OSI Approved :: MIT License
Programming Language :: Python :: 3
Programming Language :: Python :: 3.6
Programming Language :: Python :: 3.7
Programming Language :: Python :: 3.8
Programming Language :: Python :: 3.9
Programming Language :: Python :: Implementation :: CPython
[options]
packages = find:
include_package_data = True
python_requires = >=3.6.1
zip_safe = True
setup_requires =
pytest-runner
setuptools-scm
install_requires =
argcomplete>=1.10,<2.0
prance>=0.18.2,<1.0
openapi-spec-validator>=0.2.8,<0.3
jinja2>=2.10.1,<3.0
inflect>=4.1.0,<5.0
pydantic[email]>=1.5.1,<2.0;python_version<'3.9'
pydantic[email]>=1.7.2,<2.0;python_version>='3.9'
black>=19.10b0
isort>=4.3.21,<6.0
PySnooper>=0.4.1,<1.0.0
toml>=0.10.0,<1.0.0
genson>=1.2.1,<2.0
tests_require =
pytest>=4.6
pytest-benchmark
pytest-cov
pytest-mock
mypy
isort
freezegun
[options.extras_require]
http =
httpx
docs =
mkdocs
mkdocs-material
wheel =
wheel
twine
ci =
codecov
[options.entry_points]
console_scripts =
datamodel-codegen = datamodel_code_generator.__main__:main
[aliases]
test = pytest
[mypy]
disallow_untyped_defs = True
ignore_missing_imports = True
[tool:pytest]
filterwarnings = ignore::DeprecationWarning:distutils
norecursedirs = tests/data/*
[coverage:run]
source = datamodel_code_generator
branch = True
[coverage:report]
ignore_errors = True
exclude_lines =
if self.debug:
pragma: no cover
raise NotImplementedError
if __name__ == .__main__.:
if TYPE_CHECKING:
omit =
tests/*