-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
72 lines (62 loc) · 2.06 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
72
[tool.poetry]
authors = ["Brooks YUAN <[email protected]>"]
classifiers = [
"License :: OSI Approved",
"Natural Language :: Chinese (Simplified)",
"Natural Language :: English",
"Programming Language :: Python",
]
description = "Toolbox of hktkzyx."
documentation = "https://hktkzyx.github.io/hktkzyx-toolbox/"
homepage = "https://hktkzyx.github.io/hktkzyx-toolbox/"
keywords = ["toolbox", "click"]
license = "MulanPSL-2.0"
name = "hktkzyx-toolbox"
readme = "docs/README.md"
repository = "https://github.com/hktkzyx/hktkzyx-toolbox"
version = "1.0.1"
[tool.poetry.dependencies]
click = "^8.0.4"
mike = {version = "^1.1.2", optional = true}
mkdocs = {version = "^1.3.0", optional = true}
mkdocs-material = {version = "^8.2.8", optional = true}
mkdocstrings-python-legacy = {version = "^0.2.2", optional = true}
numpy = "^1.22.3"
pytest = {version = "^7.1.1", optional = true}
pytest-cov = {version = "^3.0.0", optional = true}
python = ">=3.8,<3.10"
scipy = "^1.7.1"
pytkdocs = {extras = ["numpy-style"], version = "^0.16.1", optional = true}
[tool.poetry.dev-dependencies]
flake8 = "^4.0.1"
flake8-docstrings = "^1.6.0"
isort = "^5.10.1"
pre-commit = "^2.17.0"
yapf = "^0.32.0"
[tool.poetry.extras]
docs = ["mkdocs", "mkdocs-material", "mkdocstrings-python-legacy", "mike", "pytkdocs"]
test = ["pytest", "pytest-cov"]
[tool.poetry.scripts]
hktkzyx-electronics = 'hktkzyx_toolbox.scripts.electronics:hktkzyx_electronics'
hktkzyx-finance = 'hktkzyx_toolbox.scripts.finance:hktkzyx_finance'
[tool.pytest.ini_options]
addopts = "--doctest-modules"
testpaths = ["tests", "hktkzyx_toolbox"]
[tool.coverage.run]
source_pkgs = ["hktkzyx_toolbox"]
[tool.commitizen]
name = "cz_conventional_commits"
tag_format = "v$version"
version = "1.0.1"
version_files = ["pyproject.toml:version"]
[build-system]
build-backend = "poetry.core.masonry.api"
requires = ["poetry-core>=1.0.0"]
[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.isort]
profile = "google"