-
Notifications
You must be signed in to change notification settings - Fork 35
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 #131 from q-optimize/release/1.3
Release/1.3
- Loading branch information
Showing
134 changed files
with
15,628 additions
and
5,442 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
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,22 @@ | ||
## What | ||
Describe very concisely what this Pull Request does. | ||
|
||
## Why | ||
Describe what motivated this Pull Request and why this was necessary. Use closing keywords to link to the relevant Issue. Ex. Closes #666 | ||
|
||
## How | ||
Describe details of how you implemented the solution, outlining the major steps involved in adding this new feature or fixing this bug. Provide code-snippets if possible, showing example usage. | ||
|
||
## Remarks | ||
Add notes on possible known quirks/drawbacks of this solution. If this introduces an API-breaking change, please provide an explanation on why it is necessary to break API compatibility and how users should update their notebook/script workflows once this PR is merged. | ||
|
||
## Checklist | ||
Please include and complete the following checklist. Your Pull Request is (in most cases) not ready for review until the following have been completed. You can create a draft PR while you are still completing the checklist. Check the [Contribution Guidelines](https://github.com/q-optimize/c3/blob/dev/CONTRIBUTING.md) for more details. You can mark an item as complete with the `- [x]` prefix | ||
|
||
- [ ] Tests - Added unit tests for new code, regression tests for bugs and updated the integration tests if required | ||
- [ ] Formatting & Linting - `black` and `flake8` have been used to ensure styling guidelines are met | ||
- [ ] Type Annotations - All new code has been type annotated in the function signatures using type hints | ||
- [ ] Docstrings - Docstrings have been provided for functions in the `numpydoc` style | ||
- [ ] Documentation - The tutorial style documentation has been updated to explain changes & new features | ||
- [ ] Notebooks - Example notebooks have been updated to incorporate changes and new features | ||
- [ ] Changelog - A short note on this PR has been added to the Upcoming Release section |
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
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,34 @@ | ||
name: Notebook Test | ||
|
||
on: | ||
push: | ||
branches: [ master, dev, 'release/*' ] | ||
pull_request: | ||
branches: [ master, dev, 'release/*' ] | ||
workflow_dispatch: | ||
|
||
jobs: | ||
notebook_run_check: | ||
runs-on: ${{ matrix.os }} | ||
strategy: | ||
matrix: | ||
os: [ubuntu-latest] | ||
python-version: [3.8] | ||
env: | ||
OS: ${{ matrix.os }} | ||
PYTHON: ${{ matrix.python-version }} | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- name: Set up Python ${{ matrix.python-version }} | ||
uses: actions/setup-python@v2 | ||
with: | ||
python-version: ${{ matrix.python-version }} | ||
- name: Install dependencies | ||
run: | | ||
python -m pip install --upgrade pip | ||
pip install -r requirements.txt | ||
pip install jupyter notebook ipykernel matplotlib | ||
pip install . | ||
- name: Test with nbconvert | ||
run: | | ||
jupyter nbconvert --to notebook --inplace --execute examples/*.ipynb |
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 |
---|---|---|
|
@@ -137,3 +137,5 @@ dmypy.json | |
|
||
# swp files | ||
*.swp | ||
.stignore | ||
okteto.yml |
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,23 +1,22 @@ | ||
repos: | ||
- repo: https://github.com/ambv/black | ||
rev: stable | ||
rev: 21.5b1 | ||
hooks: | ||
- id: black | ||
language_version: python3.8 | ||
- repo: https://gitlab.com/pycqa/flake8 | ||
rev: 3.8.3 | ||
language_version: python3 | ||
- repo: https://github.com/pycqa/flake8 | ||
rev: 3.9.2 | ||
hooks: | ||
- id: flake8 | ||
- repo: https://github.com/pre-commit/mirrors-mypy | ||
rev: 'v0.790' | ||
rev: 'v0.812' | ||
hooks: | ||
- id: mypy | ||
args: [--no-strict-optional, --ignore-missing-imports] | ||
additional_dependencies: [cma==3.0.3, | ||
matplotlib==3.3.2, | ||
numpy==1.18.5, | ||
numpy==1.19.5, | ||
scipy==1.5.2, | ||
tensorflow==2.3.1, | ||
tensorflow-probability==0.11.1, | ||
tensorflow-estimator==2.3.0 | ||
tensorflow==2.4.2, | ||
tensorflow-probability==0.12.1, | ||
tensorflow-estimator==2.4.0 | ||
] |
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 |
---|---|---|
|
@@ -3,4 +3,5 @@ Nicolas Wittler | |
Shai Machnes | ||
Kevin Pack | ||
Anurag Saha Roy | ||
Niklas J Glaser | ||
Max Werninghaus |
Oops, something went wrong.