Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Refactor deprecated pre-commit stages #837

Merged
merged 1 commit into from
Nov 11, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,14 +8,14 @@ repos:
types: [python]
entry: poetry run ruff check --fix
require_serial: true
stages: [commit, push, manual]
stages: [pre-commit, pre-push, manual]
- id: ruff-format
name: 🐶 Ruff Formatter
language: system
types: [python]
entry: poetry run ruff format
require_serial: true
stages: [commit, push, manual]
stages: [pre-commit, pre-push, manual]
- id: check-ast
name: 🐍 Check Python AST
language: system
Expand All @@ -35,7 +35,7 @@ repos:
language: system
types: [text, executable]
entry: poetry run check-executables-have-shebangs
stages: [commit, push, manual]
stages: [pre-commit, pre-push, manual]
- id: check-json
name: { Check JSON files
language: system
Expand Down Expand Up @@ -82,7 +82,7 @@ repos:
language: system
types: [text]
entry: poetry run end-of-file-fixer
stages: [commit, push, manual]
stages: [pre-commit, pre-push, manual]
- id: mypy
name: 🆎 Static type checking using mypy
language: system
Expand Down Expand Up @@ -118,7 +118,7 @@ repos:
language: system
types: [text]
entry: poetry run trailing-whitespace-fixer
stages: [commit, push, manual]
stages: [pre-commit, pre-push, manual]
- id: yamllint
name: 🎗 Check YAML files with yamllint
language: system
Expand Down