[TC-837] Update base template configs

This commit is contained in:
Elizaveta Nikolaeva
2025-01-30 18:02:57 +03:00
parent ed882b965b
commit 4c1d6dd3c8
13 changed files with 630 additions and 424 deletions

View File

@@ -1,6 +1,6 @@
[tool.poetry]
name = "template-backend-service"
version = "0.1.1"
version = "0.1.2"
description = ""
authors = ["Nadezhda Lavrenteva <nadezhda.lavrentieva@avroid.team>"]
readme = "README.md"
@@ -8,7 +8,7 @@ readme = "README.md"
[tool.poetry.dependencies]
python = ">=3.12 <3.13"
coverage = "^7.6.1"
avroid-service-lib = "^0.0.3"
avroid-service-lib = "^0.0.6"
[[tool.poetry.source]]
name = "nexus"
@@ -40,9 +40,9 @@ ruff = "^0.6.8"
pre-commit = "^3.8.0"
[tool.poetry.group.tests.dependencies]
pytest-mock = "^3.14.0"
pytest-asyncio = "^0.24.0"
pytest-cov = "^5.0.0"
pytest-mock = "^3.14.0"
[tool.pytest.ini_options]
asyncio_mode = "auto"
@@ -64,7 +64,7 @@ warn_unused_ignores = true
warn_return_any = true
strict_equality = true
ignore_missing_imports = true
plugins = ['pydantic.mypy']
plugins = ["pydantic.mypy"]
[[tool.mypy.overrides]]
module = "tests.*,migrations.*"
@@ -73,11 +73,13 @@ ignore_errors = true
[tool.ruff]
line-length = 120
[tool.ruff.lint]
select = ["E", "F", "W", "C90", "I", "N", "UP", "YTT", "ASYNC", "S", "B", "C4", "DTZ", "T10", "ISC", "ICN",
[tool.ruff.lint]
select = [
"E", "F", "W", "C90", "I", "N", "UP", "YTT", "ASYNC", "S", "B", "C4", "DTZ", "T10", "ISC", "ICN",
"PIE", "T20", "PT", "Q", "RET", "SLF", "SIM", "ERA", "PLE", "TRY", "PYI", "PERF", "LOG", "RUF008",
"RUF009", "RUF012", "RUF013", "RUF015", "RUF019", "RUF100", "RUF200"]
"RUF009", "RUF012", "RUF013", "RUF015", "RUF019", "RUF100", "RUF200"
]
unfixable = [
"ERA", # do not autoremove commented out code
]