Skip to content

Commit

Permalink
Update pre-commit hooks
Browse files Browse the repository at this point in the history
  • Loading branch information
jonathansick committed May 2, 2024
1 parent 4642c1c commit 43083de
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 6 deletions.
8 changes: 4 additions & 4 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -1,24 +1,24 @@
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.5.0
rev: v4.6.0
hooks:
- id: trailing-whitespace
- id: check-yaml
- id: check-toml

- repo: https://github.com/pre-commit/mirrors-prettier
rev: v3.1.0
rev: v4.0.0-alpha.8
hooks:
- id: prettier

- repo: https://github.com/charliermarsh/ruff-pre-commit
rev: v0.0.278
rev: v0.4.2
hooks:
- id: ruff
args: [--fix, --exit-non-zero-on-fix]

- repo: https://github.com/psf/black
rev: 23.11.0
rev: 24.4.2
hooks:
- id: black

Expand Down
1 change: 0 additions & 1 deletion tests/conftest.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
"""Pytest configuration and fixtures."""


import pytest
from sphinx.testing.path import path

Expand Down
1 change: 0 additions & 1 deletion tests/packaging_test.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
"""Test the technote packaging."""


from __future__ import annotations

from technote import __version__
Expand Down

0 comments on commit 43083de

Please sign in to comment.