Skip to content

Commit 3f43d36

Browse files
committed
bring fides to 21st century
1 parent ed54c6b commit 3f43d36

24 files changed

Lines changed: 181 additions & 191 deletions

.github/workflows/flake.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,4 +23,4 @@ jobs:
2323
with:
2424
checkName: 'flake8_py3'
2525
env:
26-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
26+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

.github/workflows/tests.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,4 +32,4 @@ jobs:
3232
with:
3333
token: ${{ secrets.CODECOV_TOKEN }}
3434
file: coverage.xml
35-
fail_ci_if_error: true
35+
fail_ci_if_error: true

.pre-commit-config.yaml

Lines changed: 8 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,28 +1,21 @@
11
# See https://pre-commit.com for more information
22
# See https://pre-commit.com/hooks.html for more hooks
33
repos:
4-
- repo: https://github.com/pycqa/isort
5-
rev: 5.12.0
4+
- repo: https://github.com/astral-sh/ruff-pre-commit
5+
rev: v0.14.4
66
hooks:
7-
- id: isort
8-
name: isort (python)
9-
args: ["--profile", "black", "--filter-files"]
7+
# Run the linter
8+
- id: ruff
9+
args: [--fix]
10+
# Run the formatter
11+
- id: ruff-format
1012
- repo: https://github.com/pre-commit/pre-commit-hooks
11-
rev: v4.4.0
13+
rev: v6.0.0
1214
hooks:
1315
- id: check-added-large-files
1416
- id: check-merge-conflict
1517
- id: check-yaml
1618
args: [--allow-multiple-documents]
1719
- id: end-of-file-fixer
1820
- id: trailing-whitespace
19-
- repo: https://github.com/psf/black
20-
rev: 23.3.0
21-
hooks:
22-
- id: black
23-
# It is recommended to specify the latest version of Python
24-
# supported by your project here, or alternatively use
25-
# pre-commit's default_language_version, see
26-
# https://pre-commit.com/#top_level-default_language_version
27-
language_version: python3.11
2821
exclude: '^(ThirdParty|models)/'

.readthedocs.yaml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,9 +21,10 @@ formats:
2121

2222
# Optionally set the version of Python and requirements required to build your docs
2323
python:
24-
version: 3.8
2524
install:
2625
- requirements: docs/requirements.txt
2726

2827
build:
29-
image: latest
28+
os: "ubuntu-24.04"
29+
tools:
30+
python: "3.13"

CITATION.cff

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,4 +24,4 @@ preferred-citation:
2424
journal: "bioRxiv"
2525
month: 5
2626
title: "Fides: Reliable Trust-Region Optimization for Parameter Estimation of Ordinary Differential Equation Models"
27-
year: 2021
27+
year: 2021

README.md

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,8 @@ reliability.
2020

2121
Fides can be installed via `pip install fides`. Further documentation is
2222
available at [Read the Docs](https://fides-optimizer.readthedocs.io/).
23-
24-
23+
24+
2525
## Features
2626

2727

@@ -31,4 +31,3 @@ Fides can be installed via `pip install fides`. Further documentation is
3131
* BFGS, DFP, SR1, Broyden (good and bad) and Broyden class iterative
3232
Hessian Approximation schemes
3333
* SSM, TSSM, FX, GNSBFGS and custom hybrid Hessian Approximations schemes
34-

docs/_templates/autosummary/module.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,4 +40,4 @@
4040
.. autofunction:: {{ function }}
4141
{% endfor %}
4242

43-
{% endif %}
43+
{% endif %}

docs/about.rst

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,4 +19,3 @@ Features
1919
* Recursive Reflective and Truncated constraint management
2020
* Full and 2D subproblem solution solvers
2121
* BFGS, DFP and SR1 Hessian Approximations
22-

docs/api.rst

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,3 @@ Fides Python API
1313
fides.hessian_approximation
1414
fides.logging
1515
fides.constants
16-
17-
18-

docs/requirements.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,4 +10,4 @@ recommonmark>=0.6.0
1010
sphinx_rtd_theme>=0.4.3
1111
sphinx-autodoc-typehints>=1.10.3
1212
sphinxcontrib-napoleon
13-
pygments==2.4.1
13+
pygments==2.4.1

0 commit comments

Comments
 (0)