This repository has been archived by the owner on Aug 26, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 679
/
pyproject.toml
88 lines (75 loc) · 1.93 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
[tool.poetry]
name = "kuma"
version = "0.0.0"
license = "MPL-2.0"
description = "The MDN Web Docs site"
authors = ["MDN Devs <[email protected]>"]
homepage = "https://developer.mozilla.org"
repository = "https://github.com/mdn/kuma"
documentation = "https://kuma.readthedocs.io"
[tool.poetry.dependencies]
python = "^3.10"
celery = "^4.4.7"
dj-database-url = "^0.5.0"
dj-email-url = "^1"
django = "^3"
django-decorator-include = "^3.0"
django-extensions = "^2.2.6"
django-ratelimit = "2.0.0"
django-redis = "^5.0.0" # (Django cache backend)
elasticsearch = "^7.14.1"
elasticsearch-dsl = "^7.4.0"
gunicorn = "^20.1.0"
newrelic = "6.8.1.164"
python-decouple = "^3.4"
pytz = "^2021.1"
redo = "^2.0.4"
requests = "^2.26.0"
urlwait = "^1.0"
gevent = {extras = ["gevent"], version = "^21.8.0"}
psycopg2-binary = "^2.9.1"
sentry-sdk = "^1.3.1"
whitenoise = "^5.3.0"
mozilla-django-oidc = "^2.0.0"
django-ninja = "^0.16.1"
[tool.poetry.dev-dependencies]
# Development Tools
werkzeug = "^1.0" # Enables runserver_plus from django-extensions
# Testing
braceexpand = "^0.1.7"
pytest = "~6.2"
pytest-base-url = "^1.4.2"
pytest-cov = "~3.0.0"
pytest-django = "~4.5.2"
pytest-metadata = "^1.11.0"
pytest-rerunfailures = "^10.2"
requests-mock = "^1.9.3"
ElasticMock = "^1.8.0"
# Linting
black = "^22.1.0"
flake8 = "^3.9.2"
flake8-isort = "^4.1.1"
dennis = "^0.9" # Used by `make localetest` to lint po files
isort = "^5.10.1"
# Pinned Dependencies
coverage = {extras = ["toml"], version = "^6"} # Use optional toml support
pytest-watch = "^4.2.0"
honcho = "^1.0.1"
ipdb = "^0.13.9"
ipython = "^7.31.1"
model-bakery = "^1.4.0"
[tool.black]
target-version = ["py38"]
[tool.coverage.run]
source = ["kuma"]
branch = true
dynamic_context = "test_function"
[tool.coverage.report]
omit = ["*migrations*", "*/management/commands/*"]
[tool.coverage.html]
show_contexts = true
[tool.isort]
profile = "black"
[build-system]
requires = ["poetry>=0.12"]
build-backend = "poetry.masonry.api"