-
-
Notifications
You must be signed in to change notification settings - Fork 72
/
Copy pathpyproject.toml
101 lines (95 loc) · 2.69 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
[project]
name = "amy"
version = "4.7.0-dev"
description = "A web-based workshop administration application built using Django."
authors = [{ name = "Carpentries Team", email = "[email protected]" }]
license = { text = "MIT" }
readme = "README.md"
requires-python = ">=3.12,<4.0"
dependencies = [
"argon2-cffi (>=23.1.0,<24.0.0)",
"black",
"crispy-bootstrap4 (>=2024.10,<2025.0)",
"django (>=4.2,<5.0)",
"django-anymail (>=12.0,<13.0)",
"django-better-admin-arrayfield (>=1.4.2,<2.0.0)",
"django-contrib-comments (>=2.2.0,<3.0.0)",
"django-countries (>=7.6.1,<8.0.0)",
"django-crispy-forms (>=2.3,<3.0)",
"django-debug-toolbar (>=4.4.6,<5.0.0)",
"django-environ (>=0.11.2,<0.12.0)",
"django-extensions (>=3.2.3,<4.0.0)",
"django-filter (>=24.3,<25.0)",
"django-flags (>=5.0.13,<6.0.0)",
"django-formset-js-improved (>=0.5.0.3,<0.6.0.0)",
"django-markdownx (>=4.0.7,<5.0.0)",
"django-recaptcha (>=4.0.0,<5.0.0)",
"django-rest-knox (>=5.0.2,<6.0.0)",
"django-reversion (>=5.1.0,<6.0.0)",
"django-reversion-compare (>=0.18.1,<0.19.0)",
"django-select2 (>=8.2.3,<9.0.0)",
"django-stubs",
"django-test-migrations (>=1.4.0,<2.0.0)",
"django-webtest (>=1.9.12,<2.0.0)",
"djangorestframework (>=3.15.2,<4.0.0)",
"djangorestframework-csv (>=3.0.2,<4.0.0)",
"djangorestframework-stubs",
"drf-nested-routers (>=0.94.1,<0.95.0)",
"faker (>=33.3.1,<34.0.0)",
"fakeredis (>=2.26.2,<3.0.0)", # TODO: remove in #2755
"flake8",
"gunicorn (>=23.0.0,<24.0.0)",
"isort",
"jinja2 (>=3.1.5,<4.0.0)",
"mkdocs (>=1.6.1,<2.0.0)",
"mkdocs-material (>=9.5.49,<10.0.0)",
"mypy",
"pre-commit",
"psycopg (>=3.2.3,<4.0.0)",
"pydantic (>=2.10.5,<3.0.0)",
"pygithub (>=2.5.0,<3.0.0)",
"pyyaml (>=6.0.2,<7.0.0)",
"requests (>=2.32.3,<3.0.0)",
"requests-mock (>=1.12.1,<2.0.0)",
"social-auth-app-django (>=5.4.2,<6.0.0)",
"social-auth-core (>=4.5.4,<5.0.0)",
"typing-extensions",
"whitenoise (>=6.8.2,<7.0.0)",
"toml (>=0.10.2,<0.11.0)",
]
[build-system]
requires = ["poetry-core>=2.0.0,<3.0.0"]
build-backend = "poetry.core.masonry.api"
[tool.poetry]
package-mode = false
[tool.black]
line-length = 120
force-exclude = "migrations"
[tool.isort]
profile = "black"
force_sort_within_sections = true
skip_gitignore = true
known_first_party = [
"api",
"autoemails",
"consents",
"communityroles",
"dashboard",
"emails",
"extcomments",
"extforms",
"extrequests",
"fiscal",
"recruitment",
"reports",
"trainings",
"workshops",
]
[tool.mypy]
plugins = ["mypy_django_plugin.main", "mypy_drf_plugin.main"]
python_version = "3.12"
show_error_codes = true
strict = true
mypy_path = "amy"
[tool.django-stubs]
django_settings_module = "config.settings"