diff --git a/openapi_python_client/templates/pyproject.toml.jinja b/openapi_python_client/templates/pyproject.toml.jinja index 647c4cbb6..bbcd5c3f6 100644 --- a/openapi_python_client/templates/pyproject.toml.jinja +++ b/openapi_python_client/templates/pyproject.toml.jinja @@ -23,19 +23,4 @@ requires = ["poetry-core>=1.0.0"] build-backend = "poetry.core.masonry.api" {% endif %} -[tool.black] -line-length = 120 -target_version = ['py37', 'py38', 'py39'] -exclude = ''' -( - /( - | \.git - | \.venv - | \.mypy_cache - )/ -) -''' - -[tool.isort] -line_length = 120 -profile = "black" +{% include "pyproject_no_poetry.toml.jinja" %} diff --git a/openapi_python_client/templates/pyproject_no_poetry.toml.jinja b/openapi_python_client/templates/pyproject_no_poetry.toml.jinja index 2d0685348..3a693ff8e 100644 --- a/openapi_python_client/templates/pyproject_no_poetry.toml.jinja +++ b/openapi_python_client/templates/pyproject_no_poetry.toml.jinja @@ -1,6 +1,6 @@ [tool.black] line-length = 120 -target_version = ['py36', 'py37', 'py38'] +target_version = ['py37', 'py38', 'py39'] exclude = ''' ( /(