-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
43 lines (34 loc) · 1.09 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
[tool.poetry]
name = "nfc-check"
version = "0.1.0"
description = "Web applicathon for NFC authenticity check"
authors = ["Titusz <tp@py7.de>"]
license = "Apache-2.0"
readme = "README.md"
homepage = "https://github.com/bitcoin-ring/nfc-check"
packages = [{include = "nfc_check"}]
[tool.poetry.dependencies]
python = "^3.11"
blacksheep = "^1.2.12"
uvicorn = "^0.21.1"
pydantic = "^1.10.7"
python-dotenv = "^1.0.0"
cryptography = "^40.0.1"
loguru = "^0.6.0"
gunicorn = "^20.1.0"
[tool.poetry.group.dev.dependencies]
pytest = "^7.2.2"
black = "^23.3.0"
poethepoet = "^0.19.0"
pytest-asyncio = "^0.21.0"
coverage = "^7.2.2"
pytest-cov = "^4.0.0"
[tool.poe.tasks]
format = { cmd = "poetry run black .", help = "Code style formating with black" }
lf = { cmd = "poetry run python -m tests.lf", help = "Convert line endings to lf"}
test = { cmd = "poetry run pytest --cov=nfc_check --cov-fail-under=100", help = "Run tests" }
run = { cmd = "poetry run uvicorn nfc_check.server:app --port 8000 --reload"}
all = ["format", "lf", "test"]
[build-system]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"