-
Notifications
You must be signed in to change notification settings - Fork 7
Expand file tree
/
Copy pathsetup.cfg
More file actions
141 lines (127 loc) · 3.09 KB
/
Copy pathsetup.cfg
File metadata and controls
141 lines (127 loc) · 3.09 KB
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
[metadata]
name = cect
version = attr: cect.__version__
description = C. elegans Connectome Toolbox
long_description = file: README.md
long_description_content_type = text/markdown
url = https://github.com/openworm/ConnectomeToolbox
author = OpenWorm contributors
author_email = p.gleeson@gmail.com
maintainer = Padraig Gleeson
maintainer_email = p.gleeson@gmail.com
license = LGPLv3
license_files = LICENSE
classifiers =
Intended Audience :: Science/Research
License :: OSI Approved :: GNU Lesser General Public License v3 (LGPLv3)
Natural Language :: English
Operating System :: OS Independent
Topic :: Scientific/Engineering
Intended Audience :: Science/Research
Programming Language :: Python
Programming Language :: Python :: 3
Programming Language :: Python :: 3 :: Only
Programming Language :: Python :: 3.8
Programming Language :: Python :: 3.9
Programming Language :: Python :: 3.10
Programming Language :: Python :: 3.11
Programming Language :: Python :: 3.12
Topic :: Scientific/Engineering
Topic :: Software Development
Typing :: Typed
[options]
packages = find_namespace:
install_requires =
numpy<2.4 # Issue with numpy 2.4 & wormneuroatlas... see also see https://github.com/OpenSourceBrain/osb-model-validation/issues/150
xlrd
openpyxl
wormneuroatlas
networkx
hiveplotlib<=0.25.1
webcolors
pyneuroml
plotly < 6.0.0 # V6 breaks the matrix and hiveplot graphs...
python_requires = >=3.7
include_package_data = True
[options.package_data]
* = data/**/*
cache/*
[options.extras_require]
test =
pytest
pytest-benchmark
pytest-mock
typing_extensions; python_version<'3.8'
docs =
pandas
tabulate
mkdocs
mkdocs-material
mkdocs-plotly-plugin
mkdocs-charts-plugin
mkdocs-autoapi[python] >= 0.3.1
mkdocs-jupyter
kaleido < 0.4
dev =
flake8
cect[test]
pre-commit
tabulate
ruff
all =
cect[test]
cect[docs]
cect[dev]
[tool:pytest]
junit_family = xunit2
addopts = --benchmark-disable -Wd --strict-markers
xfail_strict = True
testpaths =
tests
required_plugins =
pytest-benchmark
[tool:isort]
profile = black
multi_line_output = 3
[flake8]
max-line-length = 80
max-complexity = 13
select = C, E, F, W, B, B9, T
ignore = E203, E231, E501, E722, W503, B950
per-file-ignores =
tests/*: T
examples/*: T
notebooks/*: T
docs/*: T
scripts/*: T
setup.py: T
setup_helpers.py: C901
[mypy]
warn_unused_configs = True
files = src
disallow_any_generics = True
disallow_subclassing_any = True
disallow_untyped_calls = True
disallow_untyped_defs = True
disallow_incomplete_defs = True
check_untyped_defs = True
disallow_untyped_decorators = True
no_implicit_optional = True
warn_redundant_casts = True
warn_unused_ignores = True
warn_return_any = True
no_implicit_reexport = True
strict_equality = True
[check-manifest]
ignore =
.all-contributorsrc
.pre-commit-config.yaml
.readthedocs.yml
examples/**
notebooks/**
docs/**
scripts/**
dev-requirements.txt
CONTRIBUTING.md
*.html
tests/.pytest_cache/**