Update black
This commit is contained in:
parent
2252f5bc41
commit
9cf2ed5a6b
|
@ -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
|
||||||
|
|
||||||
|
|
|
@ -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]: ...
|
||||||
|
|
|
@ -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):
|
||||||
|
|
|
@ -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):
|
||||||
|
|
Loading…
Reference in New Issue