Skip to content

Commit

Permalink
disable ruff preview for now
Browse files Browse the repository at this point in the history
  • Loading branch information
robfalck committed Aug 22, 2024
1 parent a9b1c6e commit d4c0c99
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion dymos/phase/test/test_analytic_phase.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@

from openmdao.utils.assert_utils import assert_near_equal
from openmdao.utils.testing_utils import use_tempdirs
from dymos.utils.misc import om_version


class SimpleIVPSolution(om.ExplicitComponent):
Expand Down Expand Up @@ -256,7 +257,7 @@ def test_analytic_phase_load_case(self):

sol_db = 'dymos_solution.db'
if om_version()[0] > (3, 34, 2):
sol_db = self.p.get_outputs_dir() / sol_db
sol_db = p.get_outputs_dir() / sol_db

# Load the previous case and rerun
dm.run_problem(p, simulate=False, restart=sol_db)
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ line-ending = "lf"

[tool.ruff.lint]
select = ["E", "F"]
preview = true
preview = false

[tool.ruff.lint.pycodestyle]
max-line-length = 130
Expand Down

0 comments on commit d4c0c99

Please sign in to comment.