This repository has been archived by the owner on Oct 7, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpyproject.toml
63 lines (57 loc) · 2.13 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
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
[tool.poetry]
name = "yapt"
version = "1.2.0"
description = "yet another python (project) template"
authors = ["Caian Ertl <hi@caian.org>"]
license = "CC0-1.0"
homepage = "https://github.com/caian-org/yapt"
repository = "https://github.com/caian-org/yapt"
classifiers = [
# Trove classifiers
# Full list: https://pypi.python.org/pypi?%3Aaction=list_classifiers
"Environment :: Console",
"Programming Language :: Python",
"Programming Language :: Python :: 3.6",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"License :: CC0 1.0 Universal (CC0 1.0) Public Domain Dedication"
]
[tool.poetry.dependencies]
python = "^3.7"
[tool.poetry.dev-dependencies]
bandit = "1.7.4"
black = "22.3.0"
colorama = "0.4.4"
isort = "5.10.1"
jedi = "0.18.1"
mypy = "0.941"
poethepoet = "0.13.1"
pylint = "2.13.4"
pytest = "7.1.1"
pytest-cov = "3.0.0"
pytest-sugar = "0.9.4"
sphinx = "4.5.0"
sphinx-book-theme = "0.3.2"
sphinxcontrib-napoleon = "0.7"
vrelease-bin = "0.3.2"
vulture = "2.3"
watchdog = "2.1.7"
[tool.poe.tasks]
"start" = "python -m yapt"
"start:watch" = "watchmedo auto-restart -p '*.py' -R python -- -m yapt"
"build:docs" = "sphinx-build .docs .docs/build"
"check:deadcode" = "vulture yapt"
"check:lint" = "pylint --fail-under 9 --rcfile .pylintrc --output-format colorized --verbose yapt"
"check:security" = "bandit --exclude yapt/tests -r yapt"
"check:style" = "black -l 120 -S --check yapt"
"check:types" = "mypy yapt"
"fix:imports" = "isort --sl yapt/**/*.py"
"fix:style" = "black -l 120 -S yapt"
"tests" = "pytest --cov yapt --cov-report term --cov-report html --cov-report xml --verbose"
[tool.vulture]
exclude = ["yapt/tests"]
[build-system]
requires = ["poetry-core>=1.0.0"]
build-backend = "poetry.core.masonry.api"