-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpyproject.toml
66 lines (57 loc) · 1.88 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
[tool.poetry]
name = "batpy"
version = "0.4.0"
description = "A python package to read, write, and calculate batteries in the BatPaC tool."
authors = ["Raphael Ginster <[email protected]>"]
license = "MIT"
readme = "README.md"
documentation = "https://rginster.github.io/batpy/"
repository = "https://github.com/rginster/batpy"
[tool.poetry.dependencies]
python = "^3.10"
xlwings = "^0.30.4"
pathlib = "^1.0.1"
toml = "^0.10.2"
prettytable = "^3.7.0"
tqdm = "^4.65.0"
semantic-version = "^2.10.0"
[tool.poetry.dev-dependencies]
black = "^23.3.0"
flake8 = "^6.0.0"
pytest = "^7.3.1"
pytest-cov = "^4.0.0"
python-semantic-release = "^7.33.3"
[tool.poetry.group.dev.dependencies]
jupyter = "^1.0.0"
myst-nb = {version = "^0.17.2", python = "^3.10"}
sphinx-autoapi = "^2.1.0"
sphinx-rtd-theme = "^1.2.0"
pre-commit = "^3.3.1"
removestar = "^1.3.1"
isort = "^5.12.0"
mypy = "^1.2.0"
dodgy = "^0.2.1"
pylint = "^2.17.3"
bandit = "^1.7.5"
[build-system]
requires = ["poetry-core>=1.0.0"]
build-backend = "poetry.core.masonry.api"
[tool.pytest.ini_options]
addopts = "--cov --cov-report term-missing"
[tool.semantic_release]
version_source = "tag" # version source
version_variable = "pyproject.toml:version" # version location
branch = "main" # branch to make releases of
changelog_file = "CHANGELOG.md" # changelog file
build_command = "poetry build" # build dists
dist_path = "dist/" # where to put dists
upload_to_release = true # auto-create GitHub release
upload_to_pypi = false # don't auto-upload to PyPI
remove_dist = false # don't remove dists
patch_without_tag = false # patch release by default
[tool.black]
line-length = 79
[tool.bandit.assert_used]
skips = ['*_test.py', '*test_*.py']
[tool.isort]
profile = "black"