11[project ]
2- name = " {{cookiecutter.project_name}}"
3- version = " 0.1.0"
4- description = " Add your description here"
5- readme = " README.md"
6- requires-python = " >=3.12"
72dependencies = [
83 " fastapi>=0.115.8" ,
94 " uvicorn>=0.34.0" ,
@@ -24,7 +19,7 @@ dependencies = [
2419 {% endif %}
2520 {%- if cookiecutter.use_alembic -%}
2621 "alembic>=1.14.1",
27- {% endif %}
22+ {%- endif %}
2823 "pytest>=8.3.4",
2924 "pytest-env>=1.1.5",
3025 "httpx==0.28.1",
@@ -34,17 +29,26 @@ dependencies = [
3429 {% endif %}
3530 {%- if cookiecutter.use_rabbitmq -%}
3631 "aio-pika>=9.5.5",
37- {% endif %}
38- ]
32+ {%- endif %}
33+ ]name = " {{cookiecutter.project_name}}"
34+ version = " 0.1.0"
35+ description = " Add your description here"
36+ readme = " README.md"
37+ requires-python = " >=3.12"
3938
4039[tool .pytest .ini_options ]
41- env = [" {{ cookiecutter.project_name|upper|replace('-', '_') }}_PG_DATABASE=test" , " {{ cookiecutter.project_name|upper|replace('-', '_') }}_ENV=test" ]
40+ env = [
41+ " {{ cookiecutter.project_name|upper|replace('-', '_') }}_PG_DATABASE=test" ,
42+ " {{ cookiecutter.project_name|upper|replace('-', '_') }}_ENV=test" ,
43+ ]
4244
4345[tool .ruff ]
4446exclude = [" migrations" ]
4547target-version = " py312"
4648line-length = 88
4749indent-width = 4
50+
51+ [tool .ruff .lint ]
4852select = [" ALL" ]
4953ignore = [
5054 # ### modules
@@ -59,8 +63,8 @@ ignore = [
5963 # ### specific rules
6064 " A001" ,
6165 " A002" ,
62- " BLE001" ,
6366 " B904" ,
67+ " BLE001" ,
6468 " D100" ,
6569 " D101" ,
6670 " D102" ,
@@ -70,6 +74,7 @@ ignore = [
7074 " D106" ,
7175 " D107" ,
7276 " D200" ,
77+ " D203" ,
7378 " D205" ,
7479 " D212" ,
7580 " D400" ,
@@ -106,3 +111,4 @@ line-ending = "auto"
106111
107112[tool .ruff .lint .per-file-ignores ]
108113"tests/*" = [" S101" , " PT006" ]
114+ "__init__.py" = [" F401" ]
0 commit comments