Skip to content

Commit c13d5a5

Browse files
Minor CI fixes (#527)
* Updating to latest Firedrake docker container in CI * Linting after black update..
1 parent 4e68a10 commit c13d5a5

File tree

4 files changed

+4
-6
lines changed

4 files changed

+4
-6
lines changed

.github/workflows/ci_pipeline.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -173,7 +173,7 @@ jobs:
173173
user_firedrake_tests:
174174
runs-on: ubuntu-latest
175175
container:
176-
image: firedrakeproject/firedrake-vanilla:2025-01
176+
image: firedrakeproject/firedrake-vanilla:latest
177177
options: --user root
178178
volumes:
179179
- ${{ github.workspace }}:/repositories

pySDC/projects/GPU/paper_plots.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
""" Make plots for publications """
1+
"""Make plots for publications"""
22

33
import matplotlib.pyplot as plt
44
from pySDC.helpers.plot_helper import setup_mpl, figsize_by_journal

pySDC/projects/Resilience/AC.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -339,7 +339,7 @@ def post_step(self, step, level_number):
339339
self.dt += [step.dt]
340340
self.axs[2].plot(self.t, self.dt)
341341
self.axs[2].set_yscale('log')
342-
self.axs[2].axhline(step.levels[level_number].prob.eps ** 2, label=r'$\epsilon^2$', color='black', ls='--')
342+
self.axs[2].axhline(step.levels[level_number].prob.eps**2, label=r'$\epsilon^2$', color='black', ls='--')
343343
self.axs[2].legend(frameon=False)
344344
self.axs[2].set_xlim([0, 0.03])
345345
self.axs[2].set_title(r'$\Delta t$')

pySDC/tests/test_convergence_controllers/test_adaptivity.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -197,9 +197,7 @@ def multiple_tests(adaptivity, e_tol_range, num_nodes, **kwargs):
197197
not_passed += [(4, f'Expected order wrt e_tol {expected_order_error_e_tol}, but got {order_e_tol}!')]
198198
if not np.isclose(np.median(order_estimate_e_tol), expected_order_estimate_e_tol, atol=0.4):
199199
not_passed += [
200-
(
201-
f'Expected order wrt e_tol {expected_order_estimate_e_tol} in the estimate, but got {order_estimate_e_tol}!'
202-
)
200+
f'Expected order wrt e_tol {expected_order_estimate_e_tol} in the estimate, but got {order_estimate_e_tol}!'
203201
]
204202

205203
return not_passed

0 commit comments

Comments
 (0)