-
Notifications
You must be signed in to change notification settings - Fork 2
/
pyproject.toml
66 lines (56 loc) · 1.36 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
[tool.poetry]
name = "chords"
version = "0.1.0"
description = "Song book written in Django, supporting offline viewing"
authors = ["Petr Hála <[email protected]>"]
readme = "README.md"
[tool.poetry.dependencies]
python = "^3.11"
django = "^5"
django_bootstrap5 = "*"
dj-datatables-view = "*"
django-debug-toolbar = "*"
django-markdownx = ">=4.0.0b1"
django-redis = "*"
huey = "*"
django-sass-processor = "*"
django-simple-menu = "*"
django-weasyprint = "*"
weasyprint = "^63"
Pillow = "*"
mistune = ">3"
netifaces = "*"
django-compressor = "*"
libsass = "*"
[tool.poetry.group.production]
optional = true
[tool.poetry.group.production.dependencies]
psycopg = {extras = ["binary", "pool"], version = "^3.1.10"}
gunicorn = "*"
gevent = "*"
[tool.poetry.group.dev]
optional = true
[tool.poetry.group.dev.dependencies]
pylint = "*"
pylint-django = "*"
black = "*"
[tool.black]
line-length = 120
# pylint
[tool.pylint.FORMAT]
max-line-length = 120
[tool.pylint.DESIGN]
min-public-methods=1
max-parents=12
disable = [
"duplicate-code", # reports false alarms AND can't be disabled locally; pylint issue #214
"fixme", # ignore TODOs
"redefined-outer-name",
"too-many-arguments",
"too-few-public-methods"]
[tool.pylint.MAIN]
ignore-patterns= "\\d{4}_.*?.py"
load-plugins = "pylint_django"
[build-system]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"