1
0
Fork 0
mirror of https://github.com/EDeev/tablo.git synced 2026-10-07 20:49:31 +03:00

Зависимости: playwright и gunicorn закреплены по продакшену, dev-зависимости и настройки ruff/pytest

This commit is contained in:
Деев Егор Викторович 2026-10-02 13:10:20 +00:00
parent 1db34e9794
commit af060982cf
3 changed files with 22 additions and 1 deletions

17
pyproject.toml Normal file
View file

@ -0,0 +1,17 @@
[tool.ruff]
target-version = "py311"
line-length = 120
extend-exclude = ["migrations"]
[tool.ruff.lint]
select = ["E", "F", "W", "B", "S"]
ignore = [
"E501", # длинные строки в промптах и шаблонах сообщений
"B904", # raise из except в обработчиках API — осознанно без цепочки
]
[tool.ruff.lint.per-file-ignores]
"tests/*" = ["S101", "S105", "S106"]
[tool.pytest.ini_options]
testpaths = ["tests"]

3
requirements-dev.txt Normal file
View file

@ -0,0 +1,3 @@
-r requirements.txt
pytest==8.4.2
ruff==0.14.0

View file

@ -8,4 +8,5 @@ openai==1.58.1
python-dotenv==1.0.1
Werkzeug==3.1.3
Pillow==11.0.0
playwright>=1.40
playwright==1.60.0
gunicorn==25.3.0