-
Notifications
You must be signed in to change notification settings - Fork 3
/
pyproject.toml
67 lines (60 loc) · 1.54 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
66
67
[tool.poetry]
name = "bapi"
version = "2.1"
description = "BeeStation public api"
authors = ["Qwertyquerty", "Crossedfall"]
license = "APACHE"
readme = "readme.md"
repository = "https://github.com/BeeStation/bapi"
packages = [{include = "bapi", from = "src"}]
[tool.poetry.dependencies]
python = "^3.11"
cachetools = "~5.5.0"
elastic-apm = {version = "~6.23.0", extras = ["flask"]}
requests = "~2.32.3"
mysqlclient = "~2.2.4"
patreon = {git = "https://github.com/Patreon/patreon-python.git", rev = "80c83f0"}
PyYAML = "~6.0.2"
Flask = "~3.0.3"
flask-apispec = "~0.11.4"
flask-marshmallow = "~1.2.1"
flask-swagger-ui = "~4.11.1"
Flask-Cors = "~5.0.0"
Flask-RESTful = "~0.3.10"
Flask-SQLAlchemy = "~3.1.1"
uWSGI = "~2.0.26"
werkzeug = "~3.0.4"
marshmallow-sqlalchemy = "~1.1.0"
[tool.poetry.group.dev.dependencies]
flake8 = "^7.1.1"
black = "^24.8.0"
pre-commit = "^3.8.0"
codespell = "^2.3.0"
mypy = "^1.11.2"
[build-system]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"
[tool.black]
line-length = 120
[tool.codespell]
count = ""
skip = ".git,.venv,*.lock,.mypy_cache"
builtin = "clear,rare,code,en-GB_to_en-US"
ignore-words-list = "od,ro"
quiet = 3
[tool.mypy]
mypy_path = "bapi"
check_untyped_defs = true
disallow_any_generics = true
ignore_missing_imports = true
no_implicit_optional = true
show_error_codes = true
strict_equality = true
warn_redundant_casts = true
warn_return_any = true
warn_unreachable = true
warn_unused_configs = true
no_implicit_reexport = true
[[tool.mypy.overrides]]
module = "bapi.db"
disable_error_code = "name-defined"