-
Notifications
You must be signed in to change notification settings - Fork 12
/
Copy pathpyproject.toml
49 lines (40 loc) · 1.19 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
[tool.poetry]
name = "sysplant"
version = "0.3.0"
description = "SysPlant - Your syscall factory"
authors = ["Ben Mz <[email protected]>"]
license = "MIT"
readme = "README.md"
[tool.poetry.dependencies]
python = "^3.8"
[tool.poetry.group.dev.dependencies]
pytest = "^7.4.0"
mkdocs-awesome-pages-plugin = "^2.9.1"
lazydocs = "^0.4.8"
poetry-bumpversion = "^0.3.1"
pytest-cov = "^4.1.0"
[build-system]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"
[[tool.poetry_bumpversion.replacements]]
files = ["__metadata.py"]
search = '__version__ = "{current_version}"'
replace = '__version__ = "{new_version}"'
[[tool.poetry_bumpversion.replacements]]
files = ["README.md", "docs/index.md"]
search = 'Version: {current_version}'
replace = 'Version: {new_version}'
[tool.pytest.ini_options]
# Also see
# https://docs.pytest.org/en/6.2.x/customize.html#pyproject-toml
# https://pytest-cov.readthedocs.io/en/latest/config.html
# If you want to see console output from tests, include -s flag
addopts = [
'--cov-fail-under=80',
'--cov-report=html:pytest',
'--cov-report=term-missing',
'--junitxml=report.xml'
]
[tool.coverage.run]
omit = ["tests"]
source = ["sysplant"]