-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpyproject.toml
58 lines (52 loc) · 1.8 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
[project]
name = 'connectome'
dynamic = ['version', 'dependencies']
description = 'A library for datasets containing heterogeneous data'
readme = 'README.md'
requires-python = '>=3.7'
license = { file = 'LICENSE' }
keywords = ['dag', 'dataset', 'cache', 'consistency']
authors = [
{ name = 'NeuroML Group', email = '[email protected]' }
]
classifiers = [
'Development Status :: 4 - Beta',
'License :: OSI Approved :: Apache Software License',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.7',
'Programming Language :: Python :: 3.8',
'Programming Language :: Python :: 3.9',
'Programming Language :: Python :: 3.10',
'Programming Language :: Python :: 3.11',
'Programming Language :: Python :: 3 :: Only',
]
[project.urls]
'Homepage' = 'https://github.com/neuro-ml/connectome'
'Issues' = 'https://github.com/neuro-ml/connectome/issues'
'Source' = 'https://github.com/neuro-ml/connectome'
'Docs' = 'https://neuro-ml.github.io/connectome'
[build-system]
requires = ['setuptools>=43.0.0', 'wheel']
build-backend = 'setuptools.build_meta'
[tool.setuptools.packages.find]
include = ['connectome']
[tool.setuptools.dynamic]
version = { attr = 'connectome.__version__.__version__' }
dependencies = { file = ['requirements.txt'] }
[tool.flake8]
# W503: line break before binary operator is actually considered best-practice
# E203: spaces around complex variables in slices are pep-right
# F401: unused imports in __init__.py-s
# I251: allow absolute imports in upper files
# B028: !r is not supported for python<3.8
ignore = ['W503', 'E203', 'B028']
per-file-ignores = [
'**/__init__.py:F401',
'tests/*:I251',
]
max-line-length = 120
banned-modules = 'connectome.* = Use relative imports'
[tool.isort]
line_length = 120
profile = 'black'
combine_as_imports = true