-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
65 lines (55 loc) · 1.35 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
54
55
56
57
58
59
60
61
62
63
64
65
[tool.poetry]
name = "rflying_tower_bot"
version = "0.6.1"
description = ""
authors = ["Kris Knigga <[email protected]>"]
[tool.poetry.dependencies]
python = "^3.12"
asyncpraw = "^7.7.1"
pydantic-yaml = "^1.3.0"
aiohttp = "^3.9.5"
pydantic = "^2.8.2"
python-dotenv = "^1.0.1"
sqlalchemy = {extras = ["asyncio"], version = "^2.0.31"}
sentry-sdk = "^2.10.0"
python-logging-discord-handler = "^0.1.5"
[tool.poetry.group.dev.dependencies]
pre-commit = "^3.7.1"
ruff = "^0.5.1"
pytest = "^6.2"
prospector = {extras = ["with-bandit", "with-mypy"], version = "^1.10.3"}
types-PyYAML = "^6.0.12.20240311"
[tool.poetry_bumpversion.file."rflying_tower_bot/__init__.py"]
[tool.poetry_bumpversion.file."tests/test_rflying_tower_bot.py"]
[tool.ruff]
target-version = "py312"
[tool.ruff.lint]
extend-select = [
"UP", # pyupgrade
"D", # pydocstyle
]
ignore = [
"D203",
"D212",
]
[tool.mypy]
plugins = [
"pydantic.mypy"
]
follow_imports = "silent"
warn_redundant_casts = true
warn_unused_ignores = true
disallow_any_generics = true
check_untyped_defs = true
no_implicit_reexport = true
[[tool.mypy.overrides]]
module = 'asyncpraw.*'
ignore_missing_imports = true
[tool.pydantic-mypy]
init_forbid_extra = true
init_typed = true
warn_required_dynamic_aliases = true
warn_untyped_fields = true
[build-system]
requires = ["poetry-core>=1.0.0"]
build-backend = "poetry.core.masonry.api"