Update black

This commit is contained in:
Hynek Schlawack 2023-02-03 12:47:41 +01:00
parent 2252f5bc41
commit 9cf2ed5a6b
No known key found for this signature in database
GPG Key ID: AE2536227F69F181
4 changed files with 2 additions and 4 deletions

View File

@ -7,7 +7,7 @@ default_language_version:
repos: repos:
- repo: https://github.com/psf/black - repo: https://github.com/psf/black
rev: 22.12.0 rev: 23.1.0
hooks: hooks:
- id: black - id: black

View File

@ -82,5 +82,5 @@ def not_(
validator: _ValidatorType[_T], validator: _ValidatorType[_T],
*, *,
msg: Optional[str] = None, msg: Optional[str] = None,
exc_types: Union[Type[Exception], Iterable[Type[Exception]]] = ... exc_types: Union[Type[Exception], Iterable[Type[Exception]]] = ...,
) -> _ValidatorType[_T]: ... ) -> _ValidatorType[_T]: ...

View File

@ -401,7 +401,6 @@ class TestTransformAttrs:
@attr.s(collect_by_mro=True) @attr.s(collect_by_mro=True)
class A: class A:
x = attr.ib(10) x = attr.ib(10)
def xx(self): def xx(self):

View File

@ -379,7 +379,6 @@ class TestNextGen:
@attrs.define @attrs.define
class A: class A:
x: int = 10 x: int = 10
def xx(self): def xx(self):