Skip to content

Commit 6055fca

Browse files
committed
ci template
1 parent 0ed88d8 commit 6055fca

File tree

4 files changed

+13
-10
lines changed

4 files changed

+13
-10
lines changed

.flake8

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
11
[flake8]
22
max-line-length = 132
33
exclude = .git,__pycache__,.eggs/,doc/,docs/,build/,dist/,archive/
4-
per-file-ignores =
5-
__init__.py:F401

.github/workflows/ci.yml

Lines changed: 9 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,14 +8,19 @@ on:
88

99
jobs:
1010

11-
linux:
12-
runs-on: windows-latest
11+
core:
12+
runs-on: ${{ matrix.os }}
13+
14+
strategy:
15+
matrix:
16+
python-version: ["3.10", "3.13"]
17+
os: [windows-latest, ubuntu-latest]
1318

1419
steps:
1520
- uses: actions/checkout@v4
16-
- uses: actions/setup-python@v4
21+
- uses: actions/setup-python@v5
1722
with:
18-
python-version: 3.x
23+
python-version: ${{ matrix.python-version }}
1924

2025
- run: pip install .[tests,lint]
2126

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55

66
Utilities for working with Incoherent Scatter Radar data, especially from Poker Flat AMISR.
77

8-
We work with the complex I+jQ voltage samples, the lowest level data
8+
We work with the complex `I + jQ` voltage samples, the lowest level data
99
available from the radar, on a single pulse basis. Depending on the beam
1010
pattern and pulse modulation, the per-beam pulse cadence is perhaps on
1111
the 75 milliscond time scale.

src/isrraw/plots.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -330,7 +330,7 @@ def plotsnr(snr, fn, P, azel, ctxt=""):
330330
vmin=vlim[0],
331331
vmax=vlim[1],
332332
cmap="cubehelix_r",
333-
shading="nearest"
333+
shading="nearest",
334334
)
335335
except ValueError as e:
336336
print(e, file=stderr)
@@ -469,7 +469,7 @@ def plotacf(spec: xarray.DataArray, fn: Path, azel, t, dt, P: dict):
469469
vmin=P["vlimacf"][0],
470470
vmax=P["vlimacf"][1],
471471
cmap="cubehelix_r",
472-
shading="nearest"
472+
shading="nearest",
473473
)
474474

475475
ytop = min(z[-1], P["zlim"][1]) if P["zlim"][1] is not None else z[-1]
@@ -680,7 +680,7 @@ def plotplasmatime(spec: xarray.DataArray, t, fg, ax, P: dict, ctxt):
680680
vmin=P["vlim_pl"][0],
681681
vmax=P["vlim_pl"][1],
682682
cmap="cubehelix_r",
683-
shading="nearest"
683+
shading="nearest",
684684
)
685685

686686
# h=ax.imshow(spec.freq.data/1e6,srng[zgood],10*log10(spec[zgood,:].data),

0 commit comments

Comments
 (0)