-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathpyproject.toml
59 lines (50 loc) · 1.63 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
[tool.poetry]
authors = ["Brooks YUAN <[email protected]>"]
description = "Beancount plugin for fixed assets depreciation"
documentation = "https://hktkzyx.github.io/auto-depreciation/"
homepage = "https://hktkzyx.github.io/auto-depreciation/"
keywords = ["beancount", "plugin"]
license = "GPL-3.0-or-later"
name = "auto-depreciation"
readme = "docs/README.md"
repository = "https://github.com/hktkzyx/auto-depreciation"
version = "3.1.1"
[tool.poetry.dependencies]
beancount = "^2.3.5"
mike = {version = "^1.1.2", optional = true}
mkdocs = {version = "^1.2.3", optional = true}
mkdocs-material = {version = "^8.2.1", optional = true}
pytest = {version = "^7.1.2", optional = true}
pytest-cov = {version = "^3.0.0", optional = true}
python = "^3.9"
python-dateutil = "^2.8.2"
[tool.poetry.dev-dependencies]
commitizen = "^2.21.2"
flake8 = "^4.0.1"
isort = "^5.10.1"
pre-commit = "^2.17.0"
yapf = {extras = ["pyproject"], version = ">=0.32.0, <1.0.0"}
[tool.poetry.extras]
docs = ["mkdocs", "mkdocs-material", "mike"]
test = ["pytest", "pytest-cov"]
[tool.commitizen]
name = "cz_conventional_commits"
tag_format = "v$version"
version = "3.1.1"
version_files = ["pyproject.toml:version"]
[build-system]
build-backend = "poetry.core.masonry.api"
requires = ["poetry-core>=1.0.0"]
[tool.isort]
profile = "google"
[tool.yapf]
based_on_style = "pep8"
indent_dictionary_value = true
split_all_top_level_comma_separated_values = true
split_before_arithmetic_operator = true
split_before_named_assigns = false
[tool.pytest.ini_options]
testpaths = ["tests", "auto_depreciation"]
addopts = "--doctest-modules"
[tool.coverage.run]
source_pkgs = ["auto_depreciation"]