-
Notifications
You must be signed in to change notification settings - Fork 29
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use safe_concat function from brainglobe-utils (#148)
* Use safe_concat function from brainglobe-utils * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * Remove py3.8 support, since brainglobe-utils is now a hard dependency --------- Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> Co-authored-by: willGraham01 <[email protected]>
- Loading branch information
1 parent
ab18739
commit 4c0e2d3
Showing
5 changed files
with
9 additions
and
72 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,7 +3,7 @@ name = "brainreg" | |
description = "Automated 3D brain registration" | ||
readme = "README.md" | ||
authors = [ | ||
{name = "Adam Tyson, Charly Rousseau", email = "[email protected]"}, | ||
{ name = "Adam Tyson, Charly Rousseau", email = "[email protected]" }, | ||
] | ||
classifiers = [ | ||
"Development Status :: 3 - Alpha", | ||
|
@@ -16,13 +16,13 @@ classifiers = [ | |
"Programming Language :: Python :: 3.10", | ||
"Programming Language :: Python :: 3.11", | ||
] | ||
requires-python = ">=3.8" | ||
requires-python = ">=3.9" | ||
dependencies = [ | ||
"bg-atlasapi", | ||
"bg-space", | ||
"fancylog", | ||
"imio", | ||
"brainglobe-utils", | ||
"brainglobe-utils>=0.2.7", | ||
"numpy", | ||
"scikit-image", | ||
] | ||
|
@@ -35,22 +35,13 @@ napari = [ | |
"brainreg-segment>=0.0.2", | ||
"napari[pyside2]", | ||
] | ||
dev = [ | ||
"black", | ||
"pre-commit", | ||
"pytest", | ||
"pytest-cov", | ||
] | ||
dev = ["black", "pre-commit", "pytest", "pytest-cov"] | ||
|
||
[project.scripts] | ||
brainreg = "brainreg.cli:main" | ||
|
||
[build-system] | ||
requires = [ | ||
"setuptools>=45", | ||
"wheel", | ||
"setuptools_scm[toml]>=6.2", | ||
] | ||
requires = ["setuptools>=45", "wheel", "setuptools_scm[toml]>=6.2"] | ||
build-backend = "setuptools.build_meta" | ||
|
||
[tool.setuptools] | ||
|
@@ -72,11 +63,9 @@ filterwarnings = [ | |
"ignore:`np.uint0` is a deprecated alias for `np.uintp`", | ||
"ignore:`np.void0` is a deprecated alias for `np.void`", | ||
"ignore:`np.bytes0` is a deprecated alias for `np.bytes_`", | ||
"ignore:`np.str0` is a deprecated alias for `np.str_`" | ||
] | ||
markers = [ | ||
"slow: marks tests as slow (deselect with '-m \"not slow\"')", | ||
"ignore:`np.str0` is a deprecated alias for `np.str_`", | ||
] | ||
markers = ["slow: marks tests as slow (deselect with '-m \"not slow\"')"] | ||
|
||
[tool.black] | ||
target-version = ['py38', 'py39', 'py310', 'py311'] | ||
|
@@ -85,6 +74,6 @@ line-length = 79 | |
|
||
[tool.ruff] | ||
line-length = 79 | ||
exclude = ["__init__.py","build",".eggs"] | ||
exclude = ["__init__.py", "build", ".eggs"] | ||
select = ["I", "E", "F"] | ||
fix = true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.