Skip to content

Commit 78d08a7

Browse files
[pre-commit.ci] pre-commit autoupdate (#416)
* [pre-commit.ci] pre-commit autoupdate updates: - [github.com/psf/black: 23.9.1 → 23.10.1](psf/black@23.9.1...23.10.1) * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * Painfully fix all the line numbers do to reformat from black ... --------- Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> Co-authored-by: Cooper Ry Lees <[email protected]>
1 parent f8fe3c4 commit 78d08a7

File tree

11 files changed

+51
-52
lines changed

11 files changed

+51
-52
lines changed

.pre-commit-config.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ repos:
88
- id: isort
99

1010
- repo: https://github.com/psf/black
11-
rev: 23.9.1
11+
rev: 23.10.1
1212
hooks:
1313
- id: black
1414
args:

tests/b002.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@
33
B002 - on lines 15 and 20
44
"""
55

6-
76
def this_is_all_fine(n):
87
x = n + 1
98
y = 1 + n

tests/b017.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
Should emit:
33
B017 - on lines 24, 26, 28, 31 and 32.
44
"""
5+
56
import asyncio
67
import unittest
78

tests/b018_classes.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@
33
B018 - on lines 17-26, 30, 33
44
"""
55

6-
76
class Foo1:
87
"""abc"""
98

tests/b018_functions.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@
33
B018 - on lines 16-25, 29, 32
44
"""
55

6-
76
def foo1():
87
"""my docstring"""
98

tests/b019.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
Should emit:
33
B019 - on lines 73, 77, 81, 85, 89, 93, 97, 101
44
"""
5+
56
import functools
67
from functools import cache, cached_property, lru_cache
78

tests/b023.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
Should emit:
33
B023 - on lines 12, 13, 16, 28, 29, 30, 31, 40, 42, 50, 51, 52, 53, 61, 68.
44
"""
5+
56
from functools import reduce
67

78
functions = []

tests/b026.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@
33
B026 - on lines 16, 17, 18, 19, 20, 21
44
"""
55

6-
76
def foo(bar, baz, bam):
87
pass
98

tests/b031.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
Should emit:
33
B031 - on lines 30, 34, 43
44
"""
5+
56
import itertools
67
from itertools import groupby
78

tests/b901.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@
33
B901 - on lines 9, 36
44
"""
55

6-
76
def broken():
87
if True:
98
return [1, 2, 3]

0 commit comments

Comments
 (0)