-
Notifications
You must be signed in to change notification settings - Fork 0
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
47 changed files
with
945 additions
and
103 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,49 @@ | ||
Code of Conduct | ||
=============== | ||
|
||
- Be friendly and patient | ||
- Be respectful | ||
- Be welcoming | ||
- Be considerate | ||
- Focus on what's best for the community | ||
- Gracefully accept constructive criticism | ||
- Show courtesy and respect towards other community members | ||
- Be respectful of different viewpoints and experiences | ||
- Use welcoming and inclusive language | ||
|
||
Reporting an issue | ||
------------------ | ||
If you see a violation of the code of conduct, please report it to anyone belonging to the [BioRetroSynth organization](https://github.com/orgs/brsynth/people). If the person who is harassing you belongs to the team, he will recuse himself from handling your incident. We will respond as promptly as we can. | ||
To protect volunteers from abuse and burnout, we reserve the right to reject any report we believe to have been made with the deliberate intention of deceiving or misleading the committee. | ||
|
||
Enforcement | ||
----------- | ||
Upon receiving a report, the Maintainer core team will meet privately to discuss | ||
the matter and determine the best course of action. | ||
|
||
Possible responses may include: | ||
|
||
- taking no further action (if we determine no violation occurred) | ||
- a private reprimand from the core members to the individual(s) involved. In | ||
this case, a core member will deliver that reprimand via email, copying the | ||
rest of the core. | ||
- a public reprimand. In this case a core member will deliver the reprimand via | ||
the same channel as the violation occurred (e.g., via comment on PR or issue) | ||
- an imposed vacation (e.g., asking the individual to refrain from participating | ||
for a week). A core member will deliver a request for the individual to take | ||
such a "vacation" voluntarily, but if they don't disagree then a temporary | ||
ban may be imposed. | ||
- a permanent or temporary ban from the repository | ||
|
||
Once a resolution is agreed upon, but before it is enacted, the core will | ||
contact the original reporter and discuss the resolution and will note any | ||
feedback for the record, but is not obligated to act on such feedback. | ||
|
||
The core will never publicly discuss the issue; any public statements will be | ||
made by core members. | ||
|
||
If the incident involves a core member, the core member must recuse themselves | ||
from the response process. | ||
|
||
This policy was modified from | ||
`django project <https://www.djangoproject.com/conduct/enforcement-manual>`_ |
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,65 @@ | ||
Contributing | ||
============ | ||
|
||
Contributions are welcome, and they are greatly appreciated! Every little bit helps, and credit will always be given. | ||
|
||
Ways you can help | ||
----------------- | ||
|
||
Report Bugs | ||
~~~~~~~~~~~ | ||
|
||
Report bugs at https://github.com/brsynth/neo4jsbml/issues. | ||
|
||
If you are reporting a bug, please include: | ||
|
||
* Your operating system name and version, versions of Neo4j and SBML specification. | ||
* Any details about your local setup that might be helpful in troubleshooting. | ||
* Detailed steps to reproduce the bug. | ||
|
||
Fix Bugs | ||
~~~~~~~~ | ||
|
||
Look through the GitHub issues for bugs. Anything tagged with "bug" | ||
is open to whoever wants to implement it. | ||
|
||
Implement Features | ||
~~~~~~~~~~~~~~~~~~ | ||
|
||
Look through the GitHub issues for features. Anything tagged with | ||
"enhancement" is open to whoever wants to implement it. | ||
|
||
Write Documentation | ||
~~~~~~~~~~~~~~~~~~~ | ||
|
||
Same as Implement Features | ||
|
||
Submit Feedback | ||
~~~~~~~~~~~~~~~ | ||
|
||
The best way to send feedback is to file an issue at https://github.com/brsynth/neo4jsbml/issues. | ||
|
||
If you are proposing a feature: | ||
|
||
* Explain in detail how it would work. | ||
* Keep the scope as narrow as possible, to make it easier to implement. | ||
* This will hopefully become a community-driven project and contributions | ||
are welcome :) | ||
|
||
Pull Request Guidelines | ||
----------------------- | ||
|
||
Before you submit a pull request, check that it meets these guidelines: | ||
|
||
1. If the pull request adds functionality, the docs should be updated. Put | ||
your new functionality into a function with a docstring. | ||
2. Passing ``pytest`` | ||
|
||
.. code-block:: console | ||
$ python -m pytest | ||
3. Passing `super-linter <https://github.com/marketplace/actions/super-linter>`_ | ||
|
||
This policy was modified from | ||
`planemo project <https://github.com/galaxyproject/planemo/blob/master/CONTRIBUTING.rst>`_ |
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,3 +1,4 @@ | ||
[flake8] | ||
max-line-length = 320 | ||
extend-ignore = E203,E262,F401 | ||
exclude = docs/conf.py |
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 |
---|---|---|
|
@@ -7,20 +7,22 @@ on: | |
pull_request: | ||
branches: | ||
- main | ||
schedule: | ||
- cron: '0 0 * * 1' | ||
|
||
jobs: | ||
|
||
Build: | ||
runs-on: ubuntu-latest | ||
strategy: | ||
matrix: | ||
python-version: [3.8, 3.9] | ||
python-version: ['3.8', '3.9', '3.10', '3.11'] | ||
defaults: | ||
run: | ||
shell: bash -l {0} | ||
steps: | ||
- name: 'Checkout' | ||
uses: actions/checkout@v3 | ||
uses: actions/checkout@v4 | ||
with: | ||
ref: ${{ github.ref }} | ||
- name: 'Setup Neo4j with APOC' | ||
|
@@ -41,36 +43,3 @@ jobs: | |
run: | | ||
pip install --no-deps . | ||
python -m pytest tests | ||
Coverage: | ||
needs: [Build] | ||
runs-on: ubuntu-latest | ||
defaults: | ||
run: | ||
shell: bash -l {0} | ||
steps: | ||
- name: 'Checkout' | ||
uses: actions/checkout@v3 | ||
with: | ||
ref: ${{ github.ref }} | ||
- name: 'Setup Neo4j with APOC' | ||
uses: mdanics/[email protected] | ||
- name: 'Deploying miniconda' | ||
uses: conda-incubator/setup-miniconda@v2 | ||
with: | ||
miniconda-version: "latest" | ||
environment-file: recipes/workflow.yaml | ||
python-version: '3.9' | ||
mamba-version: "*" | ||
channel-priority: true | ||
use-mamba: true | ||
- name: 'Run tests' | ||
run: | | ||
pip install --no-deps . | ||
coverage run -m pytest | ||
coverage lcov | ||
- name: 'Coveralls' | ||
uses: coverallsapp/github-action@master | ||
with: | ||
github-token: ${{ secrets.GITHUB_TOKEN }} | ||
path-to-lcov: ./coverage.lcov |
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 |
---|---|---|
|
@@ -24,3 +24,6 @@ debug | |
papier | ||
cmd.sh | ||
*.xml | ||
# Docs | ||
_build | ||
generated |
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,19 @@ | ||
# Required | ||
version: 2 | ||
|
||
# Set the version of Python and other tools you might need | ||
build: | ||
os: ubuntu-22.04 | ||
tools: | ||
python: "mambaforge-4.10" | ||
|
||
# Build documentation in the docs/ directory with Sphinx | ||
sphinx: | ||
configuration: docs/conf.py | ||
|
||
conda: | ||
environment: recipes/workflow.yaml | ||
|
||
formats: | ||
- epub |
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.