Skip to content

Commit 9cf2ed5

Browse files
committed
Update black
1 parent 2252f5b commit 9cf2ed5

4 files changed

Lines changed: 2 additions & 4 deletions

File tree

.pre-commit-config.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ default_language_version:
77

88
repos:
99
- repo: https://github.com/psf/black
10-
rev: 22.12.0
10+
rev: 23.1.0
1111
hooks:
1212
- id: black
1313

src/attr/validators.pyi

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,5 +82,5 @@ def not_(
8282
validator: _ValidatorType[_T],
8383
*,
8484
msg: Optional[str] = None,
85-
exc_types: Union[Type[Exception], Iterable[Type[Exception]]] = ...
85+
exc_types: Union[Type[Exception], Iterable[Type[Exception]]] = ...,
8686
) -> _ValidatorType[_T]: ...

tests/test_make.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -401,7 +401,6 @@ def test_mro(self):
401401

402402
@attr.s(collect_by_mro=True)
403403
class A:
404-
405404
x = attr.ib(10)
406405

407406
def xx(self):

tests/test_next_gen.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -379,7 +379,6 @@ def test_mro_ng(self):
379379

380380
@attrs.define
381381
class A:
382-
383382
x: int = 10
384383

385384
def xx(self):

0 commit comments

Comments
 (0)