-
Notifications
You must be signed in to change notification settings - Fork 21
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
report non-top level duplicate imports #182
Draft
DetachHead
wants to merge
1
commit into
main
Choose a base branch
from
report-duplicate-imports-refactor
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Draft
Conversation
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
Diff from mypy_primer, showing the effect of this PR on open source code: steam.py (https://github.com/Gobot1234/steam.py)
+ /tmp/mypy_primer/projects/steam.py/steam/abc.py:123:9 - error: "Comment" is imported more than once (reportDuplicateImport)
+ /tmp/mypy_primer/projects/steam.py/steam/abc.py:190:9 - error: "Comment" is imported more than once (reportDuplicateImport)
+ /tmp/mypy_primer/projects/steam.py/steam/abc.py:191:9 - error: "AwardReaction" is imported more than once (reportDuplicateImport)
+ /tmp/mypy_primer/projects/steam.py/steam/abc.py:642:9 - error: "Review" is imported more than once (reportDuplicateImport)
+ /tmp/mypy_primer/projects/steam.py/steam/abc.py:643:9 - error: "ClientUser" is imported more than once (reportDuplicateImport)
+ /tmp/mypy_primer/projects/steam.py/steam/abc.py:643:9 - error: "User" is imported more than once (reportDuplicateImport)
+ /tmp/mypy_primer/projects/steam.py/steam/abc.py:702:9 - error: "Review" is imported more than once (reportDuplicateImport)
+ /tmp/mypy_primer/projects/steam.py/steam/abc.py:703:9 - error: "ClientUser" is imported more than once (reportDuplicateImport)
+ /tmp/mypy_primer/projects/steam.py/steam/abc.py:703:9 - error: "User" is imported more than once (reportDuplicateImport)
+ /tmp/mypy_primer/projects/steam.py/steam/abc.py:781:9 - error: "PublishedFile" is imported more than once (reportDuplicateImport)
+ /tmp/mypy_primer/projects/steam.py/steam/abc.py:812:9 - error: "Post" is imported more than once (reportDuplicateImport)
+ /tmp/mypy_primer/projects/steam.py/steam/achievement.py:170:9 - error: "PartialApp" is imported more than once (reportDuplicateImport)
+ /tmp/mypy_primer/projects/steam.py/steam/achievement.py:216:9 - error: "PartialApp" is imported more than once (reportDuplicateImport)
+ /tmp/mypy_primer/projects/steam.py/steam/app.py:183:9 - error: "PartialPackage" is imported more than once (reportDuplicateImport)
+ /tmp/mypy_primer/projects/steam.py/steam/app.py:734:9 - error: "Leaderboard" is imported more than once (reportDuplicateImport)
+ /tmp/mypy_primer/projects/steam.py/steam/app.py:764:9 - error: "Leaderboard" is imported more than once (reportDuplicateImport)
+ /tmp/mypy_primer/projects/steam.py/steam/app.py:785:9 - error: "Leaderboard" is imported more than once (reportDuplicateImport)
+ /tmp/mypy_primer/projects/steam.py/steam/app.py:873:9 - error: "Review" is imported more than once (reportDuplicateImport)
+ /tmp/mypy_primer/projects/steam.py/steam/app.py:934:9 - error: "AppStoreItem" is imported more than once (reportDuplicateImport)
+ /tmp/mypy_primer/projects/steam.py/steam/app.py:1076:9 - error: "PublishedFile" is imported more than once (reportDuplicateImport)
+ /tmp/mypy_primer/projects/steam.py/steam/app.py:1619:9 - error: "PartialPackage" is imported more than once (reportDuplicateImport)
+ /tmp/mypy_primer/projects/steam.py/steam/app.py:1731:9 - error: "PartialPackage" is imported more than once (reportDuplicateImport)
+ /tmp/mypy_primer/projects/steam.py/steam/app.py:1761:9 - error: "FetchedAppPackage" is imported more than once (reportDuplicateImport)
+ /tmp/mypy_primer/projects/steam.py/steam/badge.py:124:9 - error: "STEAM" is imported more than once (reportDuplicateImport)
+ /tmp/mypy_primer/projects/steam.py/steam/badge.py:195:9 - error: "STEAM" is imported more than once (reportDuplicateImport)
+ /tmp/mypy_primer/projects/steam.py/steam/badge.py:195:9 - error: "PartialApp" is imported more than once (reportDuplicateImport)
+ /tmp/mypy_primer/projects/steam.py/steam/bundle.py:79:9 - error: "BundleStoreItem" is imported more than once (reportDuplicateImport)
+ /tmp/mypy_primer/projects/steam.py/steam/client.py:1294:9 - error: "TradeOffer" is imported more than once (reportDuplicateImport)
+ /tmp/mypy_primer/projects/steam.py/steam/event.py:313:9 - error: "Clan" is imported more than once (reportDuplicateImport)
+ /tmp/mypy_primer/projects/steam.py/steam/gateway.py:62:5 - error: "UIMode" is imported more than once (reportDuplicateImport)
+ /tmp/mypy_primer/projects/steam.py/steam/manifest.py:40:5 - error: "PurePathBase" is imported more than once (reportDuplicateImport)
+ /tmp/mypy_primer/projects/steam.py/steam/models.py:316:9 - error: "PartialApp" is imported more than once (reportDuplicateImport)
+ /tmp/mypy_primer/projects/steam.py/steam/models.py:414:9 - error: "PartialApp" is imported more than once (reportDuplicateImport)
+ /tmp/mypy_primer/projects/steam.py/steam/package.py:119:9 - error: "PackageStoreItem" is imported more than once (reportDuplicateImport)
+ /tmp/mypy_primer/projects/steam.py/steam/profile.py:31:5 - error: "id" is imported more than once (reportDuplicateImport)
+ /tmp/mypy_primer/projects/steam.py/steam/profile.py:369:9 - error: "PartialClan" is imported more than once (reportDuplicateImport)
+ /tmp/mypy_primer/projects/steam.py/steam/state.py:41:1 - error: "ClanMessage" is imported more than once (reportDuplicateImport)
+ /tmp/mypy_primer/projects/steam.py/steam/user.py:211:9 - error: "UserChannel" is imported more than once (reportDuplicateImport)
+ /tmp/mypy_primer/projects/steam.py/steam/user.py:218:9 - error: "UserMessage" is imported more than once (reportDuplicateImport)
+ /tmp/mypy_primer/projects/steam.py/steam/protobufs/msg.py:25:1 - error: "MessageHeader" is imported more than once (reportDuplicateImport)
- 8484 errors, 89 warnings, 0 notes
+ 8524 errors, 89 warnings, 0 notes
pandas (https://github.com/pandas-dev/pandas)
+ /tmp/mypy_primer/projects/pandas/pandas/__init__.py
+ /tmp/mypy_primer/projects/pandas/pandas/__init__.py:115:1 - error: "eval" is imported more than once (reportDuplicateImport)
+ /tmp/mypy_primer/projects/pandas/pandas/_testing/contexts.py
+ /tmp/mypy_primer/projects/pandas/pandas/_testing/contexts.py:170:9 - error: "nullcontext" is imported more than once (reportDuplicateImport)
+ /tmp/mypy_primer/projects/pandas/pandas/core/algorithms.py:834:5 - error: "Index" is imported more than once (reportDuplicateImport)
+ /tmp/mypy_primer/projects/pandas/pandas/core/algorithms.py:834:5 - error: "Series" is imported more than once (reportDuplicateImport)
+ /tmp/mypy_primer/projects/pandas/pandas/core/algorithms.py:1607:5 - error: "Series" is imported more than once (reportDuplicateImport)
+ /tmp/mypy_primer/projects/pandas/pandas/core/algorithms.py:1687:13 - error: "Series" is imported more than once (reportDuplicateImport)
+ /tmp/mypy_primer/projects/pandas/pandas/core/apply.py:386:13 - error: "Series" is imported more than once (reportDuplicateImport)
+ /tmp/mypy_primer/projects/pandas/pandas/core/apply.py:490:9 - error: "Index" is imported more than once (reportDuplicateImport)
+ /tmp/mypy_primer/projects/pandas/pandas/core/apply.py:524:13 - error: "Series" is imported more than once (reportDuplicateImport)
+ /tmp/mypy_primer/projects/pandas/pandas/core/apply.py:639:13 - error: "Index" is imported more than once (reportDuplicateImport)
+ /tmp/mypy_primer/projects/pandas/pandas/core/apply.py:938:9 - error: "Series" is imported more than once (reportDuplicateImport)
+ /tmp/mypy_primer/projects/pandas/pandas/core/apply.py:1082:9 - error: "Series" is imported more than once (reportDuplicateImport)
+ /tmp/mypy_primer/projects/pandas/pandas/core/apply.py:1126:9 - error: "Series" is imported more than once (reportDuplicateImport)
+ /tmp/mypy_primer/projects/pandas/pandas/core/apply.py:1268:9 - error: "Series" is imported more than once (reportDuplicateImport)
+ /tmp/mypy_primer/projects/pandas/pandas/core/apply.py:1718:5 - error: "Index" is imported more than once (reportDuplicateImport)
+ /tmp/mypy_primer/projects/pandas/pandas/core/apply.py:1802:5 - error: "Index" is imported more than once (reportDuplicateImport)
+ /tmp/mypy_primer/projects/pandas/pandas/core/apply.py:1850:5 - error: "DataFrame" is imported more than once (reportDuplicateImport)
+ /tmp/mypy_primer/projects/pandas/pandas/core/base.py:1105:9 - error: "Index" is imported more than once (reportDuplicateImport)
+ /tmp/mypy_primer/projects/pandas/pandas/core/base.py:1128:9 - error: "Index" is imported more than once (reportDuplicateImport)
+ /tmp/mypy_primer/projects/pandas/pandas/core/base.py:1202:13 - error: "Index" is imported more than once (reportDuplicateImport)
+ /tmp/mypy_primer/projects/pandas/pandas/core/construction.py:285:5 - error: "ExtensionArray" is imported more than once (reportDuplicateImport)
+ /tmp/mypy_primer/projects/pandas/pandas/core/construction.py:614:17 - error: "StringDtype" is imported more than once (reportDuplicateImport)
+ /tmp/mypy_primer/projects/pandas/pandas/core/frame.py:1376:9 - error: "Styler" is imported more than once (reportDuplicateImport)
+ /tmp/mypy_primer/projects/pandas/pandas/core/frame.py:8935:9 - error: "DataFrameGroupBy" is imported more than once (reportDuplicateImport)
+ /tmp/mypy_primer/projects/pandas/pandas/core/generic.py:593:9 - error: "Series" is imported more than once (reportDuplicateImport)
+ /tmp/mypy_primer/projects/pandas/pandas/core/generic.py:6279:13 - error: "Series" is imported more than once (reportDuplicateImport)
+ /tmp/mypy_primer/projects/pandas/pandas/core/generic.py:6920:21 - error: "Series" is imported more than once (reportDuplicateImport)
+ /tmp/mypy_primer/projects/pandas/pandas/core/generic.py:7402:21 - error: "Series" is imported more than once (reportDuplicateImport)
+ /tmp/mypy_primer/projects/pandas/pandas/core/indexing.py:1959:13 - error: "Series" is imported more than once (reportDuplicateImport)
+ /tmp/mypy_primer/projects/pandas/pandas/core/indexing.py:2181:9 - error: "Series" is imported more than once (reportDuplicateImport)
+ /tmp/mypy_primer/projects/pandas/pandas/core/indexing.py:2219:9 - error: "Series" is imported more than once (reportDuplicateImport)
+ /tmp/mypy_primer/projects/pandas/pandas/core/missing.py:315:9 - error: "Index" is imported more than once (reportDuplicateImport)
+ /tmp/mypy_primer/projects/pandas/pandas/core/resample.py:1389:13 - error: "Series" is imported more than once (reportDuplicateImport)
+ /tmp/mypy_primer/projects/pandas/pandas/core/resample.py:1408:17 - error: "DataFrame" is imported more than once (reportDuplicateImport)
+ /tmp/mypy_primer/projects/pandas/pandas/core/series.py:594:9 - error: "DataFrame" is imported more than once (reportDuplicateImport)
+ /tmp/mypy_primer/projects/pandas/pandas/core/series.py:599:9 - error: "DataFrame" is imported more than once (reportDuplicateImport)
+ /tmp/mypy_primer/projects/pandas/pandas/core/series.py:604:9 - error: "DataFrame" is imported more than once (reportDuplicateImport)
+ /tmp/mypy_primer/projects/pandas/pandas/core/series.py:1957:9 - error: "SeriesGroupBy" is imported more than once (reportDuplicateImport)
+ /tmp/mypy_primer/projects/pandas/pandas/core/sorting.py:562:5 - error: "Index" is imported more than once (reportDuplicateImport)
+ /tmp/mypy_primer/projects/pandas/pandas/core/arrays/_mixins.py:491:9 - error: "Series" is imported more than once (reportDuplicateImport)
+ /tmp/mypy_primer/projects/pandas/pandas/core/arrays/categorical.py:666:9 - error: "Index" is imported more than once (reportDuplicateImport)
+ /tmp/mypy_primer/projects/pandas/pandas/core/arrays/categorical.py:1367:13 - error: "Series" is imported more than once (reportDuplicateImport)
+ /tmp/mypy_primer/projects/pandas/pandas/core/arrays/categorical.py:1425:9 - error: "Index" is imported more than once (reportDuplicateImport)
+ /tmp/mypy_primer/projects/pandas/pandas/core/arrays/categorical.py:1844:9 - error: "Series" is imported more than once (reportDuplicateImport)
+ /tmp/mypy_primer/projects/pandas/pandas/core/arrays/categorical.py:2115:9 - error: "Series" is imported more than once (reportDuplicateImport)
+ /tmp/mypy_primer/projects/pandas/pandas/core/arrays/categorical.py:2345:9 - error: "Index" is imported more than once (reportDuplicateImport)
+ /tmp/mypy_primer/projects/pandas/pandas/core/arrays/categorical.py:2622:9 - error: "Index" is imported more than once (reportDuplicateImport)
+ /tmp/mypy_primer/projects/pandas/pandas/core/arrays/categorical.py:2683:9 - error: "Index" is imported more than once (reportDuplicateImport)
+ /tmp/mypy_primer/projects/pandas/pandas/core/arrays/categorical.py:2985:9 - error: "Series" is imported more than once (reportDuplicateImport)
+ /tmp/mypy_primer/projects/pandas/pandas/core/arrays/categorical.py:2990:9 - error: "Series" is imported more than once (reportDuplicateImport)
+ /tmp/mypy_primer/projects/pandas/pandas/core/arrays/datetimelike.py:734:9 - error: "Index" is imported more than once (reportDuplicateImport)
+ /tmp/mypy_primer/projects/pandas/pandas/core/arrays/datetimelike.py:1087:9 - error: "DatetimeArray" is imported more than once (reportDuplicateImport)
+ /tmp/mypy_primer/projects/pandas/pandas/core/arrays/datetimelike.py:1158:9 - error: "TimedeltaArray" is imported more than once (reportDuplicateImport)
+ /tmp/mypy_primer/projects/pandas/pandas/core/arrays/datetimelike.py:1180:9 - error: "PeriodArray" is imported more than once (reportDuplicateImport)
+ /tmp/mypy_primer/projects/pandas/pandas/core/arrays/datetimelike.py:1407:13 - error: "TimedeltaArray" is imported more than once (reportDuplicateImport)
+ /tmp/mypy_primer/projects/pandas/pandas/core/arrays/datetimelike.py:1467:13 - error: "TimedeltaArray" is imported more than once (reportDuplicateImport)
+ /tmp/mypy_primer/projects/pandas/pandas/core/arrays/datetimelike.py:1486:17 - error: "DatetimeArray" is imported more than once (reportDuplicateImport)
+ /tmp/mypy_primer/projects/pandas/pandas/core/arrays/datetimelike.py:1719:13 - error: "TimedeltaArray" is imported more than once (reportDuplicateImport)
+ /tmp/mypy_primer/projects/pandas/pandas/core/arrays/datetimes.py:1232:9 - error: "PeriodArray" is imported more than once (reportDuplicateImport)
+ /tmp/mypy_primer/projects/pandas/pandas/core/arrays/datetimes.py:1520:9 - error: "DataFrame" is imported more than once (reportDuplicateImport)
+ /tmp/mypy_primer/projects/pandas/pandas/core/arrays/interval.py:975:9 - error: "Index" is imported more than once (reportDuplicateImport)
+ /tmp/mypy_primer/projects/pandas/pandas/core/arrays/interval.py:1081:13 - error: "Index" is imported more than once (reportDuplicateImport)
+ /tmp/mypy_primer/projects/pandas/pandas/core/arrays/interval.py:1280:9 - error: "Index" is imported more than once (reportDuplicateImport)
+ /tmp/mypy_primer/projects/pandas/pandas/core/arrays/interval.py:1300:9 - error: "Index" is imported more than once (reportDuplicateImport)
+ /tmp/mypy_primer/projects/pandas/pandas/core/arrays/masked.py:645:13 - error: "BooleanArray" is imported more than once (reportDuplicateImport)
+ /tmp/mypy_primer/projects/pandas/pandas/core/arrays/masked.py:645:13 - error: "FloatingArray" is imported more than once (reportDuplicateImport)
+ /tmp/mypy_primer/projects/pandas/pandas/core/arrays/masked.py:809:9 - error: "BooleanArray" is imported more than once (reportDuplicateImport)
+ /tmp/mypy_primer/projects/pandas/pandas/core/arrays/masked.py:866:13 - error: "FloatingArray" is imported more than once (reportDuplicateImport)
+ /tmp/mypy_primer/projects/pandas/pandas/core/arrays/masked.py:871:13 - error: "BooleanArray" is imported more than once (reportDuplicateImport)
... (truncated 117 lines) ...
antidote (https://github.com/Finistere/antidote)
+ /tmp/mypy_primer/projects/antidote/src/antidote/_internal/utils.py:163:9 - error: "inject" is imported more than once (reportDuplicateImport)
+ /tmp/mypy_primer/projects/antidote/src/antidote/core/_catalog.py:170:9 - error: "debug_str" is imported more than once (reportDuplicateImport)
+ /tmp/mypy_primer/projects/antidote/src/antidote/core/_catalog.py:245:9 - error: "CatalogProvidersMapping" is imported more than once (reportDuplicateImport)
+ /tmp/mypy_primer/projects/antidote/src/antidote/core/_inject.py:319:9 - error: "Sequence" is imported more than once (reportDuplicateImport)
+ /tmp/mypy_primer/projects/antidote/src/antidote/core/_scope.py
+ /tmp/mypy_primer/projects/antidote/src/antidote/core/_scope.py:48:9 - error: "ScopeVarToken" is imported more than once (reportDuplicateImport)
+ /tmp/mypy_primer/projects/antidote/src/antidote/core/_raw/__init__.py:81:5 - error: "InjectionBlueprint" is imported more than once (reportDuplicateImport)
+ /tmp/mypy_primer/projects/antidote/src/antidote/core/_raw/__init__.py:117:5 - error: "InjectionBlueprint" is imported more than once (reportDuplicateImport)
+ /tmp/mypy_primer/projects/antidote/src/antidote/lib/interface_ext/__init__.py:955:9 - error: "create_constraints" is imported more than once (reportDuplicateImport)
+ /tmp/mypy_primer/projects/antidote/src/antidote/lib/interface_ext/_function.py:74:9 - error: "create_constraints" is imported more than once (reportDuplicateImport)
+ /tmp/mypy_primer/projects/antidote/src/antidote/lib/interface_ext/_function.py:113:9 - error: "create_constraints" is imported more than once (reportDuplicateImport)
+ /tmp/mypy_primer/projects/antidote/src/antidote/lib/interface_ext/_function.py:139:9 - error: "create_constraints" is imported more than once (reportDuplicateImport)
+ /tmp/mypy_primer/projects/antidote/src/antidote/lib/interface_ext/_interface.py:341:9 - error: "LazyInterfaceImpl" is imported more than once (reportDuplicateImport)
- 731 errors, 77 warnings, 0 notes
+ 743 errors, 77 warnings, 0 notes
PyWinCtl (https://github.com/Kalmat/PyWinCtl)
+ /tmp/mypy_primer/projects/PyWinCtl/src/pywinctl/_main.py:997:5 - error: "Window" is imported more than once (reportDuplicateImport)
+ /tmp/mypy_primer/projects/PyWinCtl/src/pywinctl/_main.py:997:5 - error: "checkPermissions" is imported more than once (reportDuplicateImport)
+ /tmp/mypy_primer/projects/PyWinCtl/src/pywinctl/_main.py:997:5 - error: "getActiveWindow" is imported more than once (reportDuplicateImport)
+ /tmp/mypy_primer/projects/PyWinCtl/src/pywinctl/_main.py:997:5 - error: "getActiveWindowTitle" is imported more than once (reportDuplicateImport)
+ /tmp/mypy_primer/projects/PyWinCtl/src/pywinctl/_main.py:997:5 - error: "getAllAppsNames" is imported more than once (reportDuplicateImport)
+ /tmp/mypy_primer/projects/PyWinCtl/src/pywinctl/_main.py:997:5 - error: "getAllAppsWindowsTitles" is imported more than once (reportDuplicateImport)
+ /tmp/mypy_primer/projects/PyWinCtl/src/pywinctl/_main.py:997:5 - error: "getAllTitles" is imported more than once (reportDuplicateImport)
+ /tmp/mypy_primer/projects/PyWinCtl/src/pywinctl/_main.py:997:5 - error: "getAllWindows" is imported more than once (reportDuplicateImport)
+ /tmp/mypy_primer/projects/PyWinCtl/src/pywinctl/_main.py:997:5 - error: "getAppsWithName" is imported more than once (reportDuplicateImport)
+ /tmp/mypy_primer/projects/PyWinCtl/src/pywinctl/_main.py:997:5 - error: "getWindowsWithTitle" is imported more than once (reportDuplicateImport)
+ /tmp/mypy_primer/projects/PyWinCtl/src/pywinctl/_main.py:997:5 - error: "getTopWindowAt" is imported more than once (reportDuplicateImport)
+ /tmp/mypy_primer/projects/PyWinCtl/src/pywinctl/_main.py:997:5 - error: "getWindowsAt" is imported more than once (reportDuplicateImport)
+ /tmp/mypy_primer/projects/PyWinCtl/src/pywinctl/_main.py:1004:5 - error: "Window" is imported more than once (reportDuplicateImport)
+ /tmp/mypy_primer/projects/PyWinCtl/src/pywinctl/_main.py:1004:5 - error: "checkPermissions" is imported more than once (reportDuplicateImport)
+ /tmp/mypy_primer/projects/PyWinCtl/src/pywinctl/_main.py:1004:5 - error: "getActiveWindow" is imported more than once (reportDuplicateImport)
+ /tmp/mypy_primer/projects/PyWinCtl/src/pywinctl/_main.py:1004:5 - error: "getActiveWindowTitle" is imported more than once (reportDuplicateImport)
+ /tmp/mypy_primer/projects/PyWinCtl/src/pywinctl/_main.py:1004:5 - error: "getAllAppsNames" is imported more than once (reportDuplicateImport)
+ /tmp/mypy_primer/projects/PyWinCtl/src/pywinctl/_main.py:1004:5 - error: "getAllAppsWindowsTitles" is imported more than once (reportDuplicateImport)
+ /tmp/mypy_primer/projects/PyWinCtl/src/pywinctl/_main.py:1004:5 - error: "getAllTitles" is imported more than once (reportDuplicateImport)
+ /tmp/mypy_primer/projects/PyWinCtl/src/pywinctl/_main.py:1004:5 - error: "getAllWindows" is imported more than once (reportDuplicateImport)
+ /tmp/mypy_primer/projects/PyWinCtl/src/pywinctl/_main.py:1004:5 - error: "getAppsWithName" is imported more than once (reportDuplicateImport)
+ /tmp/mypy_primer/projects/PyWinCtl/src/pywinctl/_main.py:1004:5 - error: "getWindowsWithTitle" is imported more than once (reportDuplicateImport)
+ /tmp/mypy_primer/projects/PyWinCtl/src/pywinctl/_main.py:1004:5 - error: "getTopWindowAt" is imported more than once (reportDuplicateImport)
+ /tmp/mypy_primer/projects/PyWinCtl/src/pywinctl/_main.py:1004:5 - error: "getWindowsAt" is imported more than once (reportDuplicateImport)
- 2264 errors, 0 warnings, 0 notes
+ 2288 errors, 0 warnings, 0 notes
Expression (https://github.com/cognitedata/Expression)
+ /tmp/mypy_primer/projects/Expression/expression/collections/__init__.py
+ /tmp/mypy_primer/projects/Expression/expression/collections/__init__.py:2:1 - error: "map" is imported more than once (reportDuplicateImport)
+ /tmp/mypy_primer/projects/Expression/expression/collections/seq.py:891:5 - error: "Block" is imported more than once (reportDuplicateImport)
+ /tmp/mypy_primer/projects/Expression/expression/core/__init__.py
+ /tmp/mypy_primer/projects/Expression/expression/core/__init__.py:5:1 - error: "compose" is imported more than once (reportDuplicateImport)
+ /tmp/mypy_primer/projects/Expression/expression/core/__init__.py:6:1 - error: "curry" is imported more than once (reportDuplicateImport)
+ /tmp/mypy_primer/projects/Expression/expression/core/__init__.py:12:1 - error: "pipe" is imported more than once (reportDuplicateImport)
+ /tmp/mypy_primer/projects/Expression/expression/core/__init__.py:14:1 - error: "tagged_union" is imported more than once (reportDuplicateImport)
+ /tmp/mypy_primer/projects/Expression/expression/core/option.py:184:9 - error: "Seq" is imported more than once (reportDuplicateImport)
+ /tmp/mypy_primer/projects/Expression/expression/core/option.py:233:9 - error: "Result" is imported more than once (reportDuplicateImport)
+ /tmp/mypy_primer/projects/Expression/expression/core/option.py:243:9 - error: "Result" is imported more than once (reportDuplicateImport)
+ /tmp/mypy_primer/projects/Expression/expression/core/option.py:495:5 - error: "Result" is imported more than once (reportDuplicateImport)
+ /tmp/mypy_primer/projects/Expression/expression/effect/__init__.py
+ /tmp/mypy_primer/projects/Expression/expression/effect/__init__.py:3:1 - error: "option" is imported more than once (reportDuplicateImport)
+ /tmp/mypy_primer/projects/Expression/expression/effect/__init__.py:4:1 - error: "result" is imported more than once (reportDuplicateImport)
+ /tmp/mypy_primer/projects/Expression/expression/effect/__init__.py:6:1 - error: "seq" is imported more than once (reportDuplicateImport)
+ /tmp/mypy_primer/projects/Expression/expression/extra/option/__init__.py
+ /tmp/mypy_primer/projects/Expression/expression/extra/option/__init__.py:3:1 - error: "pipeline" is imported more than once (reportDuplicateImport)
+ /tmp/mypy_primer/projects/Expression/expression/extra/result/__init__.py
+ /tmp/mypy_primer/projects/Expression/expression/extra/result/__init__.py:3:1 - error: "catch" is imported more than once (reportDuplicateImport)
+ /tmp/mypy_primer/projects/Expression/expression/extra/result/__init__.py:4:1 - error: "pipeline" is imported more than once (reportDuplicateImport)
+ /tmp/mypy_primer/projects/Expression/tests/test_block.py:2:1 - error: "list" is imported more than once (reportDuplicateImport)
+ /tmp/mypy_primer/projects/Expression/tests/test_map.py:7:1 - error: "map" is imported more than once (reportDuplicateImport)
+ /tmp/mypy_primer/projects/Expression/tests/test_option.py:21:1 - error: "Nothing" is imported more than once (reportDuplicateImport)
+ /tmp/mypy_primer/projects/Expression/tests/test_option.py:21:1 - error: "Option" is imported more than once (reportDuplicateImport)
+ /tmp/mypy_primer/projects/Expression/tests/test_option.py:21:1 - error: "Some" is imported more than once (reportDuplicateImport)
- 335 errors, 6 warnings, 0 notes
+ 356 errors, 6 warnings, 0 notes
trio (https://github.com/python-trio/trio)
+ /tmp/mypy_primer/projects/trio/src/trio/__init__.py:116:1 - error: "_deprecate" is imported more than once (reportDuplicateImport)
+ /tmp/mypy_primer/projects/trio/src/trio/_dtls.py:1199:9 - error: "SSL" is imported more than once (reportDuplicateImport)
+ /tmp/mypy_primer/projects/trio/src/trio/_core/_run.py:2809:5 - error: "TheIOManager" is imported more than once (reportDuplicateImport)
+ /tmp/mypy_primer/projects/trio/src/trio/_core/_run.py:2809:5 - error: "EventResult" is imported more than once (reportDuplicateImport)
+ /tmp/mypy_primer/projects/trio/src/trio/_core/_run.py:2809:5 - error: "IOStatistics" is imported more than once (reportDuplicateImport)
+ /tmp/mypy_primer/projects/trio/src/trio/_core/_run.py:2816:5 - error: "EventResult" is imported more than once (reportDuplicateImport)
+ /tmp/mypy_primer/projects/trio/src/trio/_core/_run.py:2816:5 - error: "TheIOManager" is imported more than once (reportDuplicateImport)
+ /tmp/mypy_primer/projects/trio/src/trio/_core/_run.py:2816:5 - error: "IOStatistics" is imported more than once (reportDuplicateImport)
+ /tmp/mypy_primer/projects/trio/src/trio/_subprocess_platform/__init__.py:72:9 - error: "wait_child_exiting" is imported more than once (reportDuplicateImport)
+ /tmp/mypy_primer/projects/trio/src/trio/_subprocess_platform/__init__.py:74:9 - error: "wait_child_exiting" is imported more than once (reportDuplicateImport)
+ /tmp/mypy_primer/projects/trio/src/trio/_subprocess_platform/__init__.py:77:9 - error: "wait_child_exiting" is imported more than once (reportDuplicateImport)
+ /tmp/mypy_primer/projects/trio/src/trio/_tests/test_subprocess.py:59:5 - error: "SIGKILL" is imported more than once (reportDuplicateImport)
+ /tmp/mypy_primer/projects/trio/src/trio/_tests/test_subprocess.py:59:5 - error: "SIGTERM" is imported more than once (reportDuplicateImport)
+ /tmp/mypy_primer/projects/trio/src/trio/_tests/test_subprocess.py:59:5 - error: "SIGUSR1" is imported more than once (reportDuplicateImport)
+ /tmp/mypy_primer/projects/trio/src/trio/_tests/test_sync.py:411:1 - error: "AsyncContextManagerMixin" is imported more than once (reportDuplicateImport)
+ /tmp/mypy_primer/projects/trio/src/trio/_tests/test_unix_pipes.py:24:9 - error: "FdStream" is imported more than once (reportDuplicateImport)
- 3997 errors, 51 warnings, 0 notes
+ 4013 errors, 51 warnings, 0 notes
pandas-stubs (https://github.com/pandas-dev/pandas-stubs)
+ /tmp/mypy_primer/projects/pandas-stubs/pandas-stubs/__init__.pyi
+ /tmp/mypy_primer/projects/pandas-stubs/pandas-stubs/__init__.pyi:69:1 - error: "eval" is imported more than once (reportDuplicateImport)
+ /tmp/mypy_primer/projects/pandas-stubs/pandas-stubs/core/computation/api.pyi
+ /tmp/mypy_primer/projects/pandas-stubs/pandas-stubs/core/computation/api.pyi:1:1 - error: "eval" is imported more than once (reportDuplicateImport)
- 1411 errors, 0 warnings, 0 notes
+ 1413 errors, 0 warnings, 0 notes
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
fixes #117
need to figure out how to do this on module name imports, eg: