Skip to content

Commit

Permalink
Update pre-commit hooks. (#92)
Browse files Browse the repository at this point in the history
* Update pre-commit hooks.

* More upgrades.

* 3.12.
  • Loading branch information
mlondschien authored Jul 9, 2024
1 parent f483762 commit 45abd96
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 12 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:
strategy:
fail-fast: false
matrix:
PYTHON_VERSION: ["3.10"]
PYTHON_VERSION: ["3.12"]
defaults:
run:
# see https://github.com/conda-incubator/setup-miniconda/#important
Expand All @@ -37,7 +37,7 @@ jobs:


pre-commit-checks:
name: "Linux - pre-commit checks - Python 3.10"
name: "Linux - pre-commit checks - Python 3.12"
timeout-minutes: 30
runs-on: ubuntu-latest
env:
Expand All @@ -49,9 +49,9 @@ jobs:
uses: mamba-org/setup-micromamba@d05808540d968a55ca33c798e0661fb98f533c73
- name: Add micromamba to GITHUB_PATH
run: echo "${HOME}/micromamba-bin" >> "$GITHUB_PATH"
- name: Install Python 3.10
- name: Install Python 3.12
uses: actions/setup-python@v4
with:
python-version: "3.10"
python-version: "3.12"
- name: Run pre-commit checks
uses: pre-commit/[email protected]
16 changes: 8 additions & 8 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -1,39 +1,39 @@
repos:
- repo: https://github.com/codespell-project/codespell
rev: v2.2.2
rev: v2.3.0
hooks:
- id: codespell
types_or: [python, rst, markdown]
additional_dependencies: [tomli]
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.4.0
rev: v4.6.0
hooks:
- id: debug-statements
- id: trailing-whitespace
- repo: https://github.com/Quantco/pre-commit-mirrors-black
rev: 22.12.0
rev: 24.4.2
hooks:
- id: black-conda
args:
- --safe
- --target-version=py38
- repo: https://github.com/Quantco/pre-commit-mirrors-isort
rev: 5.7.0
rev: 5.13.2
hooks:
- id: isort-conda
additional_dependencies: [toml]
- repo: https://github.com/Quantco/pre-commit-mirrors-flake8
rev: 5.0.4
rev: 7.0.0
hooks:
- id: flake8-conda
additional_dependencies: [-c, conda-forge, flake8-docstrings=1.5.0, flake8-rst-docstrings=0.0.14]
additional_dependencies: [-c, conda-forge, flake8-docstrings=1.7.0, flake8-rst-docstrings=0.3.0]
args: ["--ignore=E203,E266,E501,W503,C901,D104,D100,D301,W604"]
- repo: https://github.com/Quantco/pre-commit-mirrors-mypy
rev: "0.982"
rev: "1.10.1"
hooks:
- id: mypy-conda
- repo: https://github.com/Quantco/pre-commit-mirrors-pyupgrade
rev: 3.1.0
rev: 3.15.2
hooks:
- id: pyupgrade-conda
args:
Expand Down

0 comments on commit 45abd96

Please sign in to comment.