-
Notifications
You must be signed in to change notification settings - Fork 3.3k
[pylint] Added in custom PyLint Checker for Aliasing, with tests #23383
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
Merged
Merged
Changes from all commits
Commits
Show all changes
29 commits
Select commit
Hold shift + click to select a range
9986c04
intro patch for aliasing - needs better way to grab __all__ info
l0lawrence a4a0533
Merge branch 'Azure:main' into main
l0lawrence d2e9a77
updated alias message
l0lawrence a4c837f
line number shows up with alias warning
l0lawrence 3b8f1ae
working on testing this, slight mod to isinstance
l0lawrence b5dd0f9
tests for aliasing
l0lawrence ae83069
updated docstring
l0lawrence 72ee2fe
Merge branch 'Azure:main' into main
l0lawrence 1741ebb
removing random import
l0lawrence 244750e
adding in a newline
l0lawrence d2c9640
adding in a newline
l0lawrence dbc9956
Merge branch 'Azure:main' into main
l0lawrence 3113dc1
changing naming of error message
l0lawrence 1ccaba5
changing package to model in except
l0lawrence cf8c01f
checking for only __all__ assign Node (cat)
l0lawrence a8088ef
added alias checker to README
l0lawrence 240b7cb
added test file to test disable pylint warning
l0lawrence f331124
add from import test
l0lawrence 7e22b45
removed unused imports
l0lawrence 741acb1
changing test names for clarity
l0lawrence 606e5f6
Merge branch 'Azure:main' into main
l0lawrence b574a63
added newline
l0lawrence cac5e55
Merge branch 'Azure:main' into main
l0lawrence be8e062
Merge branch 'main' of https://github.com/l0lawrence/azure-sdk-for-py…
l0lawrence ded8677
added link from Izzy
l0lawrence 0b69f3a
fixed some issues with the links
l0lawrence 2698c99
fixed some issues with the links2
l0lawrence 0501c81
fix for running core on pylint pr
l0lawrence d7fccdd
removed cr
l0lawrence File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or 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 hidden or 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 hidden or 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 |
|---|---|---|
| @@ -0,0 +1,7 @@ | ||
| from something import Something | ||
| from something2 import something2 as somethingTwo | ||
|
|
||
| __all__ = ( | ||
| Something, | ||
| somethingTwo, #pylint: disable=aliasing-generated-code | ||
| ) |
This file contains hidden or 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
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.
Uh oh!
There was an error while loading. Please reload this page.