-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpyproject.toml
84 lines (76 loc) · 1.85 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
73
74
75
76
77
78
79
80
81
82
83
84
[tool.poetry]
name = "entity_addict"
version = "1.2.1"
description = "An extended version of [addict](https://github.com/mewwts/addict)."
authors = ["longhao <hal.long@outlook.com>"]
license = "MIT"
homepage = "https://github.com/loonghao/entity_addict"
keywords = ["dict", "addict", "python"]
readme = "README.md"
classifiers = [
"License :: OSI Approved :: MIT License",
"Programming Language :: Python :: 3.6",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: Implementation :: CPython",
]
[tool.poetry.dependencies]
python = "^3.6.1"
addict = "^2.4.0"
[tool.poetry.dev-dependencies]
black = "^19.3b0"
pytest = "^5.0"
flake8 = "^3.6"
pytest-cov = "^3.0"
codecov = "^2.0"
mypy = "^0.770"
isort = "^5.7.0"
pydocstyle = "^5.0.2"
pre-commit = "^2.6.0"
tox = "^3.23.1"
commitizen = "^2.20.0"
[tool.commitizen]
name = "cz_conventional_commits"
version = "1.2.2"
tag_format = "v$version"
[build-system]
requires = ["poetry-core>=1.0.0"]
build-backend = "poetry.core.masonry.api"
version_files = [
"pyproject.toml:version",
"entity_addict/__version__.py"
]
[tool.poetry.build]
generate-setup-file = false
[tool.isort]
# Enforce import section headers.
import_heading_future = "Import future modules"
import_heading_stdlib = "Import built-in modules"
import_heading_thirdparty = "Import third-party modules"
import_heading_firstparty = "Import local modules"
known_first_party = ["entity_addict", "test"]
force_sort_within_sections = true
force_single_line = true
profile = "black"
[tool.black]
line-length = 88
include = '\.pyi?$'
exclude = '''
/(
\.git
| \.hg
| \.mypy_cache
| \.tox
| \.venv
| \.pytest_cache
| venv
| _build
| buck-out
| build
| dist
# The following are specific to Black, you probably don't want those.
| blib2to3
| tests/data
| profiling
)/
'''