-
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.
Merge pull request #25 from daavid00/deb
Updates before the v2024.10 release
- Loading branch information
Showing
69 changed files
with
2,425 additions
and
160 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 |
---|---|---|
@@ -1,16 +1,35 @@ | ||
# Contributing | ||
|
||
Hola hola :). | ||
The following is a set of guidelines for contributing to plopm. | ||
Contributions are more than welcome using the fork and pull request approach 🙂 (if you are not familiar with this approach, please visit [_GitHub Docs PRs_](https://docs.github.com/en/pull-requests/collaborating-with-pull-requests) for an extended documentation about collaborating with pull request; also, looking at previous merged pull requests helps to get familiar with this). | ||
|
||
## Ground Rules | ||
|
||
1. We use Black code formatting | ||
1. We use Pylint | ||
1. We document our code | ||
- We use Black code formatting | ||
- We use Pylint | ||
- We document our code | ||
|
||
## Pull Request Process | ||
## Contribute to the software | ||
|
||
1. Work on your own fork of the main repo | ||
1. Push your commits and make a pull request | ||
1. The changes are merged when your code has been approved | ||
1. In the main repo execute: | ||
1. **pip install -r dev-requirements.txt** (this installs the [_dev-requirements.txt_](https://github.com/cssr-tools/plopm/blob/main/dev-requirements.txt)) | ||
1. **black src/ tests/** (this formats the code) | ||
1. **pylint src/ tests/** (this analyses the code, and might rise issues that need to be fixed before the pull request) | ||
1. **mypy --ignore-missing-imports src/ tests/** (this is a static checker, and might rise issues that need to be fixed before the pull request) | ||
1. **pytest --cov=plopm --cov-report term-missing tests/** (this runs locally the tests, and might rise issues that need to be fixed before the pull request) | ||
1. **pushd docs & make html** (this generates the documentation, and might rise issues that need to be fixed before the pull request; if the build succeeds and if the contribution changes the documentation, then copy all content from the docs/_build/html/ folder and replace the files in the [_docs_](https://github.com/cssr-tools/plopm/tree/main/docs) folder) | ||
* Tip: See the [_CI.yml_](https://github.com/cssr-tools/plopm/blob/main/.github/workflows/CI.yml) script and the [_Actions_](https://github.com/cssr-tools/plopm/actions) for installation of plopm, OPM Flow (binary packages), and dependencies, as well as the execution of the six previous steps in Ubuntu 24.10. | ||
1. Squash your commits into a single commit (see this [_nice tutorial_](https://gist.github.com/lpranam/4ae996b0a4bc37448dc80356efbca7fa) if you are not familiar with this) | ||
1. Push your commit and make a pull request | ||
1. The maintainers will review the pull request, and if the contribution is accepted, then it will be merge to the main repo | ||
|
||
## Reporting issues or problems | ||
|
||
1. Issues or problems can be raised by creating a [_new issue_](https://github.com/cssr-tools/plopm/issues) in the repository GitHub page (if you are not familiar with this approach, please visit [_GitHub Docs Issues_](https://docs.github.com/en/issues/tracking-your-work-with-issues)). | ||
1. We will try to answer as soon as possible, but also any user is more than welcome to answer. | ||
|
||
## Seek support | ||
|
||
1. The preferred approach to seek support is to raise an Issue as described in the previous lines. | ||
1. We will try to answer as soon as possible, but also any user is more than welcome to answer. | ||
- An alternative approach is to send an email to any of the [_mantainers_](https://github.com/cssr-tools/plopm/blob/main/pyproject.toml). |
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,52 @@ | ||
************ | ||
Contributing | ||
************ | ||
|
||
Contributions are more than welcome using the fork and pull request approach 🙂 (if you are not familiar with this approach, | ||
please visit `GitHub Docs PRs <https://docs.github.com/en/pull-requests/collaborating-with-pull-requests>`_ for an extended | ||
documentation about collaborating with pull request; also, looking at previous merged pull requests helps to get familiar with this). | ||
|
||
============ | ||
Ground Rules | ||
============ | ||
|
||
- We use Black code formatting | ||
- We use Pylint | ||
- We document our code | ||
|
||
========================== | ||
Contribute to the software | ||
========================== | ||
|
||
#. Work on your own fork of the main repo | ||
#. In the main repo execute: | ||
|
||
#. **pip install -r dev-requirements.txt** (this installs the `dev-requirements.txt <https://github.com/cssr-tools/plopm/blob/main/dev-requirements.txt>`_) | ||
#. **black src/ tests/** (this formats the code) | ||
#. **pylint src/ tests/** (this analyses the code, and might rise issues that need to be fixed before the pull request) | ||
#. **mypy --ignore-missing-imports src/ tests/** (this is a static checker, and might rise issues that need to be fixed before the pull request) | ||
#. **pytest --cov=plopm --cov-report term-missing tests/** (this runs locally the tests, and might rise issues that need to be fixed before the pull request) | ||
#. **pushd docs & make html** (this generates the documentation, and might rise issues that need to be fixed before the pull request; if the build succeeds and if the contribution changes the documentation, then copy all content from the docs/_build/html/ folder and replace the files in the `docs <https://github.com/cssr-tools/plopm/tree/main/docs>`_ folder) | ||
|
||
.. tip:: | ||
See the `CI.yml <https://github.com/cssr-tools/plopm/blob/main/.github/workflows/CI.yml>`_ script and the `Actions <https://github.com/cssr-tools/plopm/actions>`_ for installation of plopm, OPM Flow (binary packages), and dependencies, as well as the execution of the six previous steps in Ubuntu 24.10. | ||
|
||
#. Squash your commits into a single commit (see this `nice tutorial <https://gist.github.com/lpranam/4ae996b0a4bc37448dc80356efbca7fa>`_ if you are not familiar with this) | ||
#. Push your commit and make a pull request | ||
#. The maintainers will review the pull request, and if the contribution is accepted, then it will be merge to the main repo | ||
|
||
============================ | ||
Reporting issues or problems | ||
============================ | ||
|
||
#. Issues or problems can be raised by creating a `new issue <https://github.com/cssr-tools/plopm/issues>`_ in the repository GitHub page (if you are not familiar with this approach, please visit `GitHub Docs Issues <https://docs.github.com/en/issues/tracking-your-work-with-issues>`_). | ||
#. We will try to answer as soon as possible, but also any user is more than welcome to answer. | ||
|
||
============ | ||
Seek support | ||
============ | ||
|
||
#. The preferred approach to seek support is to raise an Issue as described in the previous lines. | ||
#. We will try to answer as soon as possible, but also any user is more than welcome to answer. | ||
|
||
- An alternative approach is to send an email to any of the `mantainers <https://github.com/cssr-tools/plopm/blob/main/pyproject.toml>`_. |
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 |
---|---|---|
|
@@ -10,6 +10,7 @@ Welcome to plopm's documentation! | |
installation | ||
examples | ||
api | ||
contributing | ||
related | ||
about | ||
|
||
|
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 |
---|---|---|
|
@@ -8,6 +8,7 @@ Subpackages | |
:maxdepth: 4 | ||
|
||
plopm.core | ||
plopm.utils | ||
|
||
Module contents | ||
--------------- | ||
|
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,8 @@ | ||
plopm.utils.initialization module | ||
================================= | ||
|
||
.. automodule:: plopm.utils.initialization | ||
:members: | ||
:undoc-members: | ||
:show-inheritance: | ||
:private-members: |
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,8 @@ | ||
plopm.utils.mapping module | ||
========================== | ||
|
||
.. automodule:: plopm.utils.mapping | ||
:members: | ||
:undoc-members: | ||
:show-inheritance: | ||
:private-members: |
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,8 @@ | ||
plopm.utils.readers module | ||
========================== | ||
|
||
.. automodule:: plopm.utils.readers | ||
:members: | ||
:undoc-members: | ||
:show-inheritance: | ||
:private-members: |
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,23 @@ | ||
plopm.utils package | ||
=================== | ||
|
||
Submodules | ||
---------- | ||
|
||
.. toctree:: | ||
:maxdepth: 4 | ||
|
||
plopm.utils.initialization | ||
plopm.utils.mapping | ||
plopm.utils.readers | ||
plopm.utils.vtk | ||
plopm.utils.write | ||
|
||
Module contents | ||
--------------- | ||
|
||
.. automodule:: plopm.utils | ||
:members: | ||
:undoc-members: | ||
:show-inheritance: | ||
:private-members: |
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,8 @@ | ||
plopm.utils.vtk module | ||
====================== | ||
|
||
.. automodule:: plopm.utils.vtk | ||
:members: | ||
:undoc-members: | ||
:show-inheritance: | ||
:private-members: |
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,8 @@ | ||
plopm.utils.write module | ||
======================== | ||
|
||
.. automodule:: plopm.utils.write | ||
:members: | ||
:undoc-members: | ||
:show-inheritance: | ||
:private-members: |
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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
Oops, something went wrong.