-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
107 lines (98 loc) · 2.4 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
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
[tool.poetry]
name = "innverse-stats"
version = "0.1.0"
description = "Django backend for innverse-stats app"
authors = ["Cameron Blankenbuehler <[email protected]>"]
license = "MIT"
readme = "README.md"
packages = [{include = "innverse"}]
[tool.poetry.dependencies]
beautifulsoup4 = "^4.12.2"
certifi = "^2024.07.04"
charset-normalizer = "^3.2.0"
django = "^5.0.3"
django-browser-reload = "^1.11.0"
django-debug-toolbar = "^4.3.0"
django-htmx = "^1.17.2"
django-tables2 = "^2.6.0"
django-tailwind = "^3.5.0"
djangorestframework = "^3.14.0"
fake-useragent = "^1.1.3"
gunicorn = "^22.0.0"
idna = "^3.4"
kaleido = "0.2.1"
pandas = "^2.0.3"
pandas-stubs = "^2.1.4.231218"
plotly = "^5.14.1"
psycopg2 = "^2.9.9"
pyarrow = "^15.0.0"
pygobject = "^3.44.1"
pymemcache = "^4.0.0"
pysocks = "^1.7.1"
python = "^3.10"
python-dotenv = "^1.0.0"
regex = "^2023.12.25"
requests = "^2.32.3"
scipy = "^1.12.0"
soupsieve = "^2.4.1"
stem = "^1.8.1"
tablib = "^3.5.0"
urllib3 = "^1.26.18"
uvicorn = "^0.26.0"
wikitextparser = "^0.55.13"
pip = "^24.1.2"
[tool.poetry.group.dev.dependencies]
django-debug-toolbar-template-profiler = "^2.1.0"
django-pattern-library = "^1.0.0"
django-stubs = {extras = ["compatible-mypy"], version = "^4.2.7"}
ipdb = "0.13.13"
ipython = "^8.14.0"
mypy = "^1.7.1"
pre-commit = "^3.3.3"
pyflame = "^0.3.1"
pylint = "^2.17.3"
pylint-django = "^2.5.3"
pylsp-mypy = "^0.6.8"
statsmodels = "^0.14.0"
types-regex = "^2023.12.25.20240311"
djangorestframework-stubs = {extras = ["compatible-mypy"], version = "^3.14.5"}
pywikibot = "^9.1.3"
pytest = "^8.2.2"
pytest-django = "^4.8.0"
djlint = "^1.35.2"
[tool.pylsp-mypy]
enabled = true
live_mode = true
strict = true
[tool.mypy]
plugins = [
"mypy_django_plugin.main",
"mypy_drf_plugin.main",
]
[[tool.mypy.overrides]]
# Ignore charts mypy errors because Plotly doesn't currently support typing
# Though there is an existing issue see (https://github.com/plotly/plotly.py/issues/1103)
module = [
'stats.charts.*',
]
ignore_missing_imports = true
ignore_errors = true
[tool.django-stubs]
django_settings_module = "innverse.settings"
strict_settings = false
[tool.ipdb]
context=5
[tool.pytest.ini_options]
DJANGO_SETTINGS_MODULE = "innverse.settings"
filterwarnings = [
"ignore::UserWarning",
]
testpaths = [
"innverse",
"processing",
"stats",
"stats/wikibot/tests",
]
[build-system]
requires = ["poetry-core>=1.8.3"]
build-backend = "poetry.core.masonry.api"