You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Pylint gives various spurious warnings here in override_func: it does not realize that def func1():... assigns a new value at the global level too, and thinks that there is no previous binding for func2 before overriding it.
* Make ``global-variable-not-assigned`` check local scope
This checker now checks whether the names after the global keyword
are reassigned in the local scope.
This closes#1375
* Make ``global-variable-not-assigned`` check functions
This checker now also checks function defintions in the module and local scope
This closes#330
Co-authored-by: Pierre Sassoulas <pierre.sassoulas@gmail.com>
msuozzo
pushed a commit
to msuozzo/pylint
that referenced
this issue
Feb 18, 2022
* changes without context
autosynth cannot find the source of changes triggered by earlier changes in this
repository, or by version upgrades to tools such as linters.
* chore: add pre-commit-config to renovate ignore paths
Disable renovate PRs on the .pre-commit-config.yaml which is templated from synthtool. https://docs.renovatebot.com/configuration-options/#ignorepaths
Source-Author: Bu Sun Kim <8822365+busunkim96@users.noreply.github.com>
Source-Date: Mon Mar 15 09:05:39 2021 -0600
Source-Repo: googleapis/synthtool
Source-Sha: 2c54c473779ea731128cea61a3a6c975a08a5378
Source-Link: googleapis/synthtool@2c54c47
Co-authored-by: Christopher Wilcox <crwilcox@google.com>
Originally reported by: Antony Lee (BitBucket: anntzer, GitHub: @anntzer?)
Pylint gives various spurious warnings here in
override_func
: it does not realize thatdef func1():...
assigns a new value at the global level too, and thinks that there is no previous binding forfunc2
before overriding it.The text was updated successfully, but these errors were encountered: