Skip to content

Commit

Permalink
Merge pull request #214 from Jakub3628800/pre-commit-action-upd
Browse files Browse the repository at this point in the history
update pre-commit action + autoupdate
  • Loading branch information
Jakub3628800 authored May 6, 2024
2 parents 3071fd0 + 2708308 commit 78177d9
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 6 deletions.
11 changes: 7 additions & 4 deletions .github/workflows/pre-commit.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
---
name: pre-commit

on:
on: # yamllint disable-line rule:truthy
pull_request:
push:
branches: [master]
Expand All @@ -9,6 +10,8 @@ jobs:
pre-commit:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-python@v3
- uses: pre-commit/[email protected]
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: '3.10'
- uses: pre-commit/[email protected]
4 changes: 2 additions & 2 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,14 @@ default_language_version:
python: python3.10
repos:
- repo: https://github.com/astral-sh/ruff-pre-commit
rev: v0.4.1
rev: v0.4.3
hooks:
- id: ruff
args: [ --fix ]
- id: ruff-format

- repo: https://github.com/pre-commit/mirrors-mypy
rev: v1.9.0
rev: v1.10.0
hooks:
- id: mypy
args: [--explicit-package-bases, --namespace-packages]
Expand Down

0 comments on commit 78177d9

Please sign in to comment.