-
Notifications
You must be signed in to change notification settings - Fork 3
/
pyproject.toml
106 lines (94 loc) · 2.56 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
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
[tool.poetry]
name = "zarr-checksum"
version = "0.4.2"
description = "Checksum support for zarrs stored in various backends"
readme="README.md"
homepage="https://github.com/dandi/zarr_checksum"
repository="https://github.com/dandi/zarr_checksum"
authors = ["Kitware, Inc. <[email protected]>"]
license = "Apache-2.0"
[tool.poetry.scripts]
zarrsum = "zarr_checksum.cli:cli"
[tool.poetry.dependencies]
python = "^3.7"
click = "^8.1.3"
tqdm = "^4.64.1"
# Optional
boto3 = {version = "^1.24", optional = true}
boto3-stubs = {version = "^1.24", optional = true}
black = {version = "^23.3.0", optional = true}
isort = {version = "^5.11.4", optional = true}
flake8 = {version = "^5.0.4", optional = true}
flake8-black = {version = "^0.3.6", optional = true}
flake8-bugbear = {version = "^23.1.20", optional = true}
flake8-docstrings = {version = "^1.7.0", optional = true}
flake8-isort = {version = "^6.0.0", optional = true}
flake8-quotes = {version = "^3.3.2", optional = true}
pep8-naming = {version = "^0.13.3", optional = true}
pytest = {version = "^7.2.1", optional = true}
zarr = {version = "^2.12", optional = true}
[tool.poetry.extras]
boto = ["boto3"]
zarr = ["zarr"]
test = ["pytest"]
format = ["black", "isort"]
lint = [
"flake8",
"flake8-black",
"flake8-bugbear",
"flake8-docstrings",
"flake8-isort",
"flake8-quotes",
"pep8-naming"
]
dev = [
"boto3-stubs",
"black",
"isort",
"flake8",
"flake8-black",
"flake8-bugbear",
"flake8-docstrings",
"flake8-isort",
"flake8-quotes",
"pep8-naming",
]
[build-system]
requires = ["poetry-core>=1.0.0"]
build-backend = "poetry.core.masonry.api"
[tool.isort]
profile = "black"
line_length = 100
# Sort by name, don't cluster "from" vs "import"
force_sort_within_sections = true
# Combines "as" imports on the same line
combine_as_imports = true
[tool.black]
line-length = 100
target-version = ["py38"]
exclude='\.eggs|\.git|\.mypy_cache|\.tox|\.venv|_build|buck-out|build|dist'
[tool.codespell]
skip = '.git,*.pdf,*.svg,poetry.lock'
#
# ignore-words-list = ''
[tool.mypy]
allow_incomplete_defs = false
allow_untyped_defs = false
ignore_missing_imports = false
# <https://github.com/python/mypy/issues/7773>:
no_implicit_optional = true
implicit_reexport = false
local_partial_types = true
pretty = true
show_error_codes = true
show_traceback = true
strict_equality = true
warn_redundant_casts = true
warn_return_any = true
warn_unreachable = true
[[tool.mypy.overrides]]
module = [
# <https://github.com/zarr-developers/zarr-python/issues/1566>
"zarr.*",
]
ignore_missing_imports = true