forked from datajoint/datajoint-python
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
141 lines (128 loc) · 3.74 KB
/
pyproject.toml
File metadata and controls
141 lines (128 loc) · 3.74 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
[build-system]
requires = ["setuptools>=60"]
build-backend = "setuptools.build_meta"
[project]
name = "datajoint"
# dynamically set in tools.setuptools.dynamic
dynamic = ["version"]
dependencies = [
"numpy",
"pymysql>=0.7.2",
"deepdiff",
"pyparsing",
"ipython",
"pandas",
"tqdm",
"networkx",
"pydot",
"minio>=7.0.0",
"matplotlib",
"faker",
"urllib3",
"setuptools",
]
requires-python = ">=3.9,<4.0"
authors = [
{name = "Dimitri Yatsenko", email = "dimitri@datajoint.com"},
{name = "Thinh Nguyen", email = "thinh@datajoint.com"},
{name = "Raphael Guzman"},
{name = "Edgar Walker"},
{name = "DataJoint Contributors", email = "support@datajoint.com"},
]
maintainers = [
{name = "Dimitri Yatsenko", email = "dimitri@datajoint.com"},
{name = "DataJoint Contributors", email = "support@datajoint.com"},
]
# manually sync here: https://docs.datajoint.com/core/datajoint-python/latest/#welcome-to-datajoint-for-python
description = "DataJoint for Python is a framework for scientific workflow management based on relational principles. DataJoint is built on the foundation of the relational data model and prescribes a consistent method for organizing, populating, computing, and querying data."
readme = "README.md"
license = {file = "LICENSE.txt"}
keywords = [
"database",
"automated",
"automation",
"compute",
"data",
"pipeline",
"workflow",
"scientific",
"science",
"research",
"neuroscience",
"bioinformatics",
"bio-informatics",
"datajoint",
]
# https://pypi.org/classifiers/
classifiers = [
"Programming Language :: Python",
"Development Status :: 5 - Production/Stable",
"Intended Audience :: Science/Research",
"Intended Audience :: Healthcare Industry",
"License :: OSI Approved :: GNU Lesser General Public License v2 or later (LGPLv2+)",
"Topic :: Software Development :: Libraries :: Python Modules",
"Topic :: Scientific/Engineering",
"Topic :: Scientific/Engineering :: Bio-Informatics",
"Topic :: Scientific/Engineering :: Artificial Intelligence",
]
[project.urls]
Homepage = "https://docs.datajoint.com/"
Documentation = "https://docs.datajoint.com/"
Repository = "https://github.com/datajoint/datajoint-python"
"Bug Tracker" = "https://github.com/datajoint/datajoint-python/issues"
"Release Notes" = "https://github.com/datajoint/datajoint-python/releases"
[project.entry-points."console_scripts"]
dj = "datajoint.cli:cli"
datajoint = "datajoint.cli:cli"
[project.optional-dependencies]
test = [
"pytest",
"pytest-cov",
]
dev = [
"pre-commit",
"ruff",
"codespell",
# including test
"pytest",
"pytest-cov",
]
[tool.ruff]
# Equivalent to flake8 configuration
line-length = 127
target-version = "py39"
[tool.ruff.lint]
# Enable specific rule sets equivalent to flake8 configuration
select = [
"E", # pycodestyle errors
"W", # pycodestyle warnings
"F", # pyflakes
"C90", # mccabe complexity
]
# Ignore specific rules (equivalent to flake8 --ignore)
ignore = [
"E203", # whitespace before ':'
"E722", # bare except
]
# Per-file ignores (equivalent to flake8 --per-file-ignores)
[tool.ruff.lint.per-file-ignores]
"datajoint/diagram.py" = ["C901"] # function too complex
[tool.ruff.lint.mccabe]
# Maximum complexity (equivalent to flake8 --max-complexity)
max-complexity = 62
[tool.ruff.format]
# Use black-compatible formatting
quote-style = "double"
indent-style = "space"
line-ending = "auto"
[tool.setuptools]
packages = ["datajoint"]
package-dir = {"" = "src"}
[tool.setuptools.dynamic]
version = { attr = "datajoint.version.__version__"}
[tool.codespell]
skip = ".git,*.pdf,*.svg,*.csv,*.ipynb,*.drawio"
# Rever -- nobody knows
# numer -- numerator variable
# astroid -- Python library name (not "asteroid")
ignore-words-list = "rever,numer,astroid"