File tree Expand file tree Collapse file tree
{{ cookiecutter.project_name.lower().replace(' ', '-') }} Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11[project ]
22name = " {{ cookiecutter.project_name.lower().replace(' ', '-') }}"
33version = " 0.1.0"
4- requires-python = " >=3.13 "
4+ requires-python = " >={{ cookiecutter.python_version }} "
55{%- if cookiecutter.install_pydantic %}
66dependencies = [
77 " pydantic>=2.9.2" ,
@@ -99,8 +99,7 @@ output = "reports/coverage.xml"
9999
100100[tool .ruff ]
101101# https://docs.astral.sh/ruff/settings/#top-level
102- line-length = 100
103- target-version = " py312"
102+ line-length = {{ cookiecutter.line_length }}
104103
105104[tool .ruff .lint ]
106105# https://docs.astral.sh/ruff/settings/#lint
@@ -182,7 +181,7 @@ classmethod-decorators = [
182181
183182[tool .ruff .lint .pycodestyle ]
184183# https://docs.astral.sh/ruff/settings/#lintpycodestyle
185- max-doc-length = 100
184+ max-doc-length = {{ cookiecutter.line_length } }
186185
187186[tool .ruff .lint .pydocstyle ]
188187# https://docs.astral.sh/ruff/settings/#lintpydocstyle
You can’t perform that action at this time.
0 commit comments