-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
67 lines (58 loc) · 1.22 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
64
65
66
67
[tool.poetry]
name = "source"
version = "0.1.0"
description = "Template for a Python project."
authors = ["Mateus Oliveira"]
license = "MIT"
[tool.poetry.dependencies]
python = "^3.7"
[tool.poetry.dev-dependencies]
bandit = "^1.7.4"
black = "^22.3.0"
editorconfig-checker = "^2.4.0"
gitlint = "^0.18.0"
isort = "^5.11.5"
mypy = "^1.0"
pre-commit = "^2.19.0"
prospector = "^1.7.7"
pytest = "^7.2.2"
pytest-cov = "^4.0.0"
safety = "^2.1.1"
Sphinx = "^5.0.2"
sphinx-rtd-theme = "^1.2.0"
toml = "^0.10.2"
types-toml = "^0.10.8"
[tool.poetry.scripts]
dev = "scripts.dev_cli.__main__:CLI"
[build-system]
requires = ["poetry-core>=1.0.0"]
build-backend = "poetry.core.masonry.api"
[tool.pytest.ini_options]
filterwarnings = "error"
addopts = [
"-vv",
"-s",
"--cov-report=term-missing",
"--cov-report=html:tests/coverage-results/htmlcov",
"--cov=source",
"--cov-fail-under=100",
]
[tool.mypy]
python_version = "3.7"
strict = true
show_error_codes = true
[[tool.mypy.overrides]]
module = [
"scripts.*",
]
ignore_missing_imports = true
[tool.black]
line-length = 79
verbose = true
[tool.isort]
profile = "black"
line_length = 79
verbose = true
multi_line_output = 3
include_trailing_comma = true
skip_gitignore = true