-
Notifications
You must be signed in to change notification settings - Fork 122
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
238 changed files
with
91,985 additions
and
26,727 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,73 @@ | ||
name: Unit tests | ||
|
||
on: | ||
workflow_dispatch: | ||
push: | ||
branches: | ||
- main | ||
pull_request: | ||
|
||
jobs: | ||
lint: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- uses: actions/setup-python@v4 | ||
with: | ||
python-version: "3.10" | ||
- uses: pre-commit/[email protected] | ||
|
||
docs: | ||
needs: [lint] #, mypy] | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- uses: actions/setup-python@v4 | ||
with: | ||
python-version: "3.10" | ||
- name: Install nox | ||
run: pip install nox | ||
- name: build static docs | ||
run: nox -s docs | ||
|
||
build: | ||
needs: [lint] #, mypy] | ||
strategy: | ||
fail-fast: true | ||
matrix: | ||
os: [ubuntu-latest] | ||
python-version: ["3.8", "3.9", "3.10", "3.11"] | ||
include: | ||
- os: macos-latest # macos test | ||
python-version: "3.11" | ||
- os: windows-latest # windows test | ||
python-version: "3.11" | ||
runs-on: ${{ matrix.os }} | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- name: Set up Python ${{ matrix.python-version }} | ||
uses: actions/setup-python@v4 | ||
with: | ||
python-version: ${{ matrix.python-version }} | ||
- name: Install nox | ||
run: pip install nox | ||
- name: test with pytest | ||
run: nox -s test | ||
|
||
coverage: | ||
needs: [build] | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- uses: actions/setup-python@v4 | ||
with: | ||
python-version: "3.10" | ||
- name: Install deps | ||
run: pip install nox | ||
- name: test with pytest | ||
run: nox -s test | ||
- name: codecov | ||
uses: codecov/codecov-action@v3 | ||
with: | ||
token: ${{ secrets.CODECOV_TOKEN }} | ||
verbose: 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,53 @@ | ||
default_install_hook_types: [pre-commit, commit-msg] | ||
|
||
repos: | ||
- repo: "https://github.com/psf/black" | ||
rev: "22.3.0" | ||
hooks: | ||
- id: black | ||
stages: [commit] | ||
|
||
# - repo: "https://github.com/commitizen-tools/commitizen" | ||
# rev: "v2.18.0" | ||
# hooks: | ||
# - id: commitizen | ||
# stages: [commit-msg] | ||
|
||
# - repo: "https://github.com/kynan/nbstripout" | ||
# rev: "0.5.0" | ||
# hooks: | ||
# - id: nbstripout | ||
# stages: [commit] | ||
|
||
- repo: "https://github.com/pre-commit/mirrors-prettier" | ||
rev: "v2.7.1" | ||
hooks: | ||
- id: prettier | ||
stages: [commit] | ||
exclude: tests\/test_.+\. | ||
|
||
- repo: https://github.com/charliermarsh/ruff-pre-commit | ||
rev: "v0.0.215" | ||
hooks: | ||
- id: ruff | ||
stages: [commit] | ||
|
||
# - repo: https://github.com/PyCQA/doc8 | ||
# rev: "v1.1.1" | ||
# hooks: | ||
# - id: doc8 | ||
# stages: [commit] | ||
|
||
- repo: https://github.com/FHPythonUtils/LicenseCheck | ||
rev: "2023.1.1" | ||
hooks: | ||
- id: licensecheck | ||
stages: [commit] | ||
|
||
- repo: https://github.com/codespell-project/codespell | ||
rev: v2.2.4 | ||
hooks: | ||
- id: codespell | ||
stages: [commit] | ||
additional_dependencies: | ||
- tomli |
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,18 @@ | ||
# See https://docs.readthedocs.io/en/stable/config-file/v2.html for details | ||
|
||
version: 2 | ||
|
||
build: | ||
os: ubuntu-22.04 | ||
tools: | ||
python: "3.10" | ||
|
||
sphinx: | ||
configuration: docs/conf.py | ||
|
||
python: | ||
install: | ||
- method: pip | ||
path: . | ||
extra_requirements: | ||
- doc |
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 @@ | ||
Thanks goes to these wonderful people (`emoji key <https://allcontributors.org/docs/en/emoji-key>`_): | ||
|
||
.. raw:: html | ||
|
||
<table class="table table-bordered"> | ||
<tr> | ||
<!-- ALL-CONTRIBUTORS-LIST:START - Do not remove or modify this section --> | ||
<td align="center"> | ||
<a href="https://github.com/fitoprincipe"> | ||
<img src="https://github.com/fitoprincipe.png" width="70px;" alt="12rambau"/><br /> | ||
<sub><b>Rodrigo E. Principe </b></sub> | ||
</a> | ||
</td> | ||
<td align="center"> | ||
<a href="https://github.com/12rambau"> | ||
<img src="https://github.com/12rambau.png" width="70px;" alt="12rambau"/><br /> | ||
<sub><b>Pierrick Rambaud</b></sub> | ||
</a> | ||
</td> | ||
<td align="center"> | ||
<a href="https://github.com/MarcCoru"> | ||
<img src="https://github.com/MarcCoru.png" width="70px;" alt="12rambau"/><br /> | ||
<sub><b>Marc Rußwurm</b></sub> | ||
</a> | ||
</td> | ||
</tr> | ||
<tr> | ||
<td align="center"> | ||
<a href="https://github.com/hubert-crea"> | ||
<img src="https://github.com/hubert-crea.png" width="70px;" alt="12rambau"/><br /> | ||
<sub><b>hubert-crea</b></sub> | ||
</a> | ||
</td> | ||
<td align="center"> | ||
<a href="https://github.com/samsammurphy"> | ||
<img src="https://github.com/samsammurphy.png" width="70px;" alt="12rambau"/><br /> | ||
<sub><b>Sam Murphy</b></sub> | ||
</a> | ||
</td> | ||
<td align="center"> | ||
<a href="https://github.com/lumbric"> | ||
<img src="https://github.com/lumbric.png" width="70px;" alt="12rambau"/><br /> | ||
<sub><b>lumbric</b></sub> | ||
</a> | ||
</td> | ||
<!-- ALL-CONTRIBUTORS-LIST:END --> | ||
</tr> | ||
</table> | ||
|
||
This project follows the `all-contributors <https://allcontributors.org>`_ specification. | ||
|
||
Contributions of any kind are welcome! |
Oops, something went wrong.