diff options
author | Stephane Wirtel <stephane@wirtel.be> | 2015-09-21 12:54:56 +0100 |
---|---|---|
committer | Stephane Wirtel <stephane@wirtel.be> | 2015-09-21 12:54:56 +0100 |
commit | 6ff876101062f3aee3d5db8628e3ed374e1db218 (patch) | |
tree | 4da5bbb8169c703657994ebda5d91d81d1da4456 /pylint/test/functional/nonlocal_and_global.py | |
parent | ab44b65cd5c3302672c621c0fd3cfae9a68d1d04 (diff) | |
download | pylint-fix-582.tar.gz |
Add a new check for the nonlocal variables without binding (close issue #582)fix-582
Diffstat (limited to 'pylint/test/functional/nonlocal_and_global.py')
-rw-r--r-- | pylint/test/functional/nonlocal_and_global.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pylint/test/functional/nonlocal_and_global.py b/pylint/test/functional/nonlocal_and_global.py index c601a29..9400524 100644 --- a/pylint/test/functional/nonlocal_and_global.py +++ b/pylint/test/functional/nonlocal_and_global.py @@ -1,5 +1,5 @@ """Test that a name is both nonlocal and global in the same scope."""
-# pylint: disable=missing-docstring,global-variable-not-assigned,invalid-name
+# pylint: disable=missing-docstring,global-variable-not-assigned,invalid-name,nonlocal-without-binding
def bad(): # [nonlocal-and-global]
nonlocal missing
|