Skip to content

Commit 258d8ae

Browse files
committed
Style fix and workflow updates.
1 parent f343f86 commit 258d8ae

File tree

5 files changed

+13
-13
lines changed

5 files changed

+13
-13
lines changed

.github/workflows/coverage.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,12 +16,12 @@ jobs:
1616
if: github.event.pull_request.draft == false
1717

1818
steps:
19-
- uses: actions/checkout@v3
19+
- uses: actions/checkout@v4
2020

2121
- name: Configure Python
22-
uses: actions/setup-python@v4
22+
uses: actions/setup-python@v5
2323
with:
24-
python-version: '3.11'
24+
python-version: '3.13'
2525
cache: 'pip'
2626
cache-dependency-path: setup.py
2727

.github/workflows/style-test.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,12 +16,12 @@ jobs:
1616
if: github.event.pull_request.draft == false
1717

1818
steps:
19-
- uses: actions/checkout@v3
19+
- uses: actions/checkout@v4
2020

2121
- name: Configure Python
22-
uses: actions/setup-python@v4
22+
uses: actions/setup-python@v5
2323
with:
24-
python-version: '3.11'
24+
python-version: '3.13'
2525
cache: 'pip'
2626
cache-dependency-path: setup.py
2727

.github/workflows/unit-tests-ubuntu.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,13 +16,13 @@ jobs:
1616
if: github.event.pull_request.draft == false
1717
strategy:
1818
matrix:
19-
python-version: ['3.7']
19+
python-version: ['3.8']
2020

2121
steps:
22-
- uses: actions/checkout@v3
22+
- uses: actions/checkout@v4
2323

2424
- name: Configure Python ${{ matrix.python-version }}
25-
uses: actions/setup-python@v4
25+
uses: actions/setup-python@v5
2626
with:
2727
python-version: ${{ matrix.python-version }}
2828
cache: 'pip'

.github/workflows/upload-to-pypi.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,12 +12,12 @@ jobs:
1212
runs-on: ubuntu-latest
1313

1414
steps:
15-
- uses: actions/checkout@v3
15+
- uses: actions/checkout@v4
1616

1717
- name: Set up Python
18-
uses: actions/setup-python@v4
18+
uses: actions/setup-python@v5
1919
with:
20-
python-version: '3.11'
20+
python-version: '3.13'
2121

2222
- name: install dependencies
2323
run: |

datkit/tests/test_points.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -291,7 +291,7 @@ def test_min_on(self):
291291
def test_time_crossing(self):
292292
t = np.linspace(1, 5, 100)
293293
v = np.sin(t) + 1
294-
self.assertLess(abs(d.time_crossing(t, v, 1) - np.pi), 1e-7)
294+
self.assertLess(abs(d.time_crossing(t, v, 1) - np.pi), 1e-7)
295295
self.assertRaises(ValueError, d.time_crossing, t, v)
296296
t = np.linspace(0, 5, 100)
297297
self.assertRaises(ValueError, d.time_crossing, t, np.cos(t) - 1)

0 commit comments

Comments
 (0)