Created
August 4, 2016 18:58
-
-
Save anonymous/5c2c83a06800c2d5388e30aa93333115 to your computer and use it in GitHub Desktop.
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
# pip install pylint | |
Downloading/unpacking pylint | |
Downloading pylint-1.6.4-py2.py3-none-any.whl (569kB): 569kB downloaded | |
Requirement already satisfied (use --upgrade to upgrade): configparser in /usr/local/lib/python2.7/dist-packages (from pylint) | |
Requirement already satisfied (use --upgrade to upgrade): backports.functools-lru-cache in /usr/local/lib/python2.7/dist-packages (from pylint) | |
Requirement already satisfied (use --upgrade to upgrade): six in /usr/local/lib/python2.7/dist-packages (from pylint) | |
Requirement already satisfied (use --upgrade to upgrade): isort>=4.2.5 in /usr/local/lib/python2.7/dist-packages (from pylint) | |
Requirement already satisfied (use --upgrade to upgrade): mccabe in /usr/local/lib/python2.7/dist-packages (from pylint) | |
Requirement already satisfied (use --upgrade to upgrade): astroid>=1.4.5,<1.5.0 in /usr/local/lib/python2.7/dist-packages (from pylint) | |
Installing collected packages: pylint | |
Compiling /tmp/pip_build_root/pylint/pylint/test/functional/abstract_class_instantiated_py3.py ... | |
File "/tmp/pip_build_root/pylint/pylint/test/functional/abstract_class_instantiated_py3.py", line 14 | |
class GoodClass(object, metaclass=abc.ABCMeta): | |
^ | |
SyntaxError: invalid syntax | |
Compiling /tmp/pip_build_root/pylint/pylint/test/functional/abstract_method_py3.py ... | |
File "/tmp/pip_build_root/pylint/pylint/test/functional/abstract_method_py3.py", line 35 | |
class Structure(object, metaclass=abc.ABCMeta): | |
^ | |
SyntaxError: invalid syntax | |
/tmp/pip_build_root/pylint/pylint/test/functional/assert_on_tuple.py:4: SyntaxWarning: assertion is always true, perhaps remove parentheses? | |
assert (1 == 1, 2 == 2), "no error" | |
/tmp/pip_build_root/pylint/pylint/test/functional/assert_on_tuple.py:5: SyntaxWarning: assertion is always true, perhaps remove parentheses? | |
assert (1 == 1, 2 == 2) # [assert-on-tuple] | |
/tmp/pip_build_root/pylint/pylint/test/functional/assert_on_tuple.py:7: SyntaxWarning: assertion is always true, perhaps remove parentheses? | |
assert (1 == 1, ), "no error" | |
/tmp/pip_build_root/pylint/pylint/test/functional/assert_on_tuple.py:8: SyntaxWarning: assertion is always true, perhaps remove parentheses? | |
assert (1 == 1, ) | |
/tmp/pip_build_root/pylint/pylint/test/functional/assert_on_tuple.py:9: SyntaxWarning: assertion is always true, perhaps remove parentheses? | |
assert (1 == 1, 2 == 2, 3 == 5), "no error" | |
/tmp/pip_build_root/pylint/pylint/test/functional/assert_on_tuple.py:11: SyntaxWarning: assertion is always true, perhaps remove parentheses? | |
assert (True, 'error msg') # [assert-on-tuple] | |
Compiling /tmp/pip_build_root/pylint/pylint/test/functional/async_functions.py ... | |
File "/tmp/pip_build_root/pylint/pylint/test/functional/async_functions.py", line 5 | |
async def next(): # [redefined-builtin] | |
^ | |
SyntaxError: invalid syntax | |
Compiling /tmp/pip_build_root/pylint/pylint/test/functional/bad_exception_context.py ... | |
File "/tmp/pip_build_root/pylint/pylint/test/functional/bad_exception_context.py", line 14 | |
raise IndexError from 1 # [bad-exception-context] | |
^ | |
SyntaxError: invalid syntax | |
Compiling /tmp/pip_build_root/pylint/pylint/test/functional/class_members_py30.py ... | |
File "/tmp/pip_build_root/pylint/pylint/test/functional/class_members_py30.py", line 34 | |
class TestMetaclass(object, metaclass=ABCMeta): | |
^ | |
SyntaxError: invalid syntax | |
Compiling /tmp/pip_build_root/pylint/pylint/test/functional/continue_in_finally.py ... | |
File "/tmp/pip_build_root/pylint/pylint/test/functional/continue_in_finally.py", line 9 | |
continue # [continue-in-finally] | |
SyntaxError: 'continue' not supported inside 'finally' clause | |
Compiling /tmp/pip_build_root/pylint/pylint/test/functional/duplicate_argument_name.py ... | |
SyntaxError: duplicate argument '_' in function definition (duplicate_argument_name.py, line 4) | |
Compiling /tmp/pip_build_root/pylint/pylint/test/functional/exec_used_py3.py ... | |
File "/tmp/pip_build_root/pylint/pylint/test/functional/exec_used_py3.py", line 4 | |
exec('a = 1', globals={}) # [exec-used] | |
^ | |
SyntaxError: invalid syntax | |
Compiling /tmp/pip_build_root/pylint/pylint/test/functional/invalid_star_assignment_target.py ... | |
File "/tmp/pip_build_root/pylint/pylint/test/functional/invalid_star_assignment_target.py", line 3 | |
*FIRST = [1, 2, 3] # [invalid-star-assignment-target] | |
^ | |
SyntaxError: invalid syntax | |
Compiling /tmp/pip_build_root/pylint/pylint/test/functional/iterable_context_py3.py ... | |
File "/tmp/pip_build_root/pylint/pylint/test/functional/iterable_context_py3.py", line 11 | |
class SomeClass(metaclass=Meta): | |
^ | |
SyntaxError: invalid syntax | |
Compiling /tmp/pip_build_root/pylint/pylint/test/functional/mapping_context_py3.py ... | |
File "/tmp/pip_build_root/pylint/pylint/test/functional/mapping_context_py3.py", line 15 | |
class SomeClass(metaclass=Meta): | |
^ | |
SyntaxError: invalid syntax | |
Compiling /tmp/pip_build_root/pylint/pylint/test/functional/membership_protocol_py3.py ... | |
File "/tmp/pip_build_root/pylint/pylint/test/functional/membership_protocol_py3.py", line 20 | |
class IterableClass(metaclass=MetaOldIterable): | |
^ | |
SyntaxError: invalid syntax | |
Compiling /tmp/pip_build_root/pylint/pylint/test/functional/misplaced_future.py ... | |
File "/tmp/pip_build_root/pylint/pylint/test/functional/misplaced_future.py", line 3 | |
from __future__ import print_function # [misplaced-future] | |
SyntaxError: from __future__ imports must occur at the beginning of the file | |
Compiling /tmp/pip_build_root/pylint/pylint/test/functional/nonlocal_and_global.py ... | |
File "/tmp/pip_build_root/pylint/pylint/test/functional/nonlocal_and_global.py", line 5 | |
nonlocal missing | |
^ | |
SyntaxError: invalid syntax | |
Compiling /tmp/pip_build_root/pylint/pylint/test/functional/nonlocal_without_binding.py ... | |
File "/tmp/pip_build_root/pylint/pylint/test/functional/nonlocal_without_binding.py", line 9 | |
nonlocal a | |
^ | |
SyntaxError: invalid syntax | |
Compiling /tmp/pip_build_root/pylint/pylint/test/functional/not_async_context_manager.py ... | |
File "/tmp/pip_build_root/pylint/pylint/test/functional/not_async_context_manager.py", line 50 | |
async def bad_coro(): | |
^ | |
SyntaxError: invalid syntax | |
Compiling /tmp/pip_build_root/pylint/pylint/test/functional/not_in_loop.py ... | |
File "/tmp/pip_build_root/pylint/pylint/test/functional/not_in_loop.py", line 7 | |
continue # [not-in-loop] | |
SyntaxError: 'continue' not properly in loop | |
Compiling /tmp/pip_build_root/pylint/pylint/test/functional/raising_non_exception_py3.py ... | |
File "/tmp/pip_build_root/pylint/pylint/test/functional/raising_non_exception_py3.py", line 13 | |
raise Exc from missing # [raising-non-exception] | |
^ | |
SyntaxError: invalid syntax | |
Compiling /tmp/pip_build_root/pylint/pylint/test/functional/return_outside_function.py ... | |
File "/tmp/pip_build_root/pylint/pylint/test/functional/return_outside_function.py", line 2 | |
return # [return-outside-function] | |
SyntaxError: 'return' outside function | |
Compiling /tmp/pip_build_root/pylint/pylint/test/functional/star_needs_assignment_target.py ... | |
File "/tmp/pip_build_root/pylint/pylint/test/functional/star_needs_assignment_target.py", line 3 | |
FIRST = *[1, 2] # [star-needs-assignment-target] | |
^ | |
SyntaxError: invalid syntax | |
Compiling /tmp/pip_build_root/pylint/pylint/test/functional/star_needs_assignment_target_py35.py ... | |
File "/tmp/pip_build_root/pylint/pylint/test/functional/star_needs_assignment_target_py35.py", line 8 | |
UNPACK_TUPLE = (*range(4), 4) | |
^ | |
SyntaxError: invalid syntax | |
Compiling /tmp/pip_build_root/pylint/pylint/test/functional/syntax_error.py ... | |
File "/tmp/pip_build_root/pylint/pylint/test/functional/syntax_error.py", line 1 | |
def toto # [syntax-error] | |
^ | |
SyntaxError: invalid syntax | |
Compiling /tmp/pip_build_root/pylint/pylint/test/functional/syntax_error_jython.py ... | |
File "/tmp/pip_build_root/pylint/pylint/test/functional/syntax_error_jython.py", line 1 | |
def toto # [syntax-error] | |
^ | |
SyntaxError: invalid syntax | |
Compiling /tmp/pip_build_root/pylint/pylint/test/functional/too_many_star_expressions.py ... | |
File "/tmp/pip_build_root/pylint/pylint/test/functional/too_many_star_expressions.py", line 3 | |
*FIRST, *SECOND = [1, 2, 3] # [too-many-star-expressions] | |
^ | |
SyntaxError: invalid syntax | |
Compiling /tmp/pip_build_root/pylint/pylint/test/functional/unbalanced_tuple_unpacking_py30.py ... | |
File "/tmp/pip_build_root/pylint/pylint/test/functional/unbalanced_tuple_unpacking_py30.py", line 9 | |
first, second, *last = (1, 2, 3, 4) | |
^ | |
SyntaxError: invalid syntax | |
Compiling /tmp/pip_build_root/pylint/pylint/test/functional/undefined_variable_py30.py ... | |
File "/tmp/pip_build_root/pylint/pylint/test/functional/undefined_variable_py30.py", line 8 | |
def test(self)->Undefined: # [undefined-variable] | |
^ | |
SyntaxError: invalid syntax | |
Compiling /tmp/pip_build_root/pylint/pylint/test/functional/unpacking_generalizations.py ... | |
File "/tmp/pip_build_root/pylint/pylint/test/functional/unpacking_generalizations.py", line 16 | |
func_variadic_args(*(2, 3), *(3, 4), *(4, 5)) | |
^ | |
SyntaxError: invalid syntax | |
Compiling /tmp/pip_build_root/pylint/pylint/test/functional/used_before_assignment_nonlocal.py ... | |
File "/tmp/pip_build_root/pylint/pylint/test/functional/used_before_assignment_nonlocal.py", line 10 | |
nonlocal cnt | |
^ | |
SyntaxError: invalid syntax | |
Compiling /tmp/pip_build_root/pylint/pylint/test/functional/yield_from_iterable_py33.py ... | |
File "/tmp/pip_build_root/pylint/pylint/test/functional/yield_from_iterable_py33.py", line 7 | |
yield from 10 # [not-an-iterable] | |
^ | |
SyntaxError: invalid syntax | |
Compiling /tmp/pip_build_root/pylint/pylint/test/functional/yield_from_outside_func.py ... | |
File "/tmp/pip_build_root/pylint/pylint/test/functional/yield_from_outside_func.py", line 2 | |
yield from [1, 2] # [yield-outside-function] | |
^ | |
SyntaxError: invalid syntax | |
Compiling /tmp/pip_build_root/pylint/pylint/test/functional/yield_inside_async_function.py ... | |
File "/tmp/pip_build_root/pylint/pylint/test/functional/yield_inside_async_function.py", line 4 | |
async def good_coro(): | |
^ | |
SyntaxError: invalid syntax | |
Compiling /tmp/pip_build_root/pylint/pylint/test/functional/yield_outside_func.py ... | |
File "/tmp/pip_build_root/pylint/pylint/test/functional/yield_outside_func.py", line 2 | |
yield 1 # [yield-outside-function] | |
SyntaxError: 'yield' outside function | |
Compiling /tmp/pip_build_root/pylint/pylint/test/input/func_kwoa_py30.py ... | |
File "/tmp/pip_build_root/pylint/pylint/test/input/func_kwoa_py30.py", line 3 | |
def function(*, foo): | |
^ | |
SyntaxError: invalid syntax | |
Compiling /tmp/pip_build_root/pylint/pylint/test/input/func_return_yield_mix_py_33.py ... | |
SyntaxError: 'return' with argument inside generator (func_return_yield_mix_py_33.py, line 8) | |
Compiling /tmp/pip_build_root/pylint/pylint/test/input/func_unused_import_py30.py ... | |
File "/tmp/pip_build_root/pylint/pylint/test/input/func_unused_import_py30.py", line 10 | |
class Meta(metaclass=abc.ABCMeta): | |
^ | |
SyntaxError: invalid syntax | |
Compiling /tmp/pip_build_root/pylint/pylint/test/input/func_w0705.py ... | |
File "/tmp/pip_build_root/pylint/pylint/test/input/func_w0705.py", line 28 | |
__revision__ += 1 | |
SyntaxError: default 'except:' must be last | |
Compiling /tmp/pip_build_root/pylint/pylint/test/input/syntax_error.py ... | |
Sorry: IndentationError: expected an indented block (syntax_error.py, line 2) | |
Compiling /tmp/pip_build_root/pylint/pylint/test/regrtest_data/bad_package/__init__.py ... | |
File "/tmp/pip_build_root/pylint/pylint/test/regrtest_data/bad_package/__init__.py", line 2 | |
raise missing.Missing.. | |
^ | |
SyntaxError: invalid syntax | |
Compiling /tmp/pip_build_root/pylint/pylint/test/regrtest_data/syntax_error.py ... | |
File "/tmp/pip_build_root/pylint/pylint/test/regrtest_data/syntax_error.py", line 1 | |
class A extends B {} | |
^ | |
SyntaxError: invalid syntax | |
Successfully installed pylint | |
Cleaning up... |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment