-
-
Notifications
You must be signed in to change notification settings - Fork 2
/
pyproject.toml
53 lines (48 loc) · 1.46 KB
/
pyproject.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
[project]
name = "droos-bot"
version = "1.0.0"
description = ""
authors = [
{ name = "yshalsager", email = "[email protected]" },
]
license = { text = "MIT" }
readme = "README.md"
requires-python = ">=3.13"
dependencies = [
"gspread>=5.12.4",
"gspread-pandas>=3.3.0",
"pyarabic>=0.6.15",
"python-telegram-bot>=21.4",
"SQLAlchemy>=2.0.31"
]
[dependency-groups]
dev = [
"ruff>=0.8.1",
"pre-commit>=4.0.0",
"jurigged>=0.6.0"
]
[tool.ruff] # https://github.com/charliermarsh/ruff
fix = true
src = ["droos_bot"]
target-version = "py313"
line-length = 100
[tool.ruff.format]
quote-style = "double"
line-ending = "lf"
[tool.ruff.lint]
select = ["A", "B", "BLE", "C4", "C90", "D", "DTZ", "E", "ERA", "F", "G", "I", "INP", "ISC", "N", "NPY", "PGH", "PIE", "PLC", "PLE", "PLR", "PLW", "PT", "PTH", "PYI", "RET", "RSE", "RUF", "S", "SIM", "T10", "T20", "TID", "UP", "W", "YTT"]
ignore = ["E501", "S307", "RET504", "S101", "D211", "D213", "ERA001", "G004", "D100", "D101", "D102", "D103", "D104", "D105", "D104", "D107", "D203", "ISC001"]
unfixable = ["ERA001", "F401", "F841", "T201", "T203"]
[tool.mypy]
files = ["droos_bot"]
ignore_missing_imports = true
disallow_untyped_defs = true
#disallow_any_unimported = true
no_implicit_optional = true
check_untyped_defs = true
warn_return_any = true
show_error_codes = true
warn_unused_ignores = true
disallow_incomplete_defs = true
disallow_untyped_decorators = true
plugins = ["sqlalchemy.ext.mypy.plugin"]