-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathpyproject.toml
56 lines (49 loc) · 1.23 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
[tool.poetry]
name = "acornserver"
version = "0.1.0"
description = "Next-generation private BitTorrent Tracker"
authors = ["snowdrop4 <[email protected]>"]
license = "MIT"
[tool.poetry.dependencies]
python = "^3.11"
django = "~4.0"
django-glrm = "^1.1"
django-markupfield = "^2.0"
django-picklefield = "^3.0"
django-debug-toolbar = "^3.0"
django-countries = "^7.0"
django-mptt = "^0.13"
django-stubs = "~1.12.0"
djangorestframework = "^3.0"
bcoding = "^1.0"
markdown = "^3.0"
psycopg2 = "^2.9.3"
[tool.poetry.dev-dependencies]
mypy = "*"
isort = "*"
black = "*"
pyflakes = "*"
flake8 = "*"
coverage = "^6"
[tool.mypy]
plugins = ["mypy_django_plugin.main"]
ignore_missing_imports = true
warn_unused_configs = true
disallow_untyped_defs = true
disallow_incomplete_defs = true
warn_unreachable = true
exclude = ["migrations/*"]
[tool.django-stubs]
django_settings_module = "acorn.settings"
[tool.isort]
profile = "black"
length_sort = true
balanced_wrapping = true
include_trailing_comma = true
known_django = ["django"]
sections = ["FUTURE", "STDLIB", "DJANGO", "THIRDPARTY", "FIRSTPARTY", "LOCALFOLDER"]
[build-system]
requires = ["poetry-core>=1.0.0"]
build-backend = "poetry.core.masonry.api"
[tool.black]
line-length = 110