-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpyproject.toml
43 lines (37 loc) · 872 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
[tool.poetry]
name = "poetry-template"
version = "0.1.0"
description = ""
authors = ["Your Name <[email protected]>"]
[tool.poetry.dependencies]
python = "^3.10"
[tool.poetry.dev-dependencies]
black = "^22.6.0"
flake8 = "^4.0.1"
flake8-docstrings = "^1.6.0"
flake8-print = "^5.0.0"
flake8-quotes = "^3.3.1"
isort = "^5.10.1"
mypy = "^0.971"
poethepoet = "^0.16.0"
pytest = "^7.1.2"
pytest-cov = "^3.0.0"
[tool.black]
line-length = 79
target-version = ["py310"]
[tool.isort]
line_length = 79
multi_line_output = 3
[tool.poe.tasks]
flake8 = "flake8 ."
isort = "isort . -c"
mypy = "mypy ."
lint = ["flake8", "isort", "mypy"]
black = "black ."
isort_format = "isort ."
format = ["black", "isort_format"]
test = "pytest"
cov = "pytest --cov=src --cov-report=html --cov-report=term"
[build-system]
requires = ["poetry-core>=1.0.0"]
build-backend = "poetry.core.masonry.api"