diff --git a/pyproject.toml b/pyproject.toml new file mode 100644 index 0000000..5500907 --- /dev/null +++ b/pyproject.toml @@ -0,0 +1,13 @@ +[tool.ruff] +target-version = "py310" +line-length = 120 + +[tool.ruff.lint] +select = ["E", "F", "W", "B", "S"] +ignore = ["E501", "E701"] + +[tool.ruff.lint.per-file-ignores] +"tests/*" = ["S101", "S105", "S106"] + +[tool.pytest.ini_options] +testpaths = ["tests"] diff --git a/requirements-dev.txt b/requirements-dev.txt new file mode 100644 index 0000000..b065da0 --- /dev/null +++ b/requirements-dev.txt @@ -0,0 +1,3 @@ +-r requirements.txt +pytest==8.4.2 +ruff==0.14.0 diff --git a/requirements.txt b/requirements.txt index f8fcee1..be6f5c3 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,3 +1,3 @@ -aiogram>=3.0 -aiohttp -python-dotenv +aiogram==3.31.0 +aiohttp==3.14.3 +python-dotenv==1.2.1