-
Notifications
You must be signed in to change notification settings - Fork 1
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
30 changed files
with
514 additions
and
298 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 |
---|---|---|
@@ -1,3 +1,16 @@ | ||
[flake8] | ||
extend-ignore = | ||
# Don't be crazy if line too long | ||
E501 | ||
# Missing docstring in __init__ | ||
D107 | ||
# black: blank lines after docstring for function/class | ||
D202,D204 | ||
# Missing docstring in public module/class/method/function/package/magic method | ||
D100,D101,D102,D103,D104,D105 | ||
per-file-ignores = | ||
*/__init__.py:F401,F403 | ||
tests/*:S101 | ||
exclude = | ||
amici_models | ||
cache_fiddy |
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,28 @@ | ||
#!/bin/sh | ||
|
||
# Install CI dependencies, arguments specify what is required | ||
|
||
# Base packages | ||
pip install --upgrade pip | ||
pip install wheel setuptools | ||
|
||
# Used to create local test environments | ||
pip install tox | ||
|
||
# Update apt | ||
sudo apt-get update | ||
|
||
# Check arguments | ||
for par in "$@"; do | ||
case $par in | ||
doc) | ||
# documentation | ||
sudo apt-get install pandoc | ||
;; | ||
|
||
*) | ||
echo "Unknown argument: $par" >&2 | ||
exit 1 | ||
;; | ||
esac | ||
done |
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,2 @@ | ||
[settings] | ||
profile = black |
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 |
---|---|---|
@@ -1 +1,2 @@ | ||
petab | ||
urllib3<2 |
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,12 +1,12 @@ | ||
from .constants import * | ||
from .derivative import Derivative, get_derivative | ||
from .directional_derivative import methods | ||
|
||
# from . import difference | ||
from .function import Function, CachedFunction | ||
from .function import CachedFunction, Function | ||
from .numpy import fiddy_array | ||
|
||
# from . import quotient | ||
from .step import step | ||
from .derivative import Derivative, get_derivative | ||
from .directional_derivative import methods | ||
from .numpy import fiddy_array | ||
|
||
# from .gradient_check import gradient_check |
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
Oops, something went wrong.