Skip to content

Commit 19a6ab7

Browse files
committed
GIT: test agg backend for matplotlib workflows.
1 parent c791f24 commit 19a6ab7

File tree

3 files changed

+4
-3
lines changed

3 files changed

+4
-3
lines changed

.github/workflows/test-pytest-slow.yaml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ on:
55
- cron: "0 17 * * 5" # at 05:00 PM, only on Friday
66
push:
77
branches:
8-
- main
8+
- master
99
paths:
1010
- "**.py"
1111
- ".github/**"
@@ -24,6 +24,7 @@ jobs:
2424
python-version: [3.9, 3.13]
2525
env:
2626
PYTHON: ${{ matrix.python-version }}
27+
MPLBACKEND: Agg
2728
steps:
2829
- uses: actions/checkout@main
2930
- name: Set up Python

.github/workflows/test_pytest.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ jobs:
2323
env:
2424
OS: ${{ matrix.os }}
2525
PYTHON: ${{ matrix.python-version }}
26+
MPLBACKEND: Agg
2627
steps:
2728
- uses: actions/checkout@main
2829
- name: Set up Python

rocketpy/rocket/aero_surface/air_brakes.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -207,8 +207,7 @@ def all_info(self):
207207
self.info()
208208
self.plots.drag_coefficient_curve()
209209

210-
# pylint: disable=unused-argument
211-
def to_dict(self, **kwargs):
210+
def to_dict(self, **kwargs): # pylint: disable=unused-argument
212211
return {
213212
"drag_coefficient_curve": self.drag_coefficient,
214213
"reference_area": self.reference_area,

0 commit comments

Comments
 (0)