Skip to content

Commit d04202d

Browse files
committed
Update black to 24.x with formatting changes
1 parent 7a9f676 commit d04202d

3 files changed

Lines changed: 4 additions & 2 deletions

File tree

.pre-commit-config.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,14 +14,14 @@ repos:
1414

1515
# Adds a standard feel to import segments
1616
- repo: https://github.com/pycqa/isort
17-
rev: 5.5.4
17+
rev: 5.13.2
1818
hooks:
1919
- id: isort
2020
args: ["--profile", "black"]
2121

2222
# Format code. No, I don't like everything black does either.
2323
- repo: https://github.com/psf/black-pre-commit-mirror
24-
rev: 23.12.1
24+
rev: 24.1.1
2525
hooks:
2626
- id: black
2727

src/module_name/sample.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
"""This is just a sample file"""
2+
23
from __future__ import annotations
34

45

tests/test_sample.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
"""Tests for sample"""
2+
23
from __future__ import annotations
34

45
import pytest

0 commit comments

Comments
 (0)