forked from compserv/hknweb
-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
55 lines (47 loc) · 1.21 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
[tool.poetry]
name = "hknweb"
version = "0.1.0"
description = "Eta Kappa Nu, Mu Chapter website"
authors = ["HKN Mu Chapter Computing Services <[email protected]>"]
readme = "README.md"
[tool.poetry.dependencies]
python = "~3.9"
django = "^4.2.5"
django-markdownx = "^4.0.2"
bleach = { extras = ["css"], version = "^6.0.0" }
gunicorn = "^21.2.0"
fabric = "^3.2.2"
django-autocomplete-light = "^3.9.7"
djangorestframework = "^3.14.0"
google-api-python-client = "^2.99.0"
pillow = "^9.5.0"
icalendar = "^5.0.10"
[tool.poetry.group.prod]
optional = true
[tool.poetry.group.prod.dependencies]
# These two are specifically pinned on older versions to avoid OCF issues
mysqlclient = "~2.1.0"
urllib3 = "~1.26.6"
[tool.poetry.group.dev.dependencies]
black = "^23.9.1"
coverage = { extras = ["toml"], version = "^7.3.1" }
[build-system]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"
[tool.black]
extend-exclude = '(.*migrations)/'
[tool.coverage.run]
source = ["."]
command_line = "manage.py test"
omit = [
'fabfile.py',
'hknweb/wsgi.py',
'manage.py',
'*apps.py',
'*test_*.py',
'hknweb/settings/*.py',
]
[tool.coverage.report]
skip_covered = true
sort = "miss"
fail_under = 85