-
Notifications
You must be signed in to change notification settings - Fork 17
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
- Loading branch information
1 parent
55ca02d
commit a4cdb70
Showing
20 changed files
with
808 additions
and
545 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
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 |
---|---|---|
|
@@ -22,3 +22,7 @@ __pycache__/ | |
# IDEs | ||
/.idea/ | ||
/.vscode/ | ||
|
||
# docs | ||
/docs/generated/ | ||
/docs/_build/ |
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,28 @@ | ||
[mypy] | ||
python_version = 3.9 | ||
plugins = numpy.typing.mypy_plugin | ||
|
||
ignore_errors = False | ||
warn_redundant_casts = True | ||
warn_unused_configs = True | ||
warn_unused_ignores = True | ||
|
||
disallow_untyped_calls = False | ||
disallow_untyped_defs = True | ||
disallow_incomplete_defs = True | ||
disallow_any_generics = True | ||
|
||
strict_optional = True | ||
strict_equality = True | ||
warn_return_any = True | ||
warn_unreachable = False | ||
check_untyped_defs = True | ||
; because of docrep | ||
allow_untyped_decorators = True | ||
no_implicit_optional = True | ||
no_implicit_reexport = True | ||
no_warn_no_return = True | ||
|
||
show_error_codes = True | ||
show_column_numbers = True | ||
error_summary = 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 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,75 @@ | ||
{{ fullname | escape | underline}} | ||
|
||
.. currentmodule:: {{ module }} | ||
|
||
.. add toctree option to make autodoc generate the pages | ||
.. autoclass:: {{ objname }} | ||
|
||
{% block attributes %} | ||
{% if attributes %} | ||
Attributes table | ||
~~~~~~~~~~~~~~~~~~ | ||
|
||
.. autosummary:: | ||
|
||
{% for item in attributes %} | ||
|
||
~{{ fullname }}.{{ item }} | ||
|
||
{%- endfor %} | ||
{% endif %} | ||
{% endblock %} | ||
|
||
{% block methods %} | ||
{% if methods %} | ||
Methods table | ||
~~~~~~~~~~~~~ | ||
|
||
.. autosummary:: | ||
|
||
{% for item in methods %} | ||
|
||
{%- if item != '__init__' %} | ||
~{{ fullname }}.{{ item }} | ||
{%- endif -%} | ||
|
||
{%- endfor %} | ||
{% endif %} | ||
{% endblock %} | ||
|
||
{% block attributes_documentation %} | ||
{% if attributes %} | ||
Attributes | ||
~~~~~~~~~~~ | ||
|
||
{% for item in attributes %} | ||
|
||
{{ item }} | ||
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | ||
|
||
.. autoattribute:: {{ [objname, item] | join(".") }} | ||
|
||
{%- endfor %} | ||
|
||
{% endif %} | ||
{% endblock %} | ||
|
||
{% block methods_documentation %} | ||
{% if methods %} | ||
Methods | ||
~~~~~~~ | ||
|
||
{% for item in methods %} | ||
{%- if item != '__init__' %} | ||
|
||
{{ item }} | ||
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | ||
|
||
.. automethod:: {{ [objname, item] | join(".") }} | ||
|
||
{%- endif -%} | ||
{%- endfor %} | ||
|
||
{% endif %} | ||
{% endblock %} |
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,37 +1,7 @@ | ||
# API | ||
|
||
## Preprocessing | ||
## Coming soon | ||
|
||
```{eval-rst} | ||
.. module:: spatialdata_io.pp | ||
.. currentmodule:: spatialdata_io | ||
.. autosummary:: | ||
:toctree: generated | ||
pp.basic_preproc | ||
``` | ||
|
||
## Tools | ||
|
||
```{eval-rst} | ||
.. module:: spatialdata_io.tl | ||
.. currentmodule:: spatialdata_io | ||
.. autosummary:: | ||
:toctree: generated | ||
tl.basic_tool | ||
``` | ||
|
||
## Plotting | ||
|
||
```{eval-rst} | ||
.. module:: spatialdata_io.pl | ||
.. currentmodule:: spatialdata_io | ||
.. autosummary:: | ||
:toctree: generated | ||
pl.basic_plot | ||
``` |
Oops, something went wrong.