Files
datamodel-code-generator/docs/pyproject_toml.md
Koudai Aono 3e0522fdd7 Support options on pyproject.toml (#190)
* support for pyproject.toml

* add unittest

* remove comments

* fix format

* update documents
2020-08-03 01:27:15 +09:00

279 B

datamodel-code-generator has a lot of command-line options.

The options are supported on pyproject.toml.

Example pyproject.toml:

[tool.datamodel-codegen]
field-constraints = true
snake-case-field = true
strip-default-none = false
target-python-version = "3.7"