-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpyproject.toml
45 lines (40 loc) · 903 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
[tool.poetry]
name = "python-project-template"
version = "0.1.0"
description = ""
authors = ["Brian Jenkins <[email protected]>"]
[tool.poetry.dependencies]
python = "^3.12"
click = "^8.0.4"
[tool.poetry.dev-dependencies]
pytest = "^8.3.2"
pytest-cov = "^3.0.0"
pre-commit = "^2.17.0"
flake8 = "^4.0.1"
black = { version = "^22.3.0", allow-prereleases = true }
mypy = "^0.941"
[tool.black]
line-length = 79
target-version = ['py39']
include = '\.pyi?$'
exclude = '''
(
/(
\.eggs # exclude a few common directories in the
| \.git # root of the project
| \.hg
| \.mypy_cache
| \.tox
| \.venv
| _build
| buck-out
| build
| dist
)/
| foo.py # also separately exclude a file named foo.py in
# the root of the project
)
'''
[build-system]
requires = ["poetry-core>=1.0.0"]
build-backend = "poetry.core.masonry.api"