-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpyproject.toml
65 lines (55 loc) · 1.26 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
[tool.poetry]
name = "base"
version = "0.1.0"
description = "Base project setup"
authors = ["Andrea Riciputi <[email protected]>"]
license = "BSD-2-Clause"
[tool.poetry.dependencies]
python = "^3.9"
[tool.poetry.dev-dependencies]
# linting and formatting
black = "^22.3"
isort = "^5.10"
pylint = "^2.13"
bandit = "^1.7"
pre-commit = "^2.19"
# repl
ipython = "^8.3"
pdbpp = "^0.10.3"
# testing
pytest = "^7.1"
pytest-cov = "^3.0"
pytest-randomly = "^3.12"
coverage = {extras = ["toml"], version = "^6.3"}
# documentation
mkdocs = "^1.3"
mkdocs-material = "^8.2"
mkdocstrings = "^0.18"
mkdocs-with-pdf = "^0.9"
[tool.pytest.ini_options]
minversion = "7.1"
addopts = "--verbosity=1 --cov=base --cov-report=term-missing --cov-report=xml --junit-xml=pytest-xunit.xml"
[tool.coverage.paths]
source = ["src",]
[tool.coverage.run]
branch = true
source = ["base"]
[tool.coverage.report]
ignore_errors = true
fail_under = 90
show_missing = true
[tool.black]
line-length = 99
target-version = ["py39"]
[tool.isort]
line_length = 99
atomic = true
include_trailing_comma = true
lines_after_imports = 2
lines_between_types = 1
multi_line_output = 3
use_parentheses = true
known_first_party = "base"
[build-system]
requires = ["poetry-core>=1.0.0"]
build-backend = "poetry.core.masonry.api"