From 47289dc565d329a36306d5e7f8830b1caec45e19 Mon Sep 17 00:00:00 2001 From: Jacob Stevens-Haas Date: Tue, 4 Oct 2022 15:04:39 -0700 Subject: [PATCH] DOC: Fix rst backticks to make CI green Also bump flake8 pre-commit version --- .pre-commit-config.yaml | 2 +- pysindy/optimizers/miosr.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index c5e0149c3..af42f2331 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -15,7 +15,7 @@ repos: hooks: - id: black - repo: https://gitlab.com/pycqa/flake8 - rev: 3.9.2 + rev: 5.0.4 hooks: - id: flake8 args: ["--config=setup.cfg"] diff --git a/pysindy/optimizers/miosr.py b/pysindy/optimizers/miosr.py index 8e30e50df..29eabdc11 100644 --- a/pysindy/optimizers/miosr.py +++ b/pysindy/optimizers/miosr.py @@ -28,7 +28,7 @@ class MIOSR(BaseOptimizer): by using type-1 specially ordered sets (SOS1) to encode the support of the coefficients. Can optionally add additional constraints on the - coefficients or access the gurobi `model` directly for advanced usage. + coefficients or access the gurobi model directly for advanced usage. See the following reference for additional details: Bertsimas, D. and Gurnee, W., 2022. Learning Sparse Nonlinear Dynamics