Skip to content

Commit

Permalink
Merge pull request #162 from jodal/dependabot/pip/flake8-pyi-tw-22.1.0
Browse files Browse the repository at this point in the history
build(deps-dev): update flake8-pyi requirement from ^20.10.0 to ^22.1.0
  • Loading branch information
jodal committed Jan 30, 2022
2 parents ad7d14c + 3d5a1e2 commit 1e5560a
Show file tree
Hide file tree
Showing 6 changed files with 7 additions and 6 deletions.
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ flake8 = "^4.0.1"
flake8-black = "^0.2.1"
flake8-bugbear = "^22.1.11"
flake8-isort = "^4.0.0"
flake8-pyi = "^20.10.0"
flake8-pyi = "^22.1.0"
isort = "^5.9.2"
mypy = "^0.931"
pytest = "^6.2.4"
Expand Down
6 changes: 6 additions & 0 deletions setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,12 @@ ignore =
E701
# E704: multiple statements on one line (incorrect for pyi files)
E704
# Y022: Use "builtins.foo" instead of "typing.Foo" (until requiring Python 3.9)
Y022
# Y023: Use "typing.Protocol" instead of "typing_extensions.Protocol" (until requiring Python 3.8)
Y023
# Y026: Use typing_extensions.TypeAlias for type aliases (until requiring Python 3.10)
Y026


[mypy]
Expand Down
1 change: 0 additions & 1 deletion src/pykka/_actor.pyi
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,6 @@ class Actor:
actor_ref: ActorRef
actor_stopped: threading.Event
def __init__(self, *args: Any, **kwargs: Any) -> None: ...
def __str__(self) -> str: ...
def stop(self) -> None: ...
def _stop(self) -> None: ...
def _actor_loop(self) -> None: ...
Expand Down
1 change: 0 additions & 1 deletion src/pykka/_envelope.pyi
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,3 @@ class Envelope:
message: Any
reply_to: Optional[Future]
def __init__(self, message: Any, reply_to: Optional[Future] = ...) -> None: ...
def __repr__(self) -> str: ...
1 change: 0 additions & 1 deletion src/pykka/_proxy.pyi
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,6 @@ class ActorProxy:
def _is_traversable_attribute(self, attr: Any) -> bool: ...
def __eq__(self, other: Any) -> bool: ...
def __hash__(self) -> int: ...
def __repr__(self) -> str: ...
def __dir__(self) -> Dict[str, Any]: ...
def __getattr__(
self, name: str
Expand Down
2 changes: 0 additions & 2 deletions src/pykka/_ref.pyi
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,6 @@ class ActorRef:
actor_inbox: ActorInbox
actor_stopped: threading.Event
def __init__(self, actor: Actor) -> None: ...
def __repr__(self) -> str: ...
def __str__(self) -> str: ...
def is_alive(self) -> bool: ...
def tell(self, message: Any) -> None: ...
@overload
Expand Down

0 comments on commit 1e5560a

Please sign in to comment.