-
Notifications
You must be signed in to change notification settings - Fork 240
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Bump mypy from 1.13.0 to 1.14.1 (#5193)
* Bump mypy from 1.13.0 to 1.14.1 Bumps [mypy](https://github.com/python/mypy) from 1.13.0 to 1.14.1. - [Changelog](https://github.com/python/mypy/blob/master/CHANGELOG.md) - [Commits](python/mypy@v1.13.0...v1.14.1) --- updated-dependencies: - dependency-name: mypy dependency-type: direct:development update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <[email protected]> * type stubs: upgrade for newer stricter mypy 1.14 https://typing.readthedocs.io/en/latest/spec/enums.html#defining-members --------- Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Michael R. Crusoe <[email protected]>
- Loading branch information
1 parent
fe9a811
commit e49bc5f
Showing
3 changed files
with
17 additions
and
21 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,19 +1,15 @@ | ||
from .topicobj import Topic as Topic | ||
from enum import IntEnum | ||
|
||
from _typeshed import Incomplete | ||
|
||
from .topicobj import Topic | ||
from typing import Optional | ||
|
||
class ITopicTreeVisitor: ... | ||
|
||
class TreeTraversal(IntEnum): | ||
DEPTH: Incomplete | ||
BREADTH: Incomplete | ||
MAP: Incomplete | ||
DEPTH = 0 | ||
BREADTH = 1 | ||
MAP = 2 | ||
|
||
class TopicTreeTraverser: | ||
def __init__(self, visitor: ITopicTreeVisitor = ...) -> None: ... | ||
def __init__(self, visitor: Optional[ITopicTreeVisitor] = None) -> None: ... | ||
def setVisitor(self, visitor: ITopicTreeVisitor) -> None: ... | ||
def traverse( | ||
self, topicObj: Topic, how: TreeTraversal = ..., onlyFiltered: bool = ... | ||
) -> None: ... | ||
def traverse(self, topicObj: Topic, how: TreeTraversal = ..., onlyFiltered: bool = True) -> None: ... |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters