Skip to content

Commit

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

* use python 3.11 to build CirPy bundles
  • Loading branch information
2bndy5 authored Dec 11, 2023
1 parent 596d1dd commit d2fad75
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ jobs:
- name: Set up Python 3.x
uses: actions/setup-python@v4
with:
python-version: "3.x"
python-version: "3.11"

- name: Checkout tools repo
uses: actions/checkout@v4
Expand Down
8 changes: 4 additions & 4 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,22 +4,22 @@

repos:
- repo: https://github.com/python/black
rev: 23.7.0
rev: 23.11.0
hooks:
- id: black
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.4.0
rev: v4.5.0
hooks:
- id: check-yaml
exclude: ^docs/social_cards/layouts
- id: end-of-file-fixer
- id: trailing-whitespace
- repo: https://github.com/astral-sh/ruff-pre-commit
rev: v0.0.287
rev: v0.1.7
hooks:
- id: ruff
- repo: https://github.com/pre-commit/mirrors-mypy
rev: v1.5.1
rev: v1.7.1
hooks:
- id: mypy
name: mypy (library code)
Expand Down

0 comments on commit d2fad75

Please sign in to comment.