-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
71 lines (60 loc) · 1.46 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
68
69
70
71
[tool.poetry]
name = "ida_py"
version = "0.0.1"
description = "IDA (I Do Accountancy). A python project to automate tedious accountancy tasks."
authors = ["Sonny Valkeneers <[email protected]>"]
license = "MIT"
readme = "README.md"
[tool.poetry.dependencies]
python = "^3.10.5"
psycopg = {extras = ["binary"], version = "^3.0.16"}
[tool.poetry.dev-dependencies]
bandit = "^1.7.4"
black = "^22.6.0"
commitizen = "^2.32.1"
cruft = "^2.11.0"
flake8-bugbear = "^22.7.1"
flake8-pytest-style = "^1.6.0"
isort = "^5.10.1"
mypy = "^0.971"
pep8-naming = "^0.13.2"
pre-commit = "^2.20.0"
pydocstyle = "^6.1.1"
pytest = "^7.1.2"
pytest-cov = "^3.0.0"
pytest-mock = "^3.8.2"
safety = "^2.1.1"
shellcheck-py = "^0.8.0"
toml = "^0.10.2"
types-toml = "^0.10.8"
[build-system]
requires = ["poetry>=1.1.4"]
build-backend = "poetry.masonry.api"
[tool.black]
line-length = 100
[tool.isort]
profile = "black"
[tool.commitizen]
annotated_tag = true
bump_message = "bump: $current_version → $new_version [skip ci]"
name = "cz_conventional_commits"
tag_format = "v$version"
update_changelog_on_bump = true
version = "0.0.1"
version_files = [
"pyproject.toml:version",
"ida_py/__init__.py"
]
[tool.pydocstyle]
convention = "numpy"
[tool.coverage.run]
branch = true
[tool.coverage.report]
exclude_lines = ["pragma: no cover"]
omit = ["*tests*"]
[tool.bandit]
skips = [
"B101", # Allow assertions since we do not intend to compile to optimised byte code.
]
[tool.mypy]
show_error_codes = true