-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
9a546d0
commit e46f6e2
Showing
13 changed files
with
277 additions
and
192 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
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,18 +1,18 @@ | ||
import dataclasses | ||
from typing import List, Optional | ||
from typing import Optional | ||
|
||
|
||
@dataclasses.dataclass | ||
class ImportInfo: | ||
module: List[str] | ||
name: List[str] | ||
module: list[str] | ||
name: list[str] | ||
alias: Optional[str] = None | ||
|
||
|
||
@dataclasses.dataclass | ||
class DependencyInfo: | ||
name: str # as defined in the dependencies specification file | ||
top_level_import_names: Optional[List[str]] = None | ||
record_import_names: Optional[List[str]] = None | ||
top_level_import_names: Optional[list[str]] = None | ||
record_import_names: Optional[list[str]] = None | ||
canonicalized_dep_name: Optional[str] = None | ||
associated_imports: List[ImportInfo] = dataclasses.field(default_factory=list) | ||
associated_imports: list[ImportInfo] = dataclasses.field(default_factory=list) |
Oops, something went wrong.