Skip to content

Commit

Permalink
Update pre-commit
Browse files Browse the repository at this point in the history
  • Loading branch information
hugovk committed Feb 8, 2024
1 parent cfb767d commit d7768ea
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ repos:
args: [--py310-plus]

- repo: https://github.com/psf/black-pre-commit-mirror
rev: 23.12.1
rev: 24.1.1
hooks:
- id: black

Expand All @@ -17,7 +17,7 @@ repos:
args: [--add-import=from __future__ import annotations]

- repo: https://github.com/PyCQA/flake8
rev: 6.1.0
rev: 7.0.0
hooks:
- id: flake8
additional_dependencies:
Expand Down Expand Up @@ -50,13 +50,13 @@ repos:
pass_filenames: false

- repo: https://github.com/tox-dev/pyproject-fmt
rev: 1.5.3
rev: 1.7.0
hooks:
- id: pyproject-fmt
additional_dependencies: [tox]

- repo: https://github.com/abravalheri/validate-pyproject
rev: v0.15
rev: v0.16
hooks:
- id: validate-pyproject

Expand Down
1 change: 1 addition & 0 deletions src/linkotron/__init__.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
"""
CLI to format links
"""

from __future__ import annotations

import importlib.metadata
Expand Down
1 change: 1 addition & 0 deletions src/linkotron/cli.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
"""
linkotron: CLI to format GitHub links in a shorter format.
"""

from __future__ import annotations

import argparse
Expand Down
1 change: 1 addition & 0 deletions tests/test_linkotron.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
"""
Unit tests
"""

from __future__ import annotations

import pytest
Expand Down

0 comments on commit d7768ea

Please sign in to comment.