Skip to content

Commit

Permalink
Bump CI/tool versions (#1160)
Browse files Browse the repository at this point in the history
* CI: use Ubuntu 24.04 and macOS 14 for tests
* CI: update codecov-action version
* Update lint tools; fix issues
  • Loading branch information
akx authored Dec 9, 2024
1 parent 16f2928 commit cfdbc63
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,9 @@ jobs:
strategy:
matrix:
os:
- "ubuntu-22.04"
- "ubuntu-24.04"
- "windows-2022"
- "macos-12"
- "macos-14"
python-version:
- "3.8"
- "3.9"
Expand Down Expand Up @@ -61,7 +61,7 @@ jobs:
env:
COVERAGE_XML_PATH: ${{ runner.temp }}
BABEL_TOX_EXTRA_DEPS: pytest-github-actions-annotate-failures
- uses: codecov/codecov-action@v4
- uses: codecov/codecov-action@v5
with:
directory: ${{ runner.temp }}
flags: ${{ matrix.os }}-${{ matrix.python-version }}
Expand Down
4 changes: 2 additions & 2 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
repos:
- repo: https://github.com/astral-sh/ruff-pre-commit
rev: v0.5.1
rev: v0.8.2
hooks:
- id: ruff
args:
- --fix
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.6.0
rev: v5.0.0
hooks:
- id: check-added-large-files
- id: check-docstring-first
Expand Down
2 changes: 1 addition & 1 deletion tests/test_support.py
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ def setUp(self):

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

def test_pgettext(self):
self.assertEqualTypeToo('Voh', self.translations.gettext('foo'))
Expand Down

0 comments on commit cfdbc63

Please sign in to comment.