Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[pre-commit.ci] pre-commit autoupdate #416

Merged
merged 3 commits into from
Oct 25, 2023
Merged
Show file tree
Hide file tree
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ repos:
- id: isort

- repo: https://github.com/psf/black
rev: 23.9.1
rev: 23.10.1
hooks:
- id: black
args:
Expand Down
1 change: 0 additions & 1 deletion tests/b002.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
B002 - on lines 15 and 20
"""


def this_is_all_fine(n):
x = n + 1
y = 1 + n
Expand Down
1 change: 1 addition & 0 deletions tests/b017.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
Should emit:
B017 - on lines 24, 26, 28, 31 and 32.
"""

import asyncio
import unittest

Expand Down
1 change: 0 additions & 1 deletion tests/b018_classes.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
B018 - on lines 17-26, 30, 33
"""


class Foo1:
"""abc"""

Expand Down
1 change: 0 additions & 1 deletion tests/b018_functions.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
B018 - on lines 16-25, 29, 32
"""


def foo1():
"""my docstring"""

Expand Down
1 change: 1 addition & 0 deletions tests/b019.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
Should emit:
B019 - on lines 73, 77, 81, 85, 89, 93, 97, 101
"""

import functools
from functools import cache, cached_property, lru_cache

Expand Down
1 change: 1 addition & 0 deletions tests/b023.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
Should emit:
B023 - on lines 12, 13, 16, 28, 29, 30, 31, 40, 42, 50, 51, 52, 53, 61, 68.
"""

from functools import reduce

functions = []
Expand Down
1 change: 0 additions & 1 deletion tests/b026.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
B026 - on lines 16, 17, 18, 19, 20, 21
"""


def foo(bar, baz, bam):
pass

Expand Down
1 change: 1 addition & 0 deletions tests/b031.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
Should emit:
B031 - on lines 30, 34, 43
"""

import itertools
from itertools import groupby

Expand Down
1 change: 0 additions & 1 deletion tests/b901.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
B901 - on lines 9, 36
"""


def broken():
if True:
return [1, 2, 3]
Expand Down