-
Notifications
You must be signed in to change notification settings - Fork 8
/
pyproject.toml
141 lines (123 loc) · 2.75 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
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
[build-system]
requires = ['flit_core>=3.4,<4']
build-backend = 'flit_core.buildapi'
[project]
name = 'disk_objectstore'
dynamic = ['description', 'version']
authors = [
{name = 'Giovanni Pizzi'},
{name = 'Chris Sewell'},
{name = 'Sebastiaan P. Huber'}
]
readme = 'README.md'
license = {file = 'LICENSE.txt'}
classifiers = [
'Development Status :: 5 - Production/Stable',
'License :: OSI Approved :: MIT License',
'Operating System :: MacOS :: MacOS X',
'Operating System :: Microsoft :: Windows',
'Operating System :: POSIX :: Linux',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.8',
'Programming Language :: Python :: 3.9',
'Programming Language :: Python :: 3.10',
'Programming Language :: Python :: 3.11',
'Programming Language :: Python :: Implementation :: CPython',
'Topic :: Software Development :: Libraries :: Python Modules',
]
keywords = ['object store', 'repository', 'file store', 'key-value store']
requires-python = '>=3.8'
dependencies = [
'click',
'sqlalchemy>=1.4.22',
]
[project.urls]
Source = 'https://github.com/aiidateam/disk-objectstore'
[project.optional-dependencies]
dev = [
'coverage',
'pre-commit',
'pytest',
'pytest-benchmark',
'pytest-cov',
]
docs = [
'jinja2<3.1',
'myst-parser~=0.15.0',
'sphinx~=3.5.4',
'sphinx-book-theme~=0.1.2',
'sphinx-panels~=0.5.2',
'sphinxext-rediraffe~=0.2.7',
]
examples = [
'memory-profiler',
'profilehooks',
'psutil',
'pywin32;platform_system == "Windows"',
]
progressbar = [
'tqdm',
]
optionaltests = [
'h5py',
'numpy',
]
[project.scripts]
dostore = 'disk_objectstore.cli:main'
[tool.flit.module]
name = 'disk_objectstore'
[tool.flit.sdist]
exclude = [
'.github/',
'.gitignore',
'.pre-commit-config.yaml',
'docs/',
'tests/',
]
[tool.flynt]
line-length = 120
fail-on-change = true
[tool.isort]
profile = 'black'
src_paths = ['disk_objectstore', 'tests']
[tool.mypy]
show_error_codes = true
check_untyped_defs = true
scripts_are_modules = true
warn_redundant_casts = true
plugins = ['sqlalchemy.ext.mypy.plugin']
[tool.pylint.format]
max-line-length = 120
max-args = 6
[tool.pylint.messages_control]
disable = [
'duplicate-code',
'too-few-public-methods',
'unspecified-encoding'
]
[tool.pylint.basic]
good-names = []
docstring-min-length = 5
[tool.pylint.design]
max-locals = 20
[tool.tox]
legacy_tox_ini = """
[tox]
envlist = py38
[testenv]
usedevelop = true
[testenv:py{38,39,310}]
description = Run unit tests with this Python version
extras =
examples
dev
optionaltests
deps =
black
setenv =
SQLALCHEMY_WARN_20 = 1
commands = pytest {posargs}
[testenv:cli]
description = Run CLI
commands = dostore {posargs}
"""