Skip to content

Commit 23ef7b2

Browse files
committed
DEV: Update pre-commit hooks.
1 parent 1696667 commit 23ef7b2

File tree

4 files changed

+18
-15
lines changed

4 files changed

+18
-15
lines changed

.pre-commit-config.yaml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ exclude: '^docs/conf.py'
22

33
repos:
44
- repo: https://github.com/pre-commit/pre-commit-hooks
5-
rev: v4.6.0
5+
rev: v5.0.0
66
hooks:
77
- id: trailing-whitespace
88
- id: check-added-large-files
@@ -36,25 +36,25 @@ repos:
3636
# ]
3737

3838
- repo: https://github.com/PyCQA/isort
39-
rev: 5.13.2
39+
rev: 6.0.1
4040
hooks:
4141
- id: isort
4242

4343
- repo: https://github.com/psf/black
44-
rev: stable
44+
rev: 25.1.0
4545
hooks:
4646
- id: black
4747
language_version: python3
4848

4949
## If like to embrace black styles even in the docs:
5050
- repo: https://github.com/asottile/blacken-docs
51-
rev: 1.18.0
51+
rev: 1.19.1
5252
hooks:
5353
- id: blacken-docs
5454
additional_dependencies: [black]
5555

5656
- repo: https://github.com/PyCQA/flake8
57-
rev: 7.1.1
57+
rev: 7.3.0
5858
hooks:
5959
- id: flake8
6060
## You can add flake8 plugins via `additional_dependencies`:

setup.py

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,11 @@
11
"""
2-
Setup file for check-python-h-first.
3-
Use setup.cfg to configure your project.
2+
Setup file for check-python-h-first.
43
5-
This file was generated with PyScaffold 4.6.
6-
PyScaffold helps you to put up the scaffold of your new Python project.
7-
Learn more under: https://pyscaffold.org/
4+
Use setup.cfg to configure your project.
5+
6+
This file was generated with PyScaffold 4.6.
7+
PyScaffold helps you to put up the scaffold of your new Python project.
8+
Learn more under: https://pyscaffold.org/
89
"""
910

1011
from setuptools import setup

src/check_python_h_first/__init__.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
"""Skeleton file to create a package."""
2+
13
import sys
24

35
if sys.version_info[:2] >= (3, 8):

tests/conftest.py

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
"""
2-
Dummy conftest.py for check_python_h_first.
2+
Dummy conftest.py for check_python_h_first.
33
4-
If you don't know what this is for, just leave it empty.
5-
Read more about conftest.py under:
6-
- https://docs.pytest.org/en/stable/fixture.html
7-
- https://docs.pytest.org/en/stable/writing_plugins.html
4+
If you don't know what this is for, just leave it empty.
5+
Read more about conftest.py under:
6+
- https://docs.pytest.org/en/stable/fixture.html
7+
- https://docs.pytest.org/en/stable/writing_plugins.html
88
"""
99

1010
# import pytest

0 commit comments

Comments
 (0)