diff options
| author | ssolanki <sushobhitsolanki@gmail.com> | 2018-08-17 16:33:13 +0530 |
|---|---|---|
| committer | Claudiu Popa <pcmanticore@gmail.com> | 2018-08-21 11:12:43 +0200 |
| commit | 8b2e7b9c9e7bfa9449970a8f4ab020b9afcc592c (patch) | |
| tree | 3598826bc2c3b67b0e792e534d9e0cda4a734385 /pylint/checkers/utils.py | |
| parent | 438218ac4141899341acb57e5591e992c6aabfef (diff) | |
| download | pylint-git-8b2e7b9c9e7bfa9449970a8f4ab020b9afcc592c.tar.gz | |
disable some type checking and annotate simple one
Diffstat (limited to 'pylint/checkers/utils.py')
| -rw-r--r-- | pylint/checkers/utils.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/pylint/checkers/utils.py b/pylint/checkers/utils.py index c529d5355..583757e49 100644 --- a/pylint/checkers/utils.py +++ b/pylint/checkers/utils.py @@ -109,7 +109,7 @@ _SPECIAL_METHODS_PARAMS = { SPECIAL_METHODS_PARAMS = { name: params for params, methods in _SPECIAL_METHODS_PARAMS.items() - for name in methods + for name in methods # type: ignore } PYMETHODS = set(SPECIAL_METHODS_PARAMS) @@ -191,7 +191,7 @@ def is_raising(body): return True return False -builtins = builtins.__dict__.copy() +builtins = builtins.__dict__.copy() # type: ignore SPECIAL_BUILTINS = ('__builtins__',) # '__path__', '__file__') def is_builtin_object(node): |
