Skip to content

Commit

Permalink
Merge pull request #2 from ukaea/hsaunders1904/relax_restriction_on_p…
Browse files Browse the repository at this point in the history
…ython_version

Relax restriction on Python version
  • Loading branch information
hsaunders1904 authored Nov 20, 2023
2 parents 969ec32 + b06a50c commit 26cae05
Show file tree
Hide file tree
Showing 5 changed files with 115 additions and 118 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.10", "3.11"]
python-version: ["3.8", "3.9", "3.10", "3.11", "3.12"]

steps:
- uses: actions/checkout@v4
Expand All @@ -27,7 +27,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.10", "3.11"]
python-version: ["3.12"]

steps:
- uses: actions/checkout@v4
Expand Down
10 changes: 5 additions & 5 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -1,18 +1,18 @@
repos:
- repo: https://github.com/charliermarsh/ruff-pre-commit
rev: v0.0.292
rev: v0.1.5
hooks:
- id: ruff
args: [--fix, --exit-non-zero-on-fix]

- repo: https://github.com/psf/black
rev: 23.9.1
rev: 23.11.0
hooks:
- id: black
exclude: 'tests/data/.*'

- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.4.0
rev: v4.5.0
hooks:
- id: check-toml
- id: check-yaml
Expand All @@ -23,7 +23,7 @@ repos:
- id: check-added-large-files

- repo: https://github.com/pre-commit/mirrors-mypy
rev: v1.5.1
rev: v1.7.0
hooks:
- id: mypy
args: ['--ignore-missing', '--python-version', '3.10']
args: ['--ignore-missing', '--python-version', '3.12']
Loading

0 comments on commit 26cae05

Please sign in to comment.