Skip to content

Commit 7288fdc

Browse files
Merge pull request #189 from scverse/refactoring/modules_hierarcy
Module hierarchy refactoring
2 parents ff458c8 + d95f77e commit 7288fdc

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

77 files changed

+2058
-1979
lines changed

.flake8

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ per-file-ignores =
4747
tests/*: D
4848
*/__init__.py: F401
4949
# Ignore for compat checks at top of file
50-
spatialdata/__init__.py: E402
50+
src/spatialdata/__init__.py: E402
5151
# TODO: this file is weird, but it's not actually causing a bug and fixing it is
5252
# signifigantly harder than ignoring it
53-
spatialdata/_constants/_enum.py: B024
53+
src/spatialdata/_constants/_enum.py: B024

.gitignore

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,6 @@ __pycache__/
2525
.vscode
2626

2727
# data
28-
spatialdata-sandbox
2928
*.zarr/
3029

3130
# temp files
@@ -38,6 +37,8 @@ docs/generated
3837
napari-spatialdata
3938
spatialdata-io
4039
spatialdata-notebooks
40+
spatialdata-plot
41+
spatialdata-sandbox
4142

4243
# notebooks
4344
*.ipynb

.pre-commit-config.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,8 +28,8 @@ repos:
2828
rev: v1.1.1
2929
hooks:
3030
- id: mypy
31-
additional_dependencies: [numpy==1.24, types-requests]
32-
exclude: tests/|docs/|temp/|spatialdata/_core/reader.py
31+
additional_dependencies: [numpy, types-requests]
32+
exclude: tests/|docs/|temp/
3333
- repo: https://github.com/asottile/yesqa
3434
rev: v1.4.0
3535
hooks:

spatialdata/__init__.py

Lines changed: 0 additions & 50 deletions
This file was deleted.

spatialdata/__main__.py

Lines changed: 0 additions & 36 deletions
This file was deleted.

spatialdata/_constants/_constants.py

Lines changed: 0 additions & 15 deletions
This file was deleted.

spatialdata/_constants/_enum.py

Lines changed: 0 additions & 69 deletions
This file was deleted.

spatialdata/_core/__init__.py

Lines changed: 0 additions & 1 deletion
This file was deleted.

0 commit comments

Comments
 (0)