-
Notifications
You must be signed in to change notification settings - Fork 7
API reference #47
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
API reference #47
Changes from all commits
Commits
Show all changes
29 commits
Select commit
Hold shift + click to select a range
6d4999a
Provide version information
VeckoTheGecko c1b851e
Build API documentation
VeckoTheGecko cc091cb
Configure Ruff, add pre-commit, remove flake isort and pydocstyle
VeckoTheGecko e3ce363
Remove linting workflow
VeckoTheGecko 5da39de
Updating readme to include community guidelines
michaeldenes 0d1756b
Updating documentation of constructors.py for API function list
michaeldenes 3666670
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] a52a9fe
Updates to docstrings, stokes, wind, settling.
michaeldenes 60622ad
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] 817e236
Updates to biofouling kernel docstrings
michaeldenes f34dae6
Some updates to docstrings, still to complete
michaeldenes 83bddc1
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] 764f0d0
Cleaning up docstrings for all kernels.
michaeldenes dff0cd4
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] 06b2601
Update docstrings in utils file
michaeldenes b1b6641
Cleaning up the docstrings and reformatting the mathematics
michaeldenes a94c404
FIxing up docstring math
michaeldenes b8603e6
Swapping a ' for a `
michaeldenes 8c655cf
Swapping another ' for a `
michaeldenes b7052df
More ` for ', and fixing biofouling math docstring to read correctly …
michaeldenes dcda85c
Cleaning up the docstrings
michaeldenes 3ba8fe6
Formatting fixes for docstrings
michaeldenes 6b52cc3
Adding community guidelines text to main documentation page
michaeldenes 91a6973
Updating documentation index page
michaeldenes 9dc75fe
Fixes to link formatting on index page
michaeldenes 12a1fcd
Updating docstring for dataset download
michaeldenes 84e2d0a
Minor update to docstring
michaeldenes 55ace59
Ignore D100 warning for linting.
michaeldenes 7e419d3
Update API structure and Ruff lint ignore
VeckoTheGecko File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains hidden or 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 hidden or 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,16 @@ | ||
| repos: | ||
| - repo: https://github.com/pre-commit/pre-commit-hooks | ||
| rev: v4.6.0 | ||
| hooks: | ||
| - id: trailing-whitespace | ||
| # - id: end-of-file-fixer | ||
| - id: check-yaml | ||
| - id: check-json | ||
| types: [text] | ||
| files: \.(json|ipynb)$ | ||
| - repo: https://github.com/astral-sh/ruff-pre-commit | ||
| rev: v0.5.6 | ||
| hooks: | ||
| - id: ruff | ||
| args: [ --fix ] | ||
| # - id: ruff-format |
This file contains hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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,6 @@ | ||
| plasticparcels.constructors | ||
| --------------------------- | ||
|
|
||
| .. automodule:: plasticparcels.constructors | ||
| :members: | ||
| :show-inheritance: yes |
This file contains hidden or 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,10 @@ | ||
| API | ||
| === | ||
|
|
||
| .. toctree:: | ||
| :maxdepth: 2 | ||
|
|
||
| plasticparcels.constructors <constructurs> | ||
| plasticparcels.kernels <kernels> | ||
| plasticparcels.particlefile <particlefile> | ||
| plasticparcels.utils <utils> |
This file contains hidden or 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,6 @@ | ||
| plasticparcels.kernels | ||
| --------------------------- | ||
|
|
||
| .. automodule:: plasticparcels.kernels | ||
| :members: | ||
| :show-inheritance: yes |
This file contains hidden or 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,6 @@ | ||
| plasticparcels.particlefile | ||
| --------------------------- | ||
|
|
||
| .. automodule:: plasticparcels.particlefile | ||
| :members: | ||
| :show-inheritance: yes |
This file contains hidden or 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,6 @@ | ||
| plasticparcels.utils | ||
| --------------------------- | ||
|
|
||
| .. automodule:: plasticparcels.utils | ||
| :members: | ||
| :show-inheritance: yes |
This file contains hidden or 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 |
|---|---|---|
|
|
@@ -9,3 +9,4 @@ dependencies: | |
| # Testing | ||
| - pytest | ||
| - coverage | ||
| - pre_commit | ||
This file contains hidden or 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,3 +1,5 @@ | ||
| from plasticparcels.constructors import * # noqa | ||
| from plasticparcels.particlefile import * # noqa | ||
| from plasticparcels.utils import * # noqa | ||
|
|
||
| from plasticparcels._version_setup import __version__, __version_tuple__ # noqa |
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.