diff options
author | Pierre Sassoulas <pierre.sassoulas@gmail.com> | 2020-05-03 17:29:24 +0200 |
---|---|---|
committer | Pierre Sassoulas <pierre.sassoulas@gmail.com> | 2020-05-03 18:24:25 +0200 |
commit | 3fffdf03d5a32e4a0d1b5216ea9d16dacacdaa6f (patch) | |
tree | e812974218d0b182c70221177dbdcd6710e47d05 /tests | |
parent | 8403b8961560591810a75f088fb72b8b052665ca (diff) | |
download | pylint-git-3fffdf03d5a32e4a0d1b5216ea9d16dacacdaa6f.tar.gz |
Fix trailing whitespaces and trailing newlines
Diffstat (limited to 'tests')
136 files changed, 121 insertions, 136 deletions
diff --git a/tests/functional/a/abstract_class_instantiated_py3.rc b/tests/functional/a/abstract_class_instantiated_py3.rc index a2ab06c50..c093be204 100644 --- a/tests/functional/a/abstract_class_instantiated_py3.rc +++ b/tests/functional/a/abstract_class_instantiated_py3.rc @@ -1,2 +1,2 @@ [testoptions] -min_pyver=3.0
\ No newline at end of file +min_pyver=3.0 diff --git a/tests/functional/a/abstract_class_instantiated_py34.rc b/tests/functional/a/abstract_class_instantiated_py34.rc index 1fb7b8710..f400a86e6 100644 --- a/tests/functional/a/abstract_class_instantiated_py34.rc +++ b/tests/functional/a/abstract_class_instantiated_py34.rc @@ -1,2 +1,2 @@ [testoptions] -min_pyver=3.4
\ No newline at end of file +min_pyver=3.4 diff --git a/tests/functional/a/abstract_method_py3.rc b/tests/functional/a/abstract_method_py3.rc index a2ab06c50..c093be204 100644 --- a/tests/functional/a/abstract_method_py3.rc +++ b/tests/functional/a/abstract_method_py3.rc @@ -1,2 +1,2 @@ [testoptions] -min_pyver=3.0
\ No newline at end of file +min_pyver=3.0 diff --git a/tests/functional/a/access_member_before_definition.txt b/tests/functional/a/access_member_before_definition.txt index 9b3ae697d..cb1363d21 100644 --- a/tests/functional/a/access_member_before_definition.txt +++ b/tests/functional/a/access_member_before_definition.txt @@ -1,2 +1,2 @@ access-member-before-definition:8:Aaaa.__init__:Access to member '_var2' before its definition line 9
-access-member-before-definition:28:Bbbb.catchme:Access to member '_repo' before its definition line 30
\ No newline at end of file +access-member-before-definition:28:Bbbb.catchme:Access to member '_repo' before its definition line 30 diff --git a/tests/functional/a/anomalous_unicode_escape_py3.rc b/tests/functional/a/anomalous_unicode_escape_py3.rc index 8c6eb56c4..c0490a61a 100644 --- a/tests/functional/a/anomalous_unicode_escape_py3.rc +++ b/tests/functional/a/anomalous_unicode_escape_py3.rc @@ -1,2 +1,2 @@ [testoptions]
-min_pyver=3.0
\ No newline at end of file +min_pyver=3.0 diff --git a/tests/functional/a/anomalous_unicode_escape_py3.txt b/tests/functional/a/anomalous_unicode_escape_py3.txt index d2c5d10ed..c242cb98f 100644 --- a/tests/functional/a/anomalous_unicode_escape_py3.txt +++ b/tests/functional/a/anomalous_unicode_escape_py3.txt @@ -1,3 +1,3 @@ anomalous-unicode-escape-in-string:5::"Anomalous Unicode escape in byte string: '\u'. String constant might be missing an r or u prefix." anomalous-unicode-escape-in-string:6::"Anomalous Unicode escape in byte string: '\U'. String constant might be missing an r or u prefix." -anomalous-unicode-escape-in-string:8::"Anomalous Unicode escape in byte string: '\N'. String constant might be missing an r or u prefix."
\ No newline at end of file +anomalous-unicode-escape-in-string:8::"Anomalous Unicode escape in byte string: '\N'. String constant might be missing an r or u prefix." diff --git a/tests/functional/a/arguments_differ_py3.rc b/tests/functional/a/arguments_differ_py3.rc index a2ab06c50..c093be204 100644 --- a/tests/functional/a/arguments_differ_py3.rc +++ b/tests/functional/a/arguments_differ_py3.rc @@ -1,2 +1,2 @@ [testoptions] -min_pyver=3.0
\ No newline at end of file +min_pyver=3.0 diff --git a/tests/functional/a/assigning_non_slot.txt b/tests/functional/a/assigning_non_slot.txt index 9d24a92eb..76e87d2ec 100644 --- a/tests/functional/a/assigning_non_slot.txt +++ b/tests/functional/a/assigning_non_slot.txt @@ -2,4 +2,4 @@ assigning-non-slot:18:Bad.__init__:Assigning to attribute 'missing' not defined assigning-non-slot:26:Bad2.__init__:Assigning to attribute 'missing' not defined in class slots
assigning-non-slot:36:Bad3.__init__:Assigning to attribute 'missing' not defined in class slots
assigning-non-slot:132:dont_emit_for_descriptors:Assigning to attribute 'non_data_descriptor' not defined in class slots
-assigning-non-slot:150:ClassReassingingInvalidLayoutClass.release:Assigning to attribute '__class__' not defined in class slots
\ No newline at end of file +assigning-non-slot:150:ClassReassingingInvalidLayoutClass.release:Assigning to attribute '__class__' not defined in class slots diff --git a/tests/functional/a/assignment_from_no_return.txt b/tests/functional/a/assignment_from_no_return.txt index 1972103a8..500d41d6b 100644 --- a/tests/functional/a/assignment_from_no_return.txt +++ b/tests/functional/a/assignment_from_no_return.txt @@ -1,2 +1,2 @@ assignment-from-no-return:26:Class.some_other_method:Assigning result of a function call, where the function has no return -assignment-from-no-return:31::Assigning result of a function call, where the function has no return
\ No newline at end of file +assignment-from-no-return:31::Assigning result of a function call, where the function has no return diff --git a/tests/functional/a/assignment_from_no_return_py3.rc b/tests/functional/a/assignment_from_no_return_py3.rc index 1450ccc64..0ba2b6333 100644 --- a/tests/functional/a/assignment_from_no_return_py3.rc +++ b/tests/functional/a/assignment_from_no_return_py3.rc @@ -1,2 +1,2 @@ [testoptions] -min_pyver=3.6
\ No newline at end of file +min_pyver=3.6 diff --git a/tests/functional/a/async_functions.rc b/tests/functional/a/async_functions.rc index 03004f2c2..71de8b630 100644 --- a/tests/functional/a/async_functions.rc +++ b/tests/functional/a/async_functions.rc @@ -1,2 +1,2 @@ [testoptions] -min_pyver=3.5
\ No newline at end of file +min_pyver=3.5 diff --git a/tests/functional/a/async_functions.txt b/tests/functional/a/async_functions.txt index e00c5bbfa..fa5f712ec 100644 --- a/tests/functional/a/async_functions.txt +++ b/tests/functional/a/async_functions.txt @@ -8,4 +8,4 @@ dangerous-default-value:57:func:Dangerous default value [] as argument duplicate-argument-name:57:func:Duplicate argument name a in function definition duplicate-argument-name:57:func:Duplicate argument name a in function definition blacklisted-name:62:foo:Black listed name "foo" -empty-docstring:62:foo:Empty function docstring
\ No newline at end of file +empty-docstring:62:foo:Empty function docstring diff --git a/tests/functional/b/bad_exception_context.rc b/tests/functional/b/bad_exception_context.rc index 8c6eb56c4..c0490a61a 100644 --- a/tests/functional/b/bad_exception_context.rc +++ b/tests/functional/b/bad_exception_context.rc @@ -1,2 +1,2 @@ [testoptions]
-min_pyver=3.0
\ No newline at end of file +min_pyver=3.0 diff --git a/tests/functional/b/bad_exception_context.txt b/tests/functional/b/bad_exception_context.txt index f403a39b2..f4c83dfc9 100644 --- a/tests/functional/b/bad_exception_context.txt +++ b/tests/functional/b/bad_exception_context.txt @@ -1,3 +1,3 @@ bad-exception-context:14:test:Exception context set to something which is not an exception, nor None
bad-exception-context:17:test:Exception context set to something which is not an exception, nor None
-bad-exception-context:23:test:Exception context set to something which is not an exception, nor None
\ No newline at end of file +bad-exception-context:23:test:Exception context set to something which is not an exception, nor None diff --git a/tests/functional/b/bad_open_mode_py3.rc b/tests/functional/b/bad_open_mode_py3.rc index 55bbcdde3..5bed69f58 100644 --- a/tests/functional/b/bad_open_mode_py3.rc +++ b/tests/functional/b/bad_open_mode_py3.rc @@ -1,3 +1,3 @@ [testoptions]
min_pyver=3.0
-except_implementations=PyPy
\ No newline at end of file +except_implementations=PyPy diff --git a/tests/functional/b/bad_staticmethod_argument.txt b/tests/functional/b/bad_staticmethod_argument.txt index a9d5b468e..31216154f 100644 --- a/tests/functional/b/bad_staticmethod_argument.txt +++ b/tests/functional/b/bad_staticmethod_argument.txt @@ -1,2 +1,2 @@ bad-staticmethod-argument:5:Abcd.method1:Static method with 'self' as first argument -bad-staticmethod-argument:10:Abcd.method2:Static method with 'cls' as first argument
\ No newline at end of file +bad-staticmethod-argument:10:Abcd.method2:Static method with 'cls' as first argument diff --git a/tests/functional/b/bare_except.txt b/tests/functional/b/bare_except.txt index ccb7ba90d..eb8a2e8c8 100644 --- a/tests/functional/b/bare_except.txt +++ b/tests/functional/b/bare_except.txt @@ -1 +1 @@ -bare-except:5::No exception type(s) specified
\ No newline at end of file +bare-except:5::No exception type(s) specified diff --git a/tests/functional/b/boolean_datetime.rc b/tests/functional/b/boolean_datetime.rc index abe8fdf16..21fd414d3 100644 --- a/tests/functional/b/boolean_datetime.rc +++ b/tests/functional/b/boolean_datetime.rc @@ -1,2 +1,2 @@ [testoptions] -max_pyver=3.5
\ No newline at end of file +max_pyver=3.5 diff --git a/tests/functional/c/class_members_py30.rc b/tests/functional/c/class_members_py30.rc index 8c6eb56c4..c0490a61a 100644 --- a/tests/functional/c/class_members_py30.rc +++ b/tests/functional/c/class_members_py30.rc @@ -1,2 +1,2 @@ [testoptions]
-min_pyver=3.0
\ No newline at end of file +min_pyver=3.0 diff --git a/tests/functional/c/class_members_py30.txt b/tests/functional/c/class_members_py30.txt index d9163ec73..191dbcee2 100644 --- a/tests/functional/c/class_members_py30.txt +++ b/tests/functional/c/class_members_py30.txt @@ -4,4 +4,4 @@ no-member:16:MyClass.test:Instance of 'MyClass' has no 'nonexistent1' member:INF no-member:17:MyClass.test:Instance of 'MyClass' has no 'nonexistent2' member:INFERENCE
no-member:48::Instance of 'TestMetaclass' has no 'register' member:INFERENCE
no-member:49::Instance of 'UsingMetaclass' has no 'test' member:INFERENCE
-no-member:63:MetaClass.whatever:Class 'MetaClass' has no 'missing' member:INFERENCE
\ No newline at end of file +no-member:63:MetaClass.whatever:Class 'MetaClass' has no 'missing' member:INFERENCE diff --git a/tests/functional/c/consider_join.txt b/tests/functional/c/consider_join.txt index e550b2b0d..a80a95fd1 100644 --- a/tests/functional/c/consider_join.txt +++ b/tests/functional/c/consider_join.txt @@ -8,4 +8,4 @@ consider-using-join:66::Consider using str.join(sequence) for concatenating stri consider-using-join:71::Consider using str.join(sequence) for concatenating strings from an iterable consider-using-join:75::Consider using str.join(sequence) for concatenating strings from an iterable consider-using-join:79::Consider using str.join(sequence) for concatenating strings from an iterable -consider-using-join:110::Consider using str.join(sequence) for concatenating strings from an iterable
\ No newline at end of file +consider-using-join:110::Consider using str.join(sequence) for concatenating strings from an iterable diff --git a/tests/functional/c/consider_swap_variables.txt b/tests/functional/c/consider_swap_variables.txt index 3a232fdd0..de49ba9ad 100644 --- a/tests/functional/c/consider_swap_variables.txt +++ b/tests/functional/c/consider_swap_variables.txt @@ -1,2 +1,2 @@ consider-swap-variables:5::Consider using tuple unpacking for swapping variables -consider-swap-variables:22::Consider using tuple unpacking for swapping variables
\ No newline at end of file +consider-swap-variables:22::Consider using tuple unpacking for swapping variables diff --git a/tests/functional/c/consider_using_dict_comprehension.txt b/tests/functional/c/consider_using_dict_comprehension.txt index 206351e6e..bb720716c 100644 --- a/tests/functional/c/consider_using_dict_comprehension.txt +++ b/tests/functional/c/consider_using_dict_comprehension.txt @@ -1 +1 @@ -consider-using-dict-comprehension:9::Consider using a dictionary comprehension
\ No newline at end of file +consider-using-dict-comprehension:9::Consider using a dictionary comprehension diff --git a/tests/functional/c/consider_using_set_comprehension.txt b/tests/functional/c/consider_using_set_comprehension.txt index 225d37ae8..62e2d4bce 100644 --- a/tests/functional/c/consider_using_set_comprehension.txt +++ b/tests/functional/c/consider_using_set_comprehension.txt @@ -1 +1 @@ -consider-using-set-comprehension:9::Consider using a set comprehension
\ No newline at end of file +consider-using-set-comprehension:9::Consider using a set comprehension diff --git a/tests/functional/c/continue_in_finally.py b/tests/functional/c/continue_in_finally.py index 89e1affb1..bb1fcbab1 100644 --- a/tests/functional/c/continue_in_finally.py +++ b/tests/functional/c/continue_in_finally.py @@ -21,4 +21,3 @@ while True: pass
else:
continue
-
\ No newline at end of file diff --git a/tests/functional/c/ctor_arguments.txt b/tests/functional/c/ctor_arguments.txt index 639e92ce1..abaf67001 100644 --- a/tests/functional/c/ctor_arguments.txt +++ b/tests/functional/c/ctor_arguments.txt @@ -21,4 +21,4 @@ too-many-function-args:95:Clsmethod.from_nothing:Too many positional arguments f no-value-for-parameter:99:Clsmethod.from_nothing1:"No value for argument 'first' in constructor call" no-value-for-parameter:99:Clsmethod.from_nothing1:"No value for argument 'second' in constructor call" no-value-for-parameter:104:Clsmethod.from_nothing2:"No value for argument 'second' in constructor call" -unexpected-keyword-arg:104:Clsmethod.from_nothing2:"Unexpected keyword argument 'not_argument' in constructor call"
\ No newline at end of file +unexpected-keyword-arg:104:Clsmethod.from_nothing2:"Unexpected keyword argument 'not_argument' in constructor call" diff --git a/tests/functional/d/dangerous_default_value_py30.rc b/tests/functional/d/dangerous_default_value_py30.rc index 8c6eb56c4..c0490a61a 100644 --- a/tests/functional/d/dangerous_default_value_py30.rc +++ b/tests/functional/d/dangerous_default_value_py30.rc @@ -1,2 +1,2 @@ [testoptions]
-min_pyver=3.0
\ No newline at end of file +min_pyver=3.0 diff --git a/tests/functional/d/deprecated_method_getmoduleinfo.txt b/tests/functional/d/deprecated_method_getmoduleinfo.txt index 9009bbf4c..308a2a01e 100644 --- a/tests/functional/d/deprecated_method_getmoduleinfo.txt +++ b/tests/functional/d/deprecated_method_getmoduleinfo.txt @@ -1 +1 @@ -deprecated-method:4::Using deprecated method getmoduleinfo()
\ No newline at end of file +deprecated-method:4::Using deprecated method getmoduleinfo() diff --git a/tests/functional/d/deprecated_module_uninstalled.rc b/tests/functional/d/deprecated_module_uninstalled.rc index 05973daa7..d68fc0bc9 100644 --- a/tests/functional/d/deprecated_module_uninstalled.rc +++ b/tests/functional/d/deprecated_module_uninstalled.rc @@ -1,2 +1,2 @@ [Messages Control] -deprecated-modules=uninstalled
\ No newline at end of file +deprecated-modules=uninstalled diff --git a/tests/functional/d/disable_msg_github_issue_1389.rc b/tests/functional/d/disable_msg_github_issue_1389.rc index 1450ccc64..0ba2b6333 100644 --- a/tests/functional/d/disable_msg_github_issue_1389.rc +++ b/tests/functional/d/disable_msg_github_issue_1389.rc @@ -1,2 +1,2 @@ [testoptions] -min_pyver=3.6
\ No newline at end of file +min_pyver=3.6 diff --git a/tests/functional/d/duplicate_argument_name.txt b/tests/functional/d/duplicate_argument_name.txt index d60d1eb28..074e8bc7c 100644 --- a/tests/functional/d/duplicate_argument_name.txt +++ b/tests/functional/d/duplicate_argument_name.txt @@ -5,4 +5,4 @@ duplicate-argument-name:7:foo2:Duplicate argument name _abc in function definiti duplicate-argument-name:10:foo3:Duplicate argument name _ in function definition duplicate-argument-name:10:foo3:Duplicate argument name _ in function definition duplicate-argument-name:13:foo4:Duplicate argument name _ in function definition -duplicate-argument-name:13:foo4:Duplicate argument name _ in function definition
\ No newline at end of file +duplicate-argument-name:13:foo4:Duplicate argument name _ in function definition diff --git a/tests/functional/d/duplicate_argument_name_py3.rc b/tests/functional/d/duplicate_argument_name_py3.rc index a2ab06c50..c093be204 100644 --- a/tests/functional/d/duplicate_argument_name_py3.rc +++ b/tests/functional/d/duplicate_argument_name_py3.rc @@ -1,2 +1,2 @@ [testoptions] -min_pyver=3.0
\ No newline at end of file +min_pyver=3.0 diff --git a/tests/functional/d/duplicate_argument_name_py3.txt b/tests/functional/d/duplicate_argument_name_py3.txt index d86631746..29a9f0d06 100644 --- a/tests/functional/d/duplicate_argument_name_py3.txt +++ b/tests/functional/d/duplicate_argument_name_py3.txt @@ -1,2 +1,2 @@ duplicate-argument-name:4:foo1:Duplicate argument name _ in function definition -duplicate-argument-name:4:foo1:Duplicate argument name _ in function definition
\ No newline at end of file +duplicate-argument-name:4:foo1:Duplicate argument name _ in function definition diff --git a/tests/functional/d/duplicate_bases.txt b/tests/functional/d/duplicate_bases.txt index beb91b53f..190b5f891 100644 --- a/tests/functional/d/duplicate_bases.txt +++ b/tests/functional/d/duplicate_bases.txt @@ -1 +1 @@ -duplicate-bases:5:Duplicates:Duplicate bases for class 'Duplicates'
\ No newline at end of file +duplicate-bases:5:Duplicates:Duplicate bases for class 'Duplicates' diff --git a/tests/functional/e/eval_used.txt b/tests/functional/e/eval_used.txt index 7f0e04143..1a4ca14c7 100644 --- a/tests/functional/e/eval_used.txt +++ b/tests/functional/e/eval_used.txt @@ -1,4 +1,4 @@ eval-used:3::Use of eval
eval-used:4::Use of eval
eval-used:6::Use of eval
-eval-used:10:func:Use of eval
\ No newline at end of file +eval-used:10:func:Use of eval diff --git a/tests/functional/e/exception_message.rc b/tests/functional/e/exception_message.rc index 9540bc95e..4a0e47a21 100644 --- a/tests/functional/e/exception_message.rc +++ b/tests/functional/e/exception_message.rc @@ -2,4 +2,4 @@ max_pyver=3.0 [Messages Control] -enable=python3
\ No newline at end of file +enable=python3 diff --git a/tests/functional/e/exec_used_py2.txt b/tests/functional/e/exec_used_py2.txt index 6b0e7d1a2..756d3ec89 100644 --- a/tests/functional/e/exec_used_py2.txt +++ b/tests/functional/e/exec_used_py2.txt @@ -1,4 +1,4 @@ exec-used:3::Use of exec
exec-used:5::Use of exec
exec-used:7::Use of exec
-exec-used:10:func:Use of exec
\ No newline at end of file +exec-used:10:func:Use of exec diff --git a/tests/functional/e/exec_used_py3.txt b/tests/functional/e/exec_used_py3.txt index 67885745a..0c1d823c1 100644 --- a/tests/functional/e/exec_used_py3.txt +++ b/tests/functional/e/exec_used_py3.txt @@ -1,4 +1,4 @@ exec-used:3::Use of exec
exec-used:4::Use of exec
exec-used:6::Use of exec
-exec-used:9:func:Use of exec
\ No newline at end of file +exec-used:9:func:Use of exec diff --git a/tests/functional/f/fallback_import_enabled.rc b/tests/functional/f/fallback_import_enabled.rc index 204ce11b6..fb6f1629a 100644 --- a/tests/functional/f/fallback_import_enabled.rc +++ b/tests/functional/f/fallback_import_enabled.rc @@ -1,2 +1,2 @@ [IMPORTS] -analyse-fallback-blocks=yes
\ No newline at end of file +analyse-fallback-blocks=yes diff --git a/tests/functional/f/fallback_import_enabled.txt b/tests/functional/f/fallback_import_enabled.txt index e795b82c0..a2a93e316 100644 --- a/tests/functional/f/fallback_import_enabled.txt +++ b/tests/functional/f/fallback_import_enabled.txt @@ -1,2 +1,2 @@ no-name-in-module:3::No name 'missing' in module 'collections' -no-name-in-module:5::No name 'missing' in module 'collections'
\ No newline at end of file +no-name-in-module:5::No name 'missing' in module 'collections' diff --git a/tests/functional/f/fixme.rc b/tests/functional/f/fixme.rc index 23d171768..6b903c1bd 100644 --- a/tests/functional/f/fixme.rc +++ b/tests/functional/f/fixme.rc @@ -1,3 +1,3 @@ [testoptions] notes=XXX,TODO,./TODO -notes-rgx=FIXME(?!.*ISSUE-\d+)|TO.*DO
\ No newline at end of file +notes-rgx=FIXME(?!.*ISSUE-\d+)|TO.*DO diff --git a/tests/functional/f/fixme.txt b/tests/functional/f/fixme.txt index dfaf67246..f9d6c3508 100644 --- a/tests/functional/f/fixme.txt +++ b/tests/functional/f/fixme.txt @@ -6,4 +6,4 @@ fixme:18::"FIXME: no space after hash" fixme:20::"todo: no space after hash" fixme:23::"FIXME: this is broken" fixme:25::"./TODO: find with notes" -fixme:27::"TO make something DO: find with regex"
\ No newline at end of file +fixme:27::"TO make something DO: find with regex" diff --git a/tests/functional/i/indexing_exception.rc b/tests/functional/i/indexing_exception.rc index 9540bc95e..4a0e47a21 100644 --- a/tests/functional/i/indexing_exception.rc +++ b/tests/functional/i/indexing_exception.rc @@ -2,4 +2,4 @@ max_pyver=3.0 [Messages Control] -enable=python3
\ No newline at end of file +enable=python3 diff --git a/tests/functional/i/indexing_exception.txt b/tests/functional/i/indexing_exception.txt index 9f3067803..c1fcc7531 100644 --- a/tests/functional/i/indexing_exception.txt +++ b/tests/functional/i/indexing_exception.txt @@ -1,3 +1,3 @@ indexing-exception:12::Indexing exceptions will not work on Python 3
indexing-exception:13::Indexing exceptions will not work on Python 3
-indexing-exception:15::Indexing exceptions will not work on Python 3
\ No newline at end of file +indexing-exception:15::Indexing exceptions will not work on Python 3 diff --git a/tests/functional/i/inherit_non_class.txt b/tests/functional/i/inherit_non_class.txt index 3be70cb9d..f0c7000d3 100644 --- a/tests/functional/i/inherit_non_class.txt +++ b/tests/functional/i/inherit_non_class.txt @@ -6,4 +6,4 @@ inherit-non-class:33:Bad4:Inheriting 'Empty()', which is not a class. inherit-non-class:68:NotInheritableBool:Inheriting 'bool', which is not a class. inherit-non-class:72:NotInheritableRange:Inheriting 'range', which is not a class. inherit-non-class:76:NotInheritableSlice:Inheriting 'slice', which is not a class. -inherit-non-class:80:NotInheritableMemoryView:Inheriting 'memoryview', which is not a class.
\ No newline at end of file +inherit-non-class:80:NotInheritableMemoryView:Inheriting 'memoryview', which is not a class. diff --git a/tests/functional/i/init_subclass_classmethod_py36.rc b/tests/functional/i/init_subclass_classmethod_py36.rc index 1450ccc64..0ba2b6333 100644 --- a/tests/functional/i/init_subclass_classmethod_py36.rc +++ b/tests/functional/i/init_subclass_classmethod_py36.rc @@ -1,2 +1,2 @@ [testoptions] -min_pyver=3.6
\ No newline at end of file +min_pyver=3.6 diff --git a/tests/functional/i/invalid_exceptions_raised.txt b/tests/functional/i/invalid_exceptions_raised.txt index 47eb0fec2..87ebf0499 100644 --- a/tests/functional/i/invalid_exceptions_raised.txt +++ b/tests/functional/i/invalid_exceptions_raised.txt @@ -9,4 +9,4 @@ raising-bad-type:60:bad_case5:Raising int while only classes or instances are al raising-bad-type:64:bad_case6:Raising NoneType while only classes or instances are allowed raising-non-exception:68:bad_case7:Raising a new style class which doesn't inherit from BaseException raising-non-exception:72:bad_case8:Raising a new style class which doesn't inherit from BaseException -raising-non-exception:76:bad_case9:Raising a new style class which doesn't inherit from BaseException
\ No newline at end of file +raising-non-exception:76:bad_case9:Raising a new style class which doesn't inherit from BaseException diff --git a/tests/functional/i/invalid_sequence_index.txt b/tests/functional/i/invalid_sequence_index.txt index 204aebc9f..e48714bae 100644 --- a/tests/functional/i/invalid_sequence_index.txt +++ b/tests/functional/i/invalid_sequence_index.txt @@ -17,4 +17,4 @@ invalid-sequence-index:178:function23:Sequence index is not an int, slice, or in invalid-sequence-index:180:function23:Sequence index is not an int, slice, or instance with __index__ invalid-sequence-index:196:function24:Sequence index is not an int, slice, or instance with __index__ invalid-sequence-index:198:function24:Sequence index is not an int, slice, or instance with __index__ -invalid-sequence-index:208:function25:Sequence index is not an int, slice, or instance with __index__
\ No newline at end of file +invalid-sequence-index:208:function25:Sequence index is not an int, slice, or instance with __index__ diff --git a/tests/functional/i/invalid_unary_operand_type.txt b/tests/functional/i/invalid_unary_operand_type.txt index 22fa72711..5138aca96 100644 --- a/tests/functional/i/invalid_unary_operand_type.txt +++ b/tests/functional/i/invalid_unary_operand_type.txt @@ -11,4 +11,4 @@ invalid-unary-operand-type:47:these_are_bad:"bad operand type for unary ~: <lamb invalid-unary-operand-type:48:these_are_bad:"bad operand type for unary ~: A"
invalid-unary-operand-type:49:these_are_bad:"bad operand type for unary ~: A"
invalid-unary-operand-type:50:these_are_bad:"bad operand type for unary ~: collections"
-invalid-unary-operand-type:51:these_are_bad:"bad operand type for unary ~: float"
\ No newline at end of file +invalid-unary-operand-type:51:these_are_bad:"bad operand type for unary ~: float" diff --git a/tests/functional/i/iterable_context_py3.rc b/tests/functional/i/iterable_context_py3.rc index 9bf6df0ed..c093be204 100644 --- a/tests/functional/i/iterable_context_py3.rc +++ b/tests/functional/i/iterable_context_py3.rc @@ -1,3 +1,2 @@ [testoptions] min_pyver=3.0 - diff --git a/tests/functional/i/iterable_context_py36.rc b/tests/functional/i/iterable_context_py36.rc index 1450ccc64..0ba2b6333 100644 --- a/tests/functional/i/iterable_context_py36.rc +++ b/tests/functional/i/iterable_context_py36.rc @@ -1,2 +1,2 @@ [testoptions] -min_pyver=3.6
\ No newline at end of file +min_pyver=3.6 diff --git a/tests/functional/m/mapping_context_py3.rc b/tests/functional/m/mapping_context_py3.rc index 9bf6df0ed..c093be204 100644 --- a/tests/functional/m/mapping_context_py3.rc +++ b/tests/functional/m/mapping_context_py3.rc @@ -1,3 +1,2 @@ [testoptions] min_pyver=3.0 - diff --git a/tests/functional/m/member_checks_hints.rc b/tests/functional/m/member_checks_hints.rc index 311e05184..8d4b587f4 100644 --- a/tests/functional/m/member_checks_hints.rc +++ b/tests/functional/m/member_checks_hints.rc @@ -1,3 +1,3 @@ [TYPECHECK] missing-member-max-choices = 3 -missing-member-hint-distance = 1
\ No newline at end of file +missing-member-hint-distance = 1 diff --git a/tests/functional/m/member_checks_hints.txt b/tests/functional/m/member_checks_hints.txt index 27f1e3d11..4addacf85 100644 --- a/tests/functional/m/member_checks_hints.txt +++ b/tests/functional/m/member_checks_hints.txt @@ -2,4 +2,4 @@ no-member:21:Child.__init__:Instance of 'Child' has no '_similar' member; maybe no-member:22:Child.__init__:Instance of 'Child' has no '_really_similar' member; maybe one of '_really_similar1' or '_really_similar2'?:INFERENCE no-member:23:Child.__init__:Instance of 'Child' has no '_paren' member; maybe '_parent'?:INFERENCE no-member:25:Child.__init__:Instance of 'Child' has no '_registryyyy' member:INFERENCE -no-member:27:Child.__init__:Instance of 'Child' has no '_pretty_sure_this_wont_match' member:INFERENCE
\ No newline at end of file +no-member:27:Child.__init__:Instance of 'Child' has no '_pretty_sure_this_wont_match' member:INFERENCE diff --git a/tests/functional/m/member_checks_ignore_none.rc b/tests/functional/m/member_checks_ignore_none.rc index dd365acd5..9ec706ec6 100644 --- a/tests/functional/m/member_checks_ignore_none.rc +++ b/tests/functional/m/member_checks_ignore_none.rc @@ -1,2 +1,2 @@ [TYPECHECK] -ignore-none=no
\ No newline at end of file +ignore-none=no diff --git a/tests/functional/m/member_checks_ignore_none.txt b/tests/functional/m/member_checks_ignore_none.txt index 61ef7e86e..2d760c146 100644 --- a/tests/functional/m/member_checks_ignore_none.txt +++ b/tests/functional/m/member_checks_ignore_none.txt @@ -1 +1 @@ -no-member:7::Instance of 'NoneType' has no 'DOES_NOT_EXIST' member:INFERENCE
\ No newline at end of file +no-member:7::Instance of 'NoneType' has no 'DOES_NOT_EXIST' member:INFERENCE diff --git a/tests/functional/m/member_checks_no_hints.rc b/tests/functional/m/member_checks_no_hints.rc index 780950df6..0f9c9ca3b 100644 --- a/tests/functional/m/member_checks_no_hints.rc +++ b/tests/functional/m/member_checks_no_hints.rc @@ -1,2 +1,2 @@ [TYPECHECK] -missing-member-hint=no
\ No newline at end of file +missing-member-hint=no diff --git a/tests/functional/m/member_checks_no_hints.txt b/tests/functional/m/member_checks_no_hints.txt index eea748d29..a65616ecd 100644 --- a/tests/functional/m/member_checks_no_hints.txt +++ b/tests/functional/m/member_checks_no_hints.txt @@ -2,4 +2,4 @@ no-member:21:Child.__init__:Instance of 'Child' has no '_similar' member:INFEREN no-member:22:Child.__init__:Instance of 'Child' has no '_really_similar' member:INFERENCE no-member:23:Child.__init__:Instance of 'Child' has no '_paren' member:INFERENCE no-member:25:Child.__init__:Instance of 'Child' has no '_registryyyy' member:INFERENCE -no-member:27:Child.__init__:Instance of 'Child' has no '_pretty_sure_this_wont_match' member:INFERENCE
\ No newline at end of file +no-member:27:Child.__init__:Instance of 'Child' has no '_pretty_sure_this_wont_match' member:INFERENCE diff --git a/tests/functional/m/member_checks_py37.rc b/tests/functional/m/member_checks_py37.rc index 5d0572448..a17bb22da 100644 --- a/tests/functional/m/member_checks_py37.rc +++ b/tests/functional/m/member_checks_py37.rc @@ -1,2 +1,2 @@ [testoptions] -min_pyver=3.7
\ No newline at end of file +min_pyver=3.7 diff --git a/tests/functional/m/membership_protocol_py2.rc b/tests/functional/m/membership_protocol_py2.rc index c78f32fa0..a65023393 100644 --- a/tests/functional/m/membership_protocol_py2.rc +++ b/tests/functional/m/membership_protocol_py2.rc @@ -1,3 +1,2 @@ [testoptions] max_pyver=3.0 - diff --git a/tests/functional/m/membership_protocol_py3.rc b/tests/functional/m/membership_protocol_py3.rc index 9bf6df0ed..c093be204 100644 --- a/tests/functional/m/membership_protocol_py3.rc +++ b/tests/functional/m/membership_protocol_py3.rc @@ -1,3 +1,2 @@ [testoptions] min_pyver=3.0 - diff --git a/tests/functional/m/misplaced_future.txt b/tests/functional/m/misplaced_future.txt index bc874cf15..991a84842 100644 --- a/tests/functional/m/misplaced_future.txt +++ b/tests/functional/m/misplaced_future.txt @@ -1 +1 @@ -misplaced-future:3::"__future__ import is not the first non docstring statement"
\ No newline at end of file +misplaced-future:3::"__future__ import is not the first non docstring statement" diff --git a/tests/functional/m/missing_kwoa_py3.rc b/tests/functional/m/missing_kwoa_py3.rc index a2ab06c50..c093be204 100644 --- a/tests/functional/m/missing_kwoa_py3.rc +++ b/tests/functional/m/missing_kwoa_py3.rc @@ -1,2 +1,2 @@ [testoptions] -min_pyver=3.0
\ No newline at end of file +min_pyver=3.0 diff --git a/tests/functional/m/missing_kwoa_py3.txt b/tests/functional/m/missing_kwoa_py3.txt index 734208ac3..b9d6baac5 100644 --- a/tests/functional/m/missing_kwoa_py3.txt +++ b/tests/functional/m/missing_kwoa_py3.txt @@ -1,3 +1,3 @@ missing-kwoa:19:not_forwarding_kwargs:Missing mandatory keyword argument 'keyword' in function call missing-kwoa:25::Missing mandatory keyword argument 'keyword' in function call -too-many-function-args:25::Too many positional arguments for function call
\ No newline at end of file +too-many-function-args:25::Too many positional arguments for function call diff --git a/tests/functional/n/no_self_use.txt b/tests/functional/n/no_self_use.txt index e68dcff9a..99f8c68aa 100644 --- a/tests/functional/n/no_self_use.txt +++ b/tests/functional/n/no_self_use.txt @@ -1 +1 @@ -no-self-use:16:Toto.function_method:Method could be a function
\ No newline at end of file +no-self-use:16:Toto.function_method:Method could be a function diff --git a/tests/functional/n/no_self_use_py3.rc b/tests/functional/n/no_self_use_py3.rc index a2ab06c50..c093be204 100644 --- a/tests/functional/n/no_self_use_py3.rc +++ b/tests/functional/n/no_self_use_py3.rc @@ -1,2 +1,2 @@ [testoptions] -min_pyver=3.0
\ No newline at end of file +min_pyver=3.0 diff --git a/tests/functional/n/no_self_use_py3.txt b/tests/functional/n/no_self_use_py3.txt index 8b1378917..e69de29bb 100644 --- a/tests/functional/n/no_self_use_py3.txt +++ b/tests/functional/n/no_self_use_py3.txt @@ -1 +0,0 @@ - diff --git a/tests/functional/n/none_dunder_protocols_py36.rc b/tests/functional/n/none_dunder_protocols_py36.rc index a2ab06c50..c093be204 100644 --- a/tests/functional/n/none_dunder_protocols_py36.rc +++ b/tests/functional/n/none_dunder_protocols_py36.rc @@ -1,2 +1,2 @@ [testoptions] -min_pyver=3.0
\ No newline at end of file +min_pyver=3.0 diff --git a/tests/functional/n/nonlocal_and_global.txt b/tests/functional/n/nonlocal_and_global.txt index 46f0d0feb..64b659c00 100644 --- a/tests/functional/n/nonlocal_and_global.txt +++ b/tests/functional/n/nonlocal_and_global.txt @@ -1 +1 @@ -nonlocal-and-global:4:bad:"Name 'missing' is nonlocal and global"
\ No newline at end of file +nonlocal-and-global:4:bad:"Name 'missing' is nonlocal and global" diff --git a/tests/functional/n/nonlocal_without_binding.rc b/tests/functional/n/nonlocal_without_binding.rc index a2ab06c50..c093be204 100644 --- a/tests/functional/n/nonlocal_without_binding.rc +++ b/tests/functional/n/nonlocal_without_binding.rc @@ -1,2 +1,2 @@ [testoptions] -min_pyver=3.0
\ No newline at end of file +min_pyver=3.0 diff --git a/tests/functional/n/nonlocal_without_binding.txt b/tests/functional/n/nonlocal_without_binding.txt index 05a1105c1..6aeae693b 100644 --- a/tests/functional/n/nonlocal_without_binding.txt +++ b/tests/functional/n/nonlocal_without_binding.txt @@ -1,3 +1,3 @@ nonlocal-without-binding:22:func.other_func:nonlocal name b found without binding
nonlocal-without-binding:25:SomeClass:nonlocal name x found without binding
-nonlocal-without-binding:28:SomeClass.func:nonlocal name some_attr found without binding
\ No newline at end of file +nonlocal-without-binding:28:SomeClass.func:nonlocal name some_attr found without binding diff --git a/tests/functional/n/not_async_context_manager.rc b/tests/functional/n/not_async_context_manager.rc index 03004f2c2..71de8b630 100644 --- a/tests/functional/n/not_async_context_manager.rc +++ b/tests/functional/n/not_async_context_manager.rc @@ -1,2 +1,2 @@ [testoptions] -min_pyver=3.5
\ No newline at end of file +min_pyver=3.5 diff --git a/tests/functional/n/not_callable.txt b/tests/functional/n/not_callable.txt index 4928c8c8b..822fa8655 100644 --- a/tests/functional/n/not_callable.txt +++ b/tests/functional/n/not_callable.txt @@ -5,4 +5,4 @@ not-callable:27::DICT is not callable not-callable:29::TUPLE is not callable not-callable:31::INT is not callable not-callable:66::PROP.test is not callable -not-callable:67::PROP.custom is not callable
\ No newline at end of file +not-callable:67::PROP.custom is not callable diff --git a/tests/functional/p/protected_access_access_different_scopes.txt b/tests/functional/p/protected_access_access_different_scopes.txt index ab8b5be11..c93e68ef0 100644 --- a/tests/functional/p/protected_access_access_different_scopes.txt +++ b/tests/functional/p/protected_access_access_different_scopes.txt @@ -1,2 +1,2 @@ undefined-variable:9:function:"Undefined variable 'self'" -undefined-variable:13:func:"Undefined variable 'self'"
\ No newline at end of file +undefined-variable:13:func:"Undefined variable 'self'" diff --git a/tests/functional/r/raising_non_exception_py3.txt b/tests/functional/r/raising_non_exception_py3.txt index 12c886288..1ce837ce0 100644 --- a/tests/functional/r/raising_non_exception_py3.txt +++ b/tests/functional/r/raising_non_exception_py3.txt @@ -1 +1 @@ -raising-non-exception:13::Raising a new style class which doesn't inherit from BaseException
\ No newline at end of file +raising-non-exception:13::Raising a new style class which doesn't inherit from BaseException diff --git a/tests/functional/r/redefined_argument_from_local.txt b/tests/functional/r/redefined_argument_from_local.txt index c3c026b7d..c7620195d 100644 --- a/tests/functional/r/redefined_argument_from_local.txt +++ b/tests/functional/r/redefined_argument_from_local.txt @@ -4,4 +4,4 @@ redefined-argument-from-local:9:test_redefined_in_with:Redefining argument with redefined-argument-from-local:24:test_redefined_in_for:Redefining argument with the local name 'name' redefined-argument-from-local:26:test_redefined_in_for:Redefining argument with the local name 'name' redefined-argument-from-local:28:test_redefined_in_for:Redefining argument with the local name 'name' -redefined-argument-from-local:48:test_redefined_in_except_handler:Redefining argument with the local name 'name'
\ No newline at end of file +redefined-argument-from-local:48:test_redefined_in_except_handler:Redefining argument with the local name 'name' diff --git a/tests/functional/r/redundant_unittest_assert.txt b/tests/functional/r/redundant_unittest_assert.txt index 889d395c0..d87a07465 100644 --- a/tests/functional/r/redundant_unittest_assert.txt +++ b/tests/functional/r/redundant_unittest_assert.txt @@ -3,4 +3,4 @@ redundant-unittest-assert:19:Tests.test_something:"Redundant use of assertFalse redundant-unittest-assert:21:Tests.test_something:"Redundant use of assertTrue with constant value True" redundant-unittest-assert:23:Tests.test_something:"Redundant use of assertFalse with constant value False" redundant-unittest-assert:25:Tests.test_something:"Redundant use of assertFalse with constant value None" -redundant-unittest-assert:27:Tests.test_something:"Redundant use of assertTrue with constant value 0"
\ No newline at end of file +redundant-unittest-assert:27:Tests.test_something:"Redundant use of assertTrue with constant value 0" diff --git a/tests/functional/r/reimported.txt b/tests/functional/r/reimported.txt index b15625e2c..2e73dda07 100644 --- a/tests/functional/r/reimported.txt +++ b/tests/functional/r/reimported.txt @@ -1,4 +1,4 @@ reimported:3::"Reimport 'sleep' (imported line 3)" reimported:4::"Reimport 'missing' (imported line 4)" reimported:7::"Reimport 'missing1' (imported line 6)" -reimported:10::"Reimport 'deque' (imported line 9)"
\ No newline at end of file +reimported:10::"Reimport 'deque' (imported line 9)" diff --git a/tests/functional/r/repeated_keyword.txt b/tests/functional/r/repeated_keyword.txt index 1344b15bc..7dc1d344c 100644 --- a/tests/functional/r/repeated_keyword.txt +++ b/tests/functional/r/repeated_keyword.txt @@ -1 +1 @@ -repeated-keyword:13::"Got multiple values for keyword argument 'b' in function call"
\ No newline at end of file +repeated-keyword:13::"Got multiple values for keyword argument 'b' in function call" diff --git a/tests/functional/r/return_in_init.txt b/tests/functional/r/return_in_init.txt index 5e708d0d7..0b8e431b5 100644 --- a/tests/functional/r/return_in_init.txt +++ b/tests/functional/r/return_in_init.txt @@ -1 +1 @@ -return-in-init:5:MyClass.__init__:Explicit return in __init__
\ No newline at end of file +return-in-init:5:MyClass.__init__:Explicit return in __init__ diff --git a/tests/functional/r/return_outside_function.txt b/tests/functional/r/return_outside_function.txt index 0c9aa5699..3d3a19e8d 100644 --- a/tests/functional/r/return_outside_function.txt +++ b/tests/functional/r/return_outside_function.txt @@ -1 +1 @@ -return-outside-function:2::Return outside function
\ No newline at end of file +return-outside-function:2::Return outside function diff --git a/tests/functional/s/simplifiable_if_expression.txt b/tests/functional/s/simplifiable_if_expression.txt index b35e08462..427660fa4 100644 --- a/tests/functional/s/simplifiable_if_expression.txt +++ b/tests/functional/s/simplifiable_if_expression.txt @@ -1,4 +1,4 @@ simplifiable-if-expression:8:test_simplifiable_1:The if expression can be replaced with 'bool(test)' simplifiable-if-expression:12:test_simplifiable_2:The if expression can be replaced with 'not test' simplifiable-if-expression:16:test_simplifiable_3:The if expression can be replaced with 'test' -simplifiable-if-expression:20:test_simplifiable_4:The if expression can be replaced with 'not test'
\ No newline at end of file +simplifiable-if-expression:20:test_simplifiable_4:The if expression can be replaced with 'not test' diff --git a/tests/functional/s/singledispatch_functions.txt b/tests/functional/s/singledispatch_functions.txt index 568f41b31..1a678e43c 100644 --- a/tests/functional/s/singledispatch_functions.txt +++ b/tests/functional/s/singledispatch_functions.txt @@ -2,4 +2,4 @@ unused-variable:60:_:Unused variable 'unused' unused-argument:65:not_single_dispatch:Unused argument 'arg' unused-argument:70:bad_single_dispatch:Unused argument 'arg' function-redefined:75:bad_single_dispatch:function already defined line 70 -unused-argument:75:bad_single_dispatch:Unused argument 'arg'
\ No newline at end of file +unused-argument:75:bad_single_dispatch:Unused argument 'arg' diff --git a/tests/functional/s/singledispatch_functions_py3.txt b/tests/functional/s/singledispatch_functions_py3.txt index 568f41b31..1a678e43c 100644 --- a/tests/functional/s/singledispatch_functions_py3.txt +++ b/tests/functional/s/singledispatch_functions_py3.txt @@ -2,4 +2,4 @@ unused-variable:60:_:Unused variable 'unused' unused-argument:65:not_single_dispatch:Unused argument 'arg' unused-argument:70:bad_single_dispatch:Unused argument 'arg' function-redefined:75:bad_single_dispatch:function already defined line 70 -unused-argument:75:bad_single_dispatch:Unused argument 'arg'
\ No newline at end of file +unused-argument:75:bad_single_dispatch:Unused argument 'arg' diff --git a/tests/functional/s/star_needs_assignment_target_py35.txt b/tests/functional/s/star_needs_assignment_target_py35.txt index 07770523b..ec804b565 100644 --- a/tests/functional/s/star_needs_assignment_target_py35.txt +++ b/tests/functional/s/star_needs_assignment_target_py35.txt @@ -1 +1 @@ -star-needs-assignment-target:15::Can use starred expression only in assignment target
\ No newline at end of file +star-needs-assignment-target:15::Can use starred expression only in assignment target diff --git a/tests/functional/s/statement_without_effect_py36.txt b/tests/functional/s/statement_without_effect_py36.txt index 6b782923b..65923b138 100644 --- a/tests/functional/s/statement_without_effect_py36.txt +++ b/tests/functional/s/statement_without_effect_py36.txt @@ -1 +1 @@ -pointless-string-statement:18:ClassLevelAttributeTest:String statement has no effect
\ No newline at end of file +pointless-string-statement:18:ClassLevelAttributeTest:String statement has no effect diff --git a/tests/functional/s/string_formatting.txt b/tests/functional/s/string_formatting.txt index 9801de1a7..c69cc458a 100644 --- a/tests/functional/s/string_formatting.txt +++ b/tests/functional/s/string_formatting.txt @@ -38,4 +38,4 @@ too-many-format-args:128:issue322:Too many arguments for format string too-few-format-args:129:issue322:Not enough arguments for format string too-few-format-args:152:issue351:Not enough arguments for format string too-many-format-args:154:issue351:Too many arguments for format string -bad-format-string:188:avoid_empty_attribute:Invalid format string
\ No newline at end of file +bad-format-string:188:avoid_empty_attribute:Invalid format string diff --git a/tests/functional/s/string_formatting_disable.py b/tests/functional/s/string_formatting_disable.py index 096c84734..88f3dcf03 100644 --- a/tests/functional/s/string_formatting_disable.py +++ b/tests/functional/s/string_formatting_disable.py @@ -1 +1 @@ -"a {} {".format(1) # [bad-format-string]
\ No newline at end of file +"a {} {".format(1) # [bad-format-string] diff --git a/tests/functional/s/string_formatting_disable.txt b/tests/functional/s/string_formatting_disable.txt index 2c8f6db59..fa6e9ce9b 100644 --- a/tests/functional/s/string_formatting_disable.txt +++ b/tests/functional/s/string_formatting_disable.txt @@ -1 +1 @@ -bad-format-string:1::Invalid format string
\ No newline at end of file +bad-format-string:1::Invalid format string diff --git a/tests/functional/s/string_formatting_py27.rc b/tests/functional/s/string_formatting_py27.rc index 80170b777..8cc2fde47 100644 --- a/tests/functional/s/string_formatting_py27.rc +++ b/tests/functional/s/string_formatting_py27.rc @@ -1,3 +1,3 @@ [testoptions] min_pyver=2.7
-max_pyver=3.0
\ No newline at end of file +max_pyver=3.0 diff --git a/tests/functional/s/string_formatting_py3.rc b/tests/functional/s/string_formatting_py3.rc index a2ab06c50..c093be204 100644 --- a/tests/functional/s/string_formatting_py3.rc +++ b/tests/functional/s/string_formatting_py3.rc @@ -1,2 +1,2 @@ [testoptions] -min_pyver=3.0
\ No newline at end of file +min_pyver=3.0 diff --git a/tests/functional/s/syntax_error.txt b/tests/functional/s/syntax_error.txt index f14ae39dd..c60d001c1 100644 --- a/tests/functional/s/syntax_error.txt +++ b/tests/functional/s/syntax_error.txt @@ -1 +1 @@ -syntax-error:1::invalid syntax (<unknown>, line 1)
\ No newline at end of file +syntax-error:1::invalid syntax (<unknown>, line 1) diff --git a/tests/functional/s/syntax_error_jython.txt b/tests/functional/s/syntax_error_jython.txt index e532aece7..56c75f6f6 100644 --- a/tests/functional/s/syntax_error_jython.txt +++ b/tests/functional/s/syntax_error_jython.txt @@ -1 +1 @@ -syntax-error:1::"mismatched input '\n\n\n\n' expecting LPAREN"
\ No newline at end of file +syntax-error:1::"mismatched input '\n\n\n\n' expecting LPAREN" diff --git a/tests/functional/s/sys_stream_regression_1004.rc b/tests/functional/s/sys_stream_regression_1004.rc index 182fae81c..15704f555 100644 --- a/tests/functional/s/sys_stream_regression_1004.rc +++ b/tests/functional/s/sys_stream_regression_1004.rc @@ -1,3 +1,3 @@ [testoptions] min_pyver=3.5 -except_implementations=PyPy
\ No newline at end of file +except_implementations=PyPy diff --git a/tests/functional/s/sys_stream_regression_1004.txt b/tests/functional/s/sys_stream_regression_1004.txt index b68af46fa..d14134285 100644 --- a/tests/functional/s/sys_stream_regression_1004.txt +++ b/tests/functional/s/sys_stream_regression_1004.txt @@ -1,2 +1,2 @@ no-member:6::Instance of 'TextIOWrapper' has no 'buff' member:INFERENCE -no-member:7::Instance of 'BufferedWriter' has no 'write1' member; maybe 'write'?:INFERENCE
\ No newline at end of file +no-member:7::Instance of 'BufferedWriter' has no 'write1' member; maybe 'write'?:INFERENCE diff --git a/tests/functional/t/tokenize_error_jython.rc b/tests/functional/t/tokenize_error_jython.rc index 79ffac09c..0dd078923 100644 --- a/tests/functional/t/tokenize_error_jython.rc +++ b/tests/functional/t/tokenize_error_jython.rc @@ -1,2 +1,2 @@ [testoptions] -except_implementations=CPython,PyPy,IronPython
\ No newline at end of file +except_implementations=CPython,PyPy,IronPython diff --git a/tests/functional/t/tokenize_error_jython.txt b/tests/functional/t/tokenize_error_jython.txt index 82e662eb8..6c1abf4a3 100644 --- a/tests/functional/t/tokenize_error_jython.txt +++ b/tests/functional/t/tokenize_error_jython.txt @@ -1 +1 @@ -syntax-error:1::unexpected character after line continuation character
\ No newline at end of file +syntax-error:1::unexpected character after line continuation character diff --git a/tests/functional/t/trailing_comma_tuple.rc b/tests/functional/t/trailing_comma_tuple.rc index a2ab06c50..c093be204 100644 --- a/tests/functional/t/trailing_comma_tuple.rc +++ b/tests/functional/t/trailing_comma_tuple.rc @@ -1,2 +1,2 @@ [testoptions] -min_pyver=3.0
\ No newline at end of file +min_pyver=3.0 diff --git a/tests/functional/t/typing_use.py b/tests/functional/t/typing_use.py index 68a48d322..b92a08722 100644 --- a/tests/functional/t/typing_use.py +++ b/tests/functional/t/typing_use.py @@ -62,4 +62,4 @@ class Cls: def method(self, param): return (self, param) -# pylint: enable=too-few-public-methods
\ No newline at end of file +# pylint: enable=too-few-public-methods diff --git a/tests/functional/too/too_few_public_methods_37.rc b/tests/functional/too/too_few_public_methods_37.rc index 5d0572448..a17bb22da 100644 --- a/tests/functional/too/too_few_public_methods_37.rc +++ b/tests/functional/too/too_few_public_methods_37.rc @@ -1,2 +1,2 @@ [testoptions] -min_pyver=3.7
\ No newline at end of file +min_pyver=3.7 diff --git a/tests/functional/too/too_many_ancestors.txt b/tests/functional/too/too_many_ancestors.txt index e9f0841ca..417938bdd 100644 --- a/tests/functional/too/too_many_ancestors.txt +++ b/tests/functional/too/too_many_ancestors.txt @@ -1,2 +1,2 @@ too-many-ancestors:20:Iiii:Too many ancestors (9/7) -too-many-ancestors:23:Jjjj:Too many ancestors (10/7)
\ No newline at end of file +too-many-ancestors:23:Jjjj:Too many ancestors (10/7) diff --git a/tests/functional/too/too_many_arguments_issue_1045.rc b/tests/functional/too/too_many_arguments_issue_1045.rc index 46032f660..d425e7c47 100644 --- a/tests/functional/too/too_many_arguments_issue_1045.rc +++ b/tests/functional/too/too_many_arguments_issue_1045.rc @@ -1,2 +1,2 @@ [testoptions] -min_pyver=3.2
\ No newline at end of file +min_pyver=3.2 diff --git a/tests/functional/too/too_many_lines.txt b/tests/functional/too/too_many_lines.txt index 0374f0c0c..a7b9fa946 100644 --- a/tests/functional/too/too_many_lines.txt +++ b/tests/functional/too/too_many_lines.txt @@ -1 +1 @@ -too-many-lines:1::Too many lines in module (1015/1000)
\ No newline at end of file +too-many-lines:1::Too many lines in module (1015/1000) diff --git a/tests/functional/too/too_many_locals.txt b/tests/functional/too/too_many_locals.txt index 4a7d19d4f..615ae752d 100644 --- a/tests/functional/too/too_many_locals.txt +++ b/tests/functional/too/too_many_locals.txt @@ -1,3 +1,3 @@ too-many-locals:4:function:Too many local variables (16/15)
too-many-locals:12:too_many_locals_function:Too many local variables (16/15)
-too-many-arguments:32:too_many_arguments_function:Too many arguments (6/5)
\ No newline at end of file +too-many-arguments:32:too_many_arguments_function:Too many arguments (6/5) diff --git a/tests/functional/too/too_many_return_statements.txt b/tests/functional/too/too_many_return_statements.txt index 4f65db229..a24c6167e 100644 --- a/tests/functional/too/too_many_return_statements.txt +++ b/tests/functional/too/too_many_return_statements.txt @@ -1 +1 @@ -too-many-return-statements:3:stupid_function:Too many return statements (11/6)
\ No newline at end of file +too-many-return-statements:3:stupid_function:Too many return statements (11/6) diff --git a/tests/functional/u/unbalanced_tuple_unpacking_py30.rc b/tests/functional/u/unbalanced_tuple_unpacking_py30.rc index 8c6eb56c4..c0490a61a 100644 --- a/tests/functional/u/unbalanced_tuple_unpacking_py30.rc +++ b/tests/functional/u/unbalanced_tuple_unpacking_py30.rc @@ -1,2 +1,2 @@ [testoptions]
-min_pyver=3.0
\ No newline at end of file +min_pyver=3.0 diff --git a/tests/functional/u/unexpected_special_method_signature.txt b/tests/functional/u/unexpected_special_method_signature.txt index 4fb52df64..b54454690 100644 --- a/tests/functional/u/unexpected_special_method_signature.txt +++ b/tests/functional/u/unexpected_special_method_signature.txt @@ -13,4 +13,4 @@ unexpected-special-method-signature:57:Async.__aiter__:The special method '__ait unexpected-special-method-signature:59:Async.__anext__:The special method '__anext__' expects 0 param(s), 2 were given unexpected-special-method-signature:61:Async.__await__:The special method '__await__' expects 0 param(s), 1 was given unexpected-special-method-signature:63:Async.__aenter__:The special method '__aenter__' expects 0 param(s), 1 was given -unexpected-special-method-signature:65:Async.__aexit__:The special method '__aexit__' expects 3 param(s), 0 was given
\ No newline at end of file +unexpected-special-method-signature:65:Async.__aexit__:The special method '__aexit__' expects 3 param(s), 0 was given diff --git a/tests/functional/u/unknown_encoding_jython.py b/tests/functional/u/unknown_encoding_jython.py index a28cfed06..986328512 100644 --- a/tests/functional/u/unknown_encoding_jython.py +++ b/tests/functional/u/unknown_encoding_jython.py @@ -4,4 +4,3 @@ """
__revision__ = 'יייי'
-
diff --git a/tests/functional/u/unknown_encoding_jython.rc b/tests/functional/u/unknown_encoding_jython.rc index 788d377ba..ed0c011c8 100644 --- a/tests/functional/u/unknown_encoding_jython.rc +++ b/tests/functional/u/unknown_encoding_jython.rc @@ -1,2 +1,2 @@ [testoptions] -except_implementations=PyPy,CPython,IronPython
\ No newline at end of file +except_implementations=PyPy,CPython,IronPython diff --git a/tests/functional/u/unknown_encoding_py29.py b/tests/functional/u/unknown_encoding_py29.py index aeb2be607..4bc9816ba 100644 --- a/tests/functional/u/unknown_encoding_py29.py +++ b/tests/functional/u/unknown_encoding_py29.py @@ -4,4 +4,3 @@ """
__revision__ = 'יייי'
-
diff --git a/tests/functional/u/unknown_encoding_py29.rc b/tests/functional/u/unknown_encoding_py29.rc index 1c066fbc5..bbe1f6b92 100644 --- a/tests/functional/u/unknown_encoding_py29.rc +++ b/tests/functional/u/unknown_encoding_py29.rc @@ -1,3 +1,3 @@ [testoptions] max_pyver=3.0 -except_implementations=PyPy
\ No newline at end of file +except_implementations=PyPy diff --git a/tests/functional/u/unpacked_exceptions.rc b/tests/functional/u/unpacked_exceptions.rc index 9540bc95e..4a0e47a21 100644 --- a/tests/functional/u/unpacked_exceptions.rc +++ b/tests/functional/u/unpacked_exceptions.rc @@ -2,4 +2,4 @@ max_pyver=3.0 [Messages Control] -enable=python3
\ No newline at end of file +enable=python3 diff --git a/tests/functional/u/unpacking_generalizations.rc b/tests/functional/u/unpacking_generalizations.rc index 03004f2c2..71de8b630 100644 --- a/tests/functional/u/unpacking_generalizations.rc +++ b/tests/functional/u/unpacking_generalizations.rc @@ -1,2 +1,2 @@ [testoptions] -min_pyver=3.5
\ No newline at end of file +min_pyver=3.5 diff --git a/tests/functional/u/unpacking_generalizations.txt b/tests/functional/u/unpacking_generalizations.txt index d92fcc91e..0de7dfbe4 100644 --- a/tests/functional/u/unpacking_generalizations.txt +++ b/tests/functional/u/unpacking_generalizations.txt @@ -3,4 +3,4 @@ no-value-for-parameter:25::"No value for argument 'd' in function call" too-many-function-args:26::Too many positional arguments for function call repeated-keyword:27::Got multiple values for keyword argument 'd' in function call repeated-keyword:29::Got multiple values for keyword argument 'c' in function call -repeated-keyword:29::Got multiple values for keyword argument 'd' in function call
\ No newline at end of file +repeated-keyword:29::Got multiple values for keyword argument 'd' in function call diff --git a/tests/functional/u/unreachable.txt b/tests/functional/u/unreachable.txt index adf05264f..359072962 100644 --- a/tests/functional/u/unreachable.txt +++ b/tests/functional/u/unreachable.txt @@ -1,4 +1,4 @@ unreachable:7:func1:Unreachable code
unreachable:12:func2:Unreachable code
unreachable:18:func3:Unreachable code
-unreachable:22:func4:Unreachable code
\ No newline at end of file +unreachable:22:func4:Unreachable code diff --git a/tests/functional/u/unsupported_binary_operation.txt b/tests/functional/u/unsupported_binary_operation.txt index d94365d0a..00e43cbdc 100644 --- a/tests/functional/u/unsupported_binary_operation.txt +++ b/tests/functional/u/unsupported_binary_operation.txt @@ -18,4 +18,4 @@ unsupported-binary-operation:40::"unsupported operand type(s) for +: 'A2' and 'B unsupported-binary-operation:47::"unsupported operand type(s) for +: 'Child' and 'Parent'"
unsupported-binary-operation:54::"unsupported operand type(s) for +: 'A3' and 'B3'"
unsupported-binary-operation:57::"unsupported operand type(s) for +=: 'int' and 'A'"
-unsupported-binary-operation:59::"unsupported operand type(s) for +=: 'int' and 'list'"
\ No newline at end of file +unsupported-binary-operation:59::"unsupported operand type(s) for +=: 'int' and 'list'" diff --git a/tests/functional/u/used_before_assignment_nonlocal.txt b/tests/functional/u/used_before_assignment_nonlocal.txt index 36e635e0b..806677c64 100644 --- a/tests/functional/u/used_before_assignment_nonlocal.txt +++ b/tests/functional/u/used_before_assignment_nonlocal.txt @@ -3,4 +3,4 @@ used-before-assignment:27:test_fail2.wrap:Using variable 'cnt' before assignment used-before-assignment:30:test_fail3:Using variable 'test_fail4' before assignment
used-before-assignment:34:test_fail4:Using variable 'test_fail5' before assignment
used-before-assignment:34:test_fail4:Using variable 'undefined' before assignment
-used-before-assignment:40:test_fail5:Using variable 'undefined1' before assignment
\ No newline at end of file +used-before-assignment:40:test_fail5:Using variable 'undefined1' before assignment diff --git a/tests/functional/u/used_prior_global_declaration.txt b/tests/functional/u/used_prior_global_declaration.txt index 861ba17c1..1c14d848a 100644 --- a/tests/functional/u/used_prior_global_declaration.txt +++ b/tests/functional/u/used_prior_global_declaration.txt @@ -1 +1 @@ -used-prior-global-declaration:8:test:Name 'CONST' is used prior to global declaration
\ No newline at end of file +used-prior-global-declaration:8:test:Name 'CONST' is used prior to global declaration diff --git a/tests/functional/u/useless_super_delegation_py35.txt b/tests/functional/u/useless_super_delegation_py35.txt index 8d9cdaa77..9f330128f 100644 --- a/tests/functional/u/useless_super_delegation_py35.txt +++ b/tests/functional/u/useless_super_delegation_py35.txt @@ -1 +1 @@ -useless-super-delegation:11:UselessSuper.useless:Useless super delegation in method 'useless'
\ No newline at end of file +useless-super-delegation:11:UselessSuper.useless:Useless super delegation in method 'useless' diff --git a/tests/functional/y/yield_from_iterable_py33.rc b/tests/functional/y/yield_from_iterable_py33.rc index 3330edda5..28c99bc28 100644 --- a/tests/functional/y/yield_from_iterable_py33.rc +++ b/tests/functional/y/yield_from_iterable_py33.rc @@ -1,2 +1,2 @@ [testoptions] -min_pyver=3.3
\ No newline at end of file +min_pyver=3.3 diff --git a/tests/functional/y/yield_inside_async_function.txt b/tests/functional/y/yield_inside_async_function.txt index ae97cae4b..1f69ac822 100644 --- a/tests/functional/y/yield_inside_async_function.txt +++ b/tests/functional/y/yield_inside_async_function.txt @@ -1,2 +1,2 @@ yield-inside-async-function:11:bad_coro:Yield inside async function -yield-inside-async-function:12:bad_coro:Yield inside async function
\ No newline at end of file +yield-inside-async-function:12:bad_coro:Yield inside async function diff --git a/tests/messages/func_e0204.txt b/tests/messages/func_e0204.txt index 40a5928b5..d1c890c9f 100644 --- a/tests/messages/func_e0204.txt +++ b/tests/messages/func_e0204.txt @@ -1,3 +1,2 @@ E: 11:Abcd.__init__: Method should have "self" as first argument E: 15:Abcd.abdc: Method should have "self" as first argument - diff --git a/tests/messages/func_e13xx.txt b/tests/messages/func_e13xx.txt index f2d0d364e..21b588f81 100644 --- a/tests/messages/func_e13xx.txt +++ b/tests/messages/func_e13xx.txt @@ -10,4 +10,3 @@ E: 20:pprint: Format string ends in middle of conversion specifier E: 21:pprint: Unsupported format character 'a' (0x61) at index 12 W: 15:pprint: Unused key 'PARG_3' in format string dictionary W: 16:pprint: Format string dictionary key should be a string, not 2 - diff --git a/tests/messages/func_e13xx_py30.txt b/tests/messages/func_e13xx_py30.txt index 7ac9fb180..c7ffb64af 100644 --- a/tests/messages/func_e13xx_py30.txt +++ b/tests/messages/func_e13xx_py30.txt @@ -8,4 +8,4 @@ E: 18:pprint: Expected mapping for format string, not List E: 19:pprint: Unsupported format character 'z' (0x7a) at index 2 E: 20:pprint: Format string ends in middle of conversion specifier W: 15:pprint: Unused key 'PARG_3' in format string dictionary -W: 16:pprint: Format string dictionary key should be a string, not 2
\ No newline at end of file +W: 16:pprint: Format string dictionary key should be a string, not 2 diff --git a/tests/messages/func_typecheck_non_callable_call.txt b/tests/messages/func_typecheck_non_callable_call.txt index 8baa237a3..80e89d6f9 100644 --- a/tests/messages/func_typecheck_non_callable_call.txt +++ b/tests/messages/func_typecheck_non_callable_call.txt @@ -5,4 +5,4 @@ E: 33: DICT is not callable E: 35: TUPLE is not callable E: 37: INT is not callable E: 72: PROP.test is not callable -E: 73: PROP.custom is not callable
\ No newline at end of file +E: 73: PROP.custom is not callable diff --git a/tests/messages/func_use_for_or_listcomp_var_py29.txt b/tests/messages/func_use_for_or_listcomp_var_py29.txt index 14d61ad65..2d27b5165 100644 --- a/tests/messages/func_use_for_or_listcomp_var_py29.txt +++ b/tests/messages/func_use_for_or_listcomp_var_py29.txt @@ -1,3 +1,2 @@ W: 6: Using possibly undefined loop variable 'C' W: 15: Using possibly undefined loop variable 'var1' - diff --git a/tests/messages/func_use_for_or_listcomp_var_py30.txt b/tests/messages/func_use_for_or_listcomp_var_py30.txt index 46d3430af..35a85d511 100644 --- a/tests/messages/func_use_for_or_listcomp_var_py30.txt +++ b/tests/messages/func_use_for_or_listcomp_var_py30.txt @@ -1,3 +1,2 @@ E: 6: Using variable 'C' before assignment W: 15: Using possibly undefined loop variable 'var1' - diff --git a/tests/messages/func_w0122_py_30.txt b/tests/messages/func_w0122_py_30.txt index d833076d5..e0163662c 100644 --- a/tests/messages/func_w0122_py_30.txt +++ b/tests/messages/func_w0122_py_30.txt @@ -2,4 +2,3 @@ W: 5: Use of exec W: 6: Use of exec W: 8: Use of exec W: 12:func: Use of exec - diff --git a/tests/messages/func_with_without_as_py25.txt b/tests/messages/func_with_without_as_py25.txt index 18ca3711c..e62b69bba 100644 --- a/tests/messages/func_with_without_as_py25.txt +++ b/tests/messages/func_with_without_as_py25.txt @@ -1,3 +1,2 @@ E: 11:do_nothing: Using variable 'base' before assignment W: 11:do_nothing: Statement seems to have no effect - diff --git a/tests/regrtest_data/.pylintrc b/tests/regrtest_data/.pylintrc index 9a5bb5a44..f5130379c 100644 --- a/tests/regrtest_data/.pylintrc +++ b/tests/regrtest_data/.pylintrc @@ -1,4 +1,3 @@ [MASTER] optimize-ast=no - diff --git a/tests/regrtest_data/bad_package/__init__.py b/tests/regrtest_data/bad_package/__init__.py index 60585fdbe..16c3a1562 100644 --- a/tests/regrtest_data/bad_package/__init__.py +++ b/tests/regrtest_data/bad_package/__init__.py @@ -1,2 +1,2 @@ import missing
-raise missing.Missing..
\ No newline at end of file +raise missing.Missing.. diff --git a/tests/regrtest_data/beyond_top/__init__.py b/tests/regrtest_data/beyond_top/__init__.py index 401fe0674..788cf4510 100644 --- a/tests/regrtest_data/beyond_top/__init__.py +++ b/tests/regrtest_data/beyond_top/__init__.py @@ -3,4 +3,4 @@ from . import data try:
from ... import Lala
except ImportError:
- pass
\ No newline at end of file + pass diff --git a/tests/regrtest_data/beyond_top/data.py b/tests/regrtest_data/beyond_top/data.py index 9ec64d267..3b735ff50 100644 --- a/tests/regrtest_data/beyond_top/data.py +++ b/tests/regrtest_data/beyond_top/data.py @@ -1 +1 @@ -Anything = 42
\ No newline at end of file +Anything = 42 diff --git a/tests/regrtest_data/comments_pylintrc b/tests/regrtest_data/comments_pylintrc index 93a33101f..6d1cd3991 100644 --- a/tests/regrtest_data/comments_pylintrc +++ b/tests/regrtest_data/comments_pylintrc @@ -4,4 +4,4 @@ enable= trailing-whitespace, # Caring about it bad-indentation, # And about this # And about this - missing-docstring
\ No newline at end of file + missing-docstring diff --git a/tests/regrtest_data/syntax_error.py b/tests/regrtest_data/syntax_error.py index bf86aff05..cdc7c147d 100644 --- a/tests/regrtest_data/syntax_error.py +++ b/tests/regrtest_data/syntax_error.py @@ -1 +1 @@ -class A extends B {}
\ No newline at end of file +class A extends B {} diff --git a/tests/regrtest_data/test_pylintrc_comments.py b/tests/regrtest_data/test_pylintrc_comments.py index 6bcff58d2..ef8c40395 100644 --- a/tests/regrtest_data/test_pylintrc_comments.py +++ b/tests/regrtest_data/test_pylintrc_comments.py @@ -1,2 +1,2 @@ def f(x): - return x # 1 space
\ No newline at end of file + return x # 1 space |