50 lines
1.0 KiB
TOML
50 lines
1.0 KiB
TOML
[project]
|
|
name = "answer-bot"
|
|
version = "0.1.0"
|
|
description = ""
|
|
requires-python = ">=3.12"
|
|
dependencies = [
|
|
"aiogram>=3.20.0",
|
|
"aiohttp-socks>=0.10.1",
|
|
"envparse>=0.2.0",
|
|
"gspread>=6.2.0",
|
|
"httpx[socks]>=0.28.1",
|
|
"pysocks>=1.7.1",
|
|
"tortoise-orm>=0.25.0",
|
|
]
|
|
|
|
[tool.ruff]
|
|
target-version = "py312"
|
|
line-length = 88
|
|
force-exclude = true
|
|
|
|
[tool.ruff.lint]
|
|
select = [
|
|
"F", # Pyflakes
|
|
"W", # pycodestyle
|
|
"E", # pycodestyle
|
|
"I", # isort
|
|
"N", # PEP8 naming
|
|
"UP", # pyupgrade
|
|
# "ANN", # flake8-annotations
|
|
"B", # flake8-bugbear
|
|
"A", # flake8-builtins
|
|
"COM", # flake8-commas
|
|
"Q", # flake8-quotes
|
|
"RSE", # flake8-raise
|
|
"RET", # flake8-return
|
|
"LOG", # flake8-logging
|
|
"SIM", # flake8-simplify
|
|
"TID", # flake8-tidy-imports
|
|
"TCH", # flake8-type-checking
|
|
"PTH", # flake8-use-pathlib
|
|
"PL", # pylint
|
|
]
|
|
ignore = [
|
|
"ANN401", # any-type
|
|
"COM812", # missing-trailing-comma
|
|
"E712", # true-false-comparsion
|
|
"PLR",
|
|
"E501", # line-too-long
|
|
]
|