Skip to content

Commit

Permalink
pc autoupdate
Browse files Browse the repository at this point in the history
  • Loading branch information
ysawa0 committed May 4, 2024
1 parent 05fc1d7 commit 9b7f330
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 8 deletions.
14 changes: 7 additions & 7 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ repos:
# Misc
#############################################################################
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.5.0
rev: v4.6.0
hooks:
- id: check-merge-conflict # Searches for merge conflict markers within files.
- id: check-added-large-files # Blocks commits that add large files. Default limit is 500kB.
Expand All @@ -24,7 +24,7 @@ repos:
# JSON, TOML
#############################################################################
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.5.0
rev: v4.6.0
hooks:
- id: check-json # Validates JSON files to ensure they are properly formatted and syntactically correct.
types: [json]
Expand All @@ -46,15 +46,15 @@ repos:
# Python
#############################################################################
- repo: https://github.com/PyCQA/autoflake
rev: v2.2.1
rev: v2.3.1
hooks:
- id: autoflake # Removes unused imports and unused variables from Python code.
args:
- --in-place
- --remove-all-unused-imports

- repo: https://github.com/pycqa/isort
rev: 5.12.0
rev: 5.13.2
hooks:
- id: isort # Sorts Python imports into sections and by alphabetical order.
args:
Expand All @@ -64,7 +64,7 @@ repos:
- python

- repo: https://github.com/psf/black
rev: 23.10.1
rev: 24.4.2
hooks:
- id: black # Formats Python code to conform to the Black code style.
args:
Expand All @@ -75,7 +75,7 @@ repos:
exclude: templates/

- repo: https://github.com/pycqa/flake8
rev: 6.1.0
rev: 7.0.0
hooks:
- id: flake8 # Lints Python code for errors and code style issues based on PEP8.
args:
Expand All @@ -99,7 +99,7 @@ repos:
# CSS, Markdown, JavaScript, TypeScript, YAML style formatter
#############################################################################
- repo: https://github.com/pre-commit/mirrors-prettier
rev: v3.0.3
rev: v4.0.0-alpha.8
hooks:
- id: prettier # An opinionated code formatter supporting multiple languages.
name: prettier
Expand Down
1 change: 0 additions & 1 deletion templates/python/main.py

This file was deleted.

0 comments on commit 9b7f330

Please sign in to comment.