-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
12 changed files
with
197 additions
and
188 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 |
---|---|---|
@@ -0,0 +1,9 @@ | ||
<!-- This file is a placeholder for customizing description of your plugin | ||
on the napari hub if you wish. The readme file will be used by default if | ||
you wish not to do any customization for the napari hub listing. | ||
If you need some help writing a good description, check out our | ||
[guide](https://github.com/chanzuckerberg/napari-hub/wiki/Writing-the-Perfect-Description-for-your-Plugin) | ||
--> | ||
|
||
The developer has not yet provided a napari-hub specific description. |
This file was deleted.
Oops, something went wrong.
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 |
---|---|---|
@@ -1,6 +1,5 @@ | ||
include LICENSE | ||
include README.md | ||
include requirements.txt | ||
|
||
recursive-exclude * __pycache__ | ||
recursive-exclude * *.py[co] |
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 |
---|---|---|
@@ -0,0 +1,58 @@ | ||
[build-system] | ||
requires = ["setuptools>=42.0.0", "wheel", "setuptools_scm"] | ||
build-backend = "setuptools.build_meta" | ||
|
||
|
||
[tool.setuptools_scm] | ||
write_to = "src/napari_3d_ortho_viewer/_version.py" | ||
|
||
[tool.black] | ||
line-length = 79 | ||
target-version = ['py38', 'py39', 'py310'] | ||
|
||
|
||
[tool.ruff] | ||
line-length = 79 | ||
select = [ | ||
"E", "F", "W", #flake8 | ||
"UP", # pyupgrade | ||
"I", # isort | ||
"BLE", # flake8-blind-exception | ||
"B", # flake8-bugbear | ||
"A", # flake8-builtins | ||
"C4", # flake8-comprehensions | ||
"ISC", # flake8-implicit-str-concat | ||
"G", # flake8-logging-format | ||
"PIE", # flake8-pie | ||
"SIM", # flake8-simplify | ||
] | ||
ignore = [ | ||
"E501", # line too long. let black handle this | ||
"UP006", "UP007", # type annotation. As using magicgui require runtime type annotation then we disable this. | ||
"SIM117", # flake8-simplify - some of merged with statements are not looking great with black, reanble after drop python 3.9 | ||
] | ||
|
||
exclude = [ | ||
".bzr", | ||
".direnv", | ||
".eggs", | ||
".git", | ||
".mypy_cache", | ||
".pants.d", | ||
".ruff_cache", | ||
".svn", | ||
".tox", | ||
".venv", | ||
"__pypackages__", | ||
"_build", | ||
"buck-out", | ||
"build", | ||
"dist", | ||
"node_modules", | ||
"venv", | ||
"*vendored*", | ||
"*_vendor*", | ||
] | ||
|
||
target-version = "py38" | ||
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,15 @@ | ||
__version__ = "0.0.1" | ||
try: | ||
from ._version import version as __version__ | ||
except ImportError: | ||
__version__ = "unknown" | ||
|
||
|
||
from ._dock_widget import napari_experimental_provide_dock_widget | ||
from ._crop_dock_list_widget import napari_register_crop_list_dock_widget | ||
from ._crop_dock_widget import napari_register_crop_dock_widget | ||
from ._dock_widget import OrthoViewerWidget | ||
from ._crop_dock_list_widget import CropListLabelsWidget | ||
from ._crop_dock_widget import CropLabelsWidget | ||
|
||
__all__ = ( | ||
"OrthoViewerWidget", | ||
"CropListLabelsWidget", | ||
"CropLabelsWidget", | ||
) |
Oops, something went wrong.