-
Notifications
You must be signed in to change notification settings - Fork 1
/
pyproject.toml
47 lines (41 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
[tool.poetry]
name = "lnpayroll"
version = "0.1.7"
description = "Bitcoin Lightning Payroll Processing"
authors = ["Titusz <tp@py7.de>"]
license = "Apache-2.0"
readme = "README.md"
[tool.poetry.dependencies]
python = "^3.9"
django = "^4.1"
loguru = "^0.6"
lnurl = "^0.3"
requests = "^2.28"
django-constance = {extras = ["database"], version = "^2.9"}
shared-memory-dict = "^0.7"
django-object-actions = "^4.1"
django-admin-interface = "^0.24"
bolt11-voltage = "^0.0.1"
django-import-export = "^3.1"
whitenoise = "^6.4"
gunicorn = "^20.1"
django-environ = "^0.10"
[tool.poetry.group.dev.dependencies]
pytest = "*"
black = "*"
poethepoet = "*"
pytest-django = "^4.5"
[tool.black]
line-length = 100
target-version = ['py38']
[tool.pytest.ini_options]
DJANGO_SETTINGS_MODULE = "lnpayroll.settings"
[tool.poe.tasks]
format = { cmd = "poetry run black .", help = "Code style formating with black" }
lf = { cmd = "poetry run python -m dev.lf", help = "Convert line endings to lf"}
test = { cmd = "poetry run pytest", help = "Run tests" }
all = ["format", "lf", "test"]
config = { cmd = "poetry run python -m dev.config", help = "Reset development environment"}
[build-system]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"