Skip to content

Commit

Permalink
Merge pull request #7 from kjmeagher/pre-commit-ci-update-config
Browse files Browse the repository at this point in the history
autoupdate pre-commit hooks
  • Loading branch information
kjmeagher authored Oct 7, 2024
2 parents e7e1080 + 0b9c78b commit f400962
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 11 deletions.
14 changes: 9 additions & 5 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,18 +3,22 @@
# SPDX-License-Identifier: GPL-3.0-or-later

name: Tests
on: [push, pull_request]
on:
push:
branches:
- main
pull_request:
jobs:
Tests:
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
python-version: ['3.8', '3.9', '3.10', '3.11']
os: [ubuntu-22.04]
python-version: ['3.9', '3.10', '3.11', '3.12']
os: [ubuntu-24.04]
include:
- python-version: 3.11
os: macos-12
- python-version: 3.12
os: macos-14
steps:
- uses: actions/checkout@v3
- name: Set up Python ${{ matrix.python-version }}
Expand Down
12 changes: 6 additions & 6 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,32 +7,32 @@ ci:
autoupdate_schedule: quarterly
repos:
- repo: https://github.com/macisamuele/language-formatters-pre-commit-hooks
rev: v2.13.0
rev: v2.14.0
hooks:
- id: pretty-format-toml
args: [--autofix]
- id: pretty-format-yaml
args: [--autofix, --indent, '2']
- repo: https://github.com/fsfe/reuse-tool
rev: v3.1.0a1
rev: v4.0.3
hooks:
- id: reuse
- repo: https://github.com/psf/black
rev: 24.4.2
rev: 24.8.0
hooks:
- id: black
- repo: https://github.com/astral-sh/ruff-pre-commit
rev: v0.5.0
rev: v0.6.9
hooks:
- id: ruff
args: [--fix]
- repo: https://github.com/pycqa/pylint
rev: v3.2.4
rev: v3.3.1
hooks:
- id: pylint
additional_dependencies: [babel, tabulate, tzlocal, xdg-base-dirs, termcolor, pytest]
- repo: https://github.com/pre-commit/mirrors-mypy
rev: v1.10.1
rev: v1.11.2
hooks:
- id: mypy
additional_dependencies: [types-tabulate, types-tzlocal, types-termcolor]
Expand Down

0 comments on commit f400962

Please sign in to comment.