-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
47 lines (38 loc) · 968 Bytes
/
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 = "klinks"
version = "0.1.0"
description = ""
authors = ["Bruno Alves Comitre <bruno-comitre@hotmail.com>"]
license = "MIT"
readme = "README.md"
[tool.poetry.dependencies]
python = "^3.10"
flask = "^2.3.2"
flask-wtf = "^1.1.1"
flask-sqlalchemy = "^3.0.5"
[tool.poetry.group.dev.dependencies]
blue = "^0.9.1"
isort = "^5.12.0"
taskipy = "^1.12.0"
pytest = "^7.4.0"
pytest-cov = "^4.1.0"
[tool.poetry.group.doc.dependencies]
mkdocs-material = "^9.1.21"
mkdocstrings-python = "^1.2.1"
mkdocstrings = "^0.22.0"
[build-system]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"
[tool.pytest.ini_options]
pythonpath = "."
addopts = "--doctest-modules"
[tool.isort]
profile = "black"
line_lenght = 79
[tool.taskipy.tasks]
lint = "blue --check --diff . && isort --check --diff ."
docs = "mkdocs serve"
run = "poetry run python app/main.py"
pre_test = "task lint"
test = "pytest -s -x --cov=Klinks -vv"
post_test = "coverage html"