Skip to content

Commit cfdbc63

Browse files
authored
Bump CI/tool versions (#1160)
* CI: use Ubuntu 24.04 and macOS 14 for tests * CI: update codecov-action version * Update lint tools; fix issues
1 parent 16f2928 commit cfdbc63

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

.github/workflows/ci.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -25,9 +25,9 @@ jobs:
2525
strategy:
2626
matrix:
2727
os:
28-
- "ubuntu-22.04"
28+
- "ubuntu-24.04"
2929
- "windows-2022"
30-
- "macos-12"
30+
- "macos-14"
3131
python-version:
3232
- "3.8"
3333
- "3.9"
@@ -61,7 +61,7 @@ jobs:
6161
env:
6262
COVERAGE_XML_PATH: ${{ runner.temp }}
6363
BABEL_TOX_EXTRA_DEPS: pytest-github-actions-annotate-failures
64-
- uses: codecov/codecov-action@v4
64+
- uses: codecov/codecov-action@v5
6565
with:
6666
directory: ${{ runner.temp }}
6767
flags: ${{ matrix.os }}-${{ matrix.python-version }}

.pre-commit-config.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
repos:
22
- repo: https://github.com/astral-sh/ruff-pre-commit
3-
rev: v0.5.1
3+
rev: v0.8.2
44
hooks:
55
- id: ruff
66
args:
77
- --fix
88
- repo: https://github.com/pre-commit/pre-commit-hooks
9-
rev: v4.6.0
9+
rev: v5.0.0
1010
hooks:
1111
- id: check-added-large-files
1212
- id: check-docstring-first

tests/test_support.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ def setUp(self):
6565

6666
def assertEqualTypeToo(self, expected, result):
6767
assert expected == result
68-
assert type(expected) == type(result), f"instance types do not match: {type(expected)!r}!={type(result)!r}"
68+
assert type(expected) is type(result), f"instance types do not match: {type(expected)!r}!={type(result)!r}"
6969

7070
def test_pgettext(self):
7171
self.assertEqualTypeToo('Voh', self.translations.gettext('foo'))

0 commit comments

Comments
 (0)