summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPierre Sassoulas <pierre.sassoulas@gmail.com>2020-05-03 17:29:24 +0200
committerPierre Sassoulas <pierre.sassoulas@gmail.com>2020-05-03 18:24:25 +0200
commit3fffdf03d5a32e4a0d1b5216ea9d16dacacdaa6f (patch)
treee812974218d0b182c70221177dbdcd6710e47d05
parent8403b8961560591810a75f088fb72b8b052665ca (diff)
downloadpylint-git-3fffdf03d5a32e4a0d1b5216ea9d16dacacdaa6f.tar.gz
Fix trailing whitespaces and trailing newlines
-rw-r--r--.copyrite_aliases4
-rw-r--r--.github/ISSUE_TEMPLATE/1_Bug_report.md1
-rw-r--r--.github/ISSUE_TEMPLATE/2_Feature_request.md2
-rw-r--r--.github/PULL_REQUEST_TEMPLATE.md4
-rw-r--r--COPYING10
-rw-r--r--debian/NEWS.Debian1
-rw-r--r--debian/changelog1
-rw-r--r--debian/copyright1
-rw-r--r--debian/pylint.emacsen-install2
-rw-r--r--doc/backlinks.rst1
-rw-r--r--doc/how_tos/transform_plugins.rst2
-rw-r--r--doc/tutorial.rst2
-rw-r--r--doc/user_guide/index.rst2
-rw-r--r--doc/whatsnew/1.6.rst6
-rw-r--r--doc/whatsnew/1.8.rst12
-rw-r--r--doc/whatsnew/2.4.rst2
-rw-r--r--elisp/pylint.el2
-rw-r--r--examples/pylintrc_camelcase2
-rw-r--r--man/pyreverse.138
-rw-r--r--man/symilar.11
-rw-r--r--pylint/utils/pragma_parser.py2
-rw-r--r--setup.cfg2
-rw-r--r--tests/functional/a/abstract_class_instantiated_py3.rc2
-rw-r--r--tests/functional/a/abstract_class_instantiated_py34.rc2
-rw-r--r--tests/functional/a/abstract_method_py3.rc2
-rw-r--r--tests/functional/a/access_member_before_definition.txt2
-rw-r--r--tests/functional/a/anomalous_unicode_escape_py3.rc2
-rw-r--r--tests/functional/a/anomalous_unicode_escape_py3.txt2
-rw-r--r--tests/functional/a/arguments_differ_py3.rc2
-rw-r--r--tests/functional/a/assigning_non_slot.txt2
-rw-r--r--tests/functional/a/assignment_from_no_return.txt2
-rw-r--r--tests/functional/a/assignment_from_no_return_py3.rc2
-rw-r--r--tests/functional/a/async_functions.rc2
-rw-r--r--tests/functional/a/async_functions.txt2
-rw-r--r--tests/functional/b/bad_exception_context.rc2
-rw-r--r--tests/functional/b/bad_exception_context.txt2
-rw-r--r--tests/functional/b/bad_open_mode_py3.rc2
-rw-r--r--tests/functional/b/bad_staticmethod_argument.txt2
-rw-r--r--tests/functional/b/bare_except.txt2
-rw-r--r--tests/functional/b/boolean_datetime.rc2
-rw-r--r--tests/functional/c/class_members_py30.rc2
-rw-r--r--tests/functional/c/class_members_py30.txt2
-rw-r--r--tests/functional/c/consider_join.txt2
-rw-r--r--tests/functional/c/consider_swap_variables.txt2
-rw-r--r--tests/functional/c/consider_using_dict_comprehension.txt2
-rw-r--r--tests/functional/c/consider_using_set_comprehension.txt2
-rw-r--r--tests/functional/c/continue_in_finally.py1
-rw-r--r--tests/functional/c/ctor_arguments.txt2
-rw-r--r--tests/functional/d/dangerous_default_value_py30.rc2
-rw-r--r--tests/functional/d/deprecated_method_getmoduleinfo.txt2
-rw-r--r--tests/functional/d/deprecated_module_uninstalled.rc2
-rw-r--r--tests/functional/d/disable_msg_github_issue_1389.rc2
-rw-r--r--tests/functional/d/duplicate_argument_name.txt2
-rw-r--r--tests/functional/d/duplicate_argument_name_py3.rc2
-rw-r--r--tests/functional/d/duplicate_argument_name_py3.txt2
-rw-r--r--tests/functional/d/duplicate_bases.txt2
-rw-r--r--tests/functional/e/eval_used.txt2
-rw-r--r--tests/functional/e/exception_message.rc2
-rw-r--r--tests/functional/e/exec_used_py2.txt2
-rw-r--r--tests/functional/e/exec_used_py3.txt2
-rw-r--r--tests/functional/f/fallback_import_enabled.rc2
-rw-r--r--tests/functional/f/fallback_import_enabled.txt2
-rw-r--r--tests/functional/f/fixme.rc2
-rw-r--r--tests/functional/f/fixme.txt2
-rw-r--r--tests/functional/i/indexing_exception.rc2
-rw-r--r--tests/functional/i/indexing_exception.txt2
-rw-r--r--tests/functional/i/inherit_non_class.txt2
-rw-r--r--tests/functional/i/init_subclass_classmethod_py36.rc2
-rw-r--r--tests/functional/i/invalid_exceptions_raised.txt2
-rw-r--r--tests/functional/i/invalid_sequence_index.txt2
-rw-r--r--tests/functional/i/invalid_unary_operand_type.txt2
-rw-r--r--tests/functional/i/iterable_context_py3.rc1
-rw-r--r--tests/functional/i/iterable_context_py36.rc2
-rw-r--r--tests/functional/m/mapping_context_py3.rc1
-rw-r--r--tests/functional/m/member_checks_hints.rc2
-rw-r--r--tests/functional/m/member_checks_hints.txt2
-rw-r--r--tests/functional/m/member_checks_ignore_none.rc2
-rw-r--r--tests/functional/m/member_checks_ignore_none.txt2
-rw-r--r--tests/functional/m/member_checks_no_hints.rc2
-rw-r--r--tests/functional/m/member_checks_no_hints.txt2
-rw-r--r--tests/functional/m/member_checks_py37.rc2
-rw-r--r--tests/functional/m/membership_protocol_py2.rc1
-rw-r--r--tests/functional/m/membership_protocol_py3.rc1
-rw-r--r--tests/functional/m/misplaced_future.txt2
-rw-r--r--tests/functional/m/missing_kwoa_py3.rc2
-rw-r--r--tests/functional/m/missing_kwoa_py3.txt2
-rw-r--r--tests/functional/n/no_self_use.txt2
-rw-r--r--tests/functional/n/no_self_use_py3.rc2
-rw-r--r--tests/functional/n/no_self_use_py3.txt1
-rw-r--r--tests/functional/n/none_dunder_protocols_py36.rc2
-rw-r--r--tests/functional/n/nonlocal_and_global.txt2
-rw-r--r--tests/functional/n/nonlocal_without_binding.rc2
-rw-r--r--tests/functional/n/nonlocal_without_binding.txt2
-rw-r--r--tests/functional/n/not_async_context_manager.rc2
-rw-r--r--tests/functional/n/not_callable.txt2
-rw-r--r--tests/functional/p/protected_access_access_different_scopes.txt2
-rw-r--r--tests/functional/r/raising_non_exception_py3.txt2
-rw-r--r--tests/functional/r/redefined_argument_from_local.txt2
-rw-r--r--tests/functional/r/redundant_unittest_assert.txt2
-rw-r--r--tests/functional/r/reimported.txt2
-rw-r--r--tests/functional/r/repeated_keyword.txt2
-rw-r--r--tests/functional/r/return_in_init.txt2
-rw-r--r--tests/functional/r/return_outside_function.txt2
-rw-r--r--tests/functional/s/simplifiable_if_expression.txt2
-rw-r--r--tests/functional/s/singledispatch_functions.txt2
-rw-r--r--tests/functional/s/singledispatch_functions_py3.txt2
-rw-r--r--tests/functional/s/star_needs_assignment_target_py35.txt2
-rw-r--r--tests/functional/s/statement_without_effect_py36.txt2
-rw-r--r--tests/functional/s/string_formatting.txt2
-rw-r--r--tests/functional/s/string_formatting_disable.py2
-rw-r--r--tests/functional/s/string_formatting_disable.txt2
-rw-r--r--tests/functional/s/string_formatting_py27.rc2
-rw-r--r--tests/functional/s/string_formatting_py3.rc2
-rw-r--r--tests/functional/s/syntax_error.txt2
-rw-r--r--tests/functional/s/syntax_error_jython.txt2
-rw-r--r--tests/functional/s/sys_stream_regression_1004.rc2
-rw-r--r--tests/functional/s/sys_stream_regression_1004.txt2
-rw-r--r--tests/functional/t/tokenize_error_jython.rc2
-rw-r--r--tests/functional/t/tokenize_error_jython.txt2
-rw-r--r--tests/functional/t/trailing_comma_tuple.rc2
-rw-r--r--tests/functional/t/typing_use.py2
-rw-r--r--tests/functional/too/too_few_public_methods_37.rc2
-rw-r--r--tests/functional/too/too_many_ancestors.txt2
-rw-r--r--tests/functional/too/too_many_arguments_issue_1045.rc2
-rw-r--r--tests/functional/too/too_many_lines.txt2
-rw-r--r--tests/functional/too/too_many_locals.txt2
-rw-r--r--tests/functional/too/too_many_return_statements.txt2
-rw-r--r--tests/functional/u/unbalanced_tuple_unpacking_py30.rc2
-rw-r--r--tests/functional/u/unexpected_special_method_signature.txt2
-rw-r--r--tests/functional/u/unknown_encoding_jython.py1
-rw-r--r--tests/functional/u/unknown_encoding_jython.rc2
-rw-r--r--tests/functional/u/unknown_encoding_py29.py1
-rw-r--r--tests/functional/u/unknown_encoding_py29.rc2
-rw-r--r--tests/functional/u/unpacked_exceptions.rc2
-rw-r--r--tests/functional/u/unpacking_generalizations.rc2
-rw-r--r--tests/functional/u/unpacking_generalizations.txt2
-rw-r--r--tests/functional/u/unreachable.txt2
-rw-r--r--tests/functional/u/unsupported_binary_operation.txt2
-rw-r--r--tests/functional/u/used_before_assignment_nonlocal.txt2
-rw-r--r--tests/functional/u/used_prior_global_declaration.txt2
-rw-r--r--tests/functional/u/useless_super_delegation_py35.txt2
-rw-r--r--tests/functional/y/yield_from_iterable_py33.rc2
-rw-r--r--tests/functional/y/yield_inside_async_function.txt2
-rw-r--r--tests/messages/func_e0204.txt1
-rw-r--r--tests/messages/func_e13xx.txt1
-rw-r--r--tests/messages/func_e13xx_py30.txt2
-rw-r--r--tests/messages/func_typecheck_non_callable_call.txt2
-rw-r--r--tests/messages/func_use_for_or_listcomp_var_py29.txt1
-rw-r--r--tests/messages/func_use_for_or_listcomp_var_py30.txt1
-rw-r--r--tests/messages/func_w0122_py_30.txt1
-rw-r--r--tests/messages/func_with_without_as_py25.txt1
-rw-r--r--tests/regrtest_data/.pylintrc1
-rw-r--r--tests/regrtest_data/bad_package/__init__.py2
-rw-r--r--tests/regrtest_data/beyond_top/__init__.py2
-rw-r--r--tests/regrtest_data/beyond_top/data.py2
-rw-r--r--tests/regrtest_data/comments_pylintrc2
-rw-r--r--tests/regrtest_data/syntax_error.py2
-rw-r--r--tests/regrtest_data/test_pylintrc_comments.py2
158 files changed, 167 insertions, 190 deletions
diff --git a/.copyrite_aliases b/.copyrite_aliases
index 2d3fb159e..a110ae745 100644
--- a/.copyrite_aliases
+++ b/.copyrite_aliases
@@ -24,7 +24,7 @@
"afayolle.ml@free.fr",
"aurelien.campeas@logilab.fr",
"lmedioni@logilab.fr"
-
+
],
"authoritative_mail": "contact@logilab.fr",
"name": "LOGILAB S.A. (Paris, FRANCE)"
@@ -45,7 +45,7 @@
"balparda@google.com",
"dlindquist@google.com"
],
- "name": "Google, Inc."
+ "name": "Google, Inc."
},
{
"mails": [
diff --git a/.github/ISSUE_TEMPLATE/1_Bug_report.md b/.github/ISSUE_TEMPLATE/1_Bug_report.md
index 3a7017df0..feaaeeb9a 100644
--- a/.github/ISSUE_TEMPLATE/1_Bug_report.md
+++ b/.github/ISSUE_TEMPLATE/1_Bug_report.md
@@ -26,4 +26,3 @@ about: Report a bug in pylint
### pylint --version output
-
diff --git a/.github/ISSUE_TEMPLATE/2_Feature_request.md b/.github/ISSUE_TEMPLATE/2_Feature_request.md
index daa030f77..685143415 100644
--- a/.github/ISSUE_TEMPLATE/2_Feature_request.md
+++ b/.github/ISSUE_TEMPLATE/2_Feature_request.md
@@ -19,4 +19,4 @@ A clear and concise description of what you want to happen.
### Additional context
-Add any other context about the feature request here. \ No newline at end of file
+Add any other context about the feature request here.
diff --git a/.github/PULL_REQUEST_TEMPLATE.md b/.github/PULL_REQUEST_TEMPLATE.md
index 016d3bc69..d0eb306c7 100644
--- a/.github/PULL_REQUEST_TEMPLATE.md
+++ b/.github/PULL_REQUEST_TEMPLATE.md
@@ -29,9 +29,9 @@ https://github.com/PyCQA/pylint/blob/master/doc/development_guide/contribute.rst
## Related Issue
-<!--
+<!--
If this PR fixes a particular issue, use the following to automatically close that issue
once this PR gets merged:
-Closes #XXX
+Closes #XXX
-->
diff --git a/COPYING b/COPYING
index b7b5f53df..8c4c849e2 100644
--- a/COPYING
+++ b/COPYING
@@ -55,7 +55,7 @@ patent must be licensed for everyone's free use or not licensed at all.
The precise terms and conditions for copying, distribution and
modification follow.
-
+
GNU GENERAL PUBLIC LICENSE
TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
@@ -110,7 +110,7 @@ above, provided that you also meet all of these conditions:
License. (Exception: if the Program itself is interactive but
does not normally print such an announcement, your work based on
the Program is not required to print an announcement.)
-
+
These requirements apply to the modified work as a whole. If
identifiable sections of that work are not derived from the Program,
and can be reasonably considered independent and separate works in
@@ -168,7 +168,7 @@ access to copy from a designated place, then offering equivalent
access to copy the source code from the same place counts as
distribution of the source code, even though third parties are not
compelled to copy the source along with the object code.
-
+
4. You may not copy, modify, sublicense, or distribute the Program
except as expressly provided under this License. Any attempt
otherwise to copy, modify, sublicense or distribute the Program is
@@ -225,7 +225,7 @@ impose that choice.
This section is intended to make thoroughly clear what is believed to
be a consequence of the rest of this License.
-
+
8. If the distribution and/or use of the Program is restricted in
certain countries either by patents or by copyrighted interfaces, the
original copyright holder who places the Program under this License
@@ -278,7 +278,7 @@ PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE
POSSIBILITY OF SUCH DAMAGES.
END OF TERMS AND CONDITIONS
-
+
How to Apply These Terms to Your New Programs
If you develop a new program, and you want it to be of the greatest
diff --git a/debian/NEWS.Debian b/debian/NEWS.Debian
index 0a7e3ebf5..b22f67dc5 100644
--- a/debian/NEWS.Debian
+++ b/debian/NEWS.Debian
@@ -7,4 +7,3 @@ pylint (0.13.2-2) unstable; urgency=low
users may get it from /usr/share/doc/pylint/examples/pylint.el
-- Alexandre Fayolle <afayolle@debian.org> Wed, 04 Jul 2007 12:18:23 +0200
-
diff --git a/debian/changelog b/debian/changelog
index 73102d3b2..9df4205a8 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -544,4 +544,3 @@ logilab-pylint (0.1.0-1) unstable; urgency=low
* Initial Release.
-- Sylvain Thénault <sylvain.thenault@logilab.fr> Wed, 23 Apr 2003 14:42:05 +0200
-
diff --git a/debian/copyright b/debian/copyright
index ba6d96649..1cb582739 100644
--- a/debian/copyright
+++ b/debian/copyright
@@ -460,4 +460,3 @@ License: CC-BY-SA-4.0
licenses.
.
Creative Commons may be contacted at creativecommons.org.
-
diff --git a/debian/pylint.emacsen-install b/debian/pylint.emacsen-install
index 66a848063..00ef52b40 100644
--- a/debian/pylint.emacsen-install
+++ b/debian/pylint.emacsen-install
@@ -23,7 +23,7 @@ FLAGS="${SITEFLAG} -q -batch -l path.el -f batch-byte-compile"
ELDIR=/usr/share/emacs/site-lisp/${PACKAGE}
ELCDIR=/usr/share/${FLAVOR}/site-lisp/${PACKAGE}
-# Install-info-altdir does not actually exist.
+# Install-info-altdir does not actually exist.
# Maybe somebody will write it.
if test -x /usr/sbin/install-info-altdir; then
echo install/${PACKAGE}: install Info links for ${FLAVOR}
diff --git a/doc/backlinks.rst b/doc/backlinks.rst
index 34323e8f7..375386cd6 100644
--- a/doc/backlinks.rst
+++ b/doc/backlinks.rst
@@ -12,4 +12,3 @@ Python code:
* SaltStack (https://github.com/saltstack)
* CodeFactor (https://github.com/codefactor-io)
* many more...
-
diff --git a/doc/how_tos/transform_plugins.rst b/doc/how_tos/transform_plugins.rst
index d3919fd20..de51ef229 100644
--- a/doc/how_tos/transform_plugins.rst
+++ b/doc/how_tos/transform_plugins.rst
@@ -101,7 +101,7 @@ Lets run Pylint with this plugin and see:
amitdev$
All the false positives associated with ``WarningMessage`` are now gone. This is just
-an example, any code transformation can be done by plugins.
+an example, any code transformation can be done by plugins.
See `astroid/brain`_ for real life examples of transform plugins.
diff --git a/doc/tutorial.rst b/doc/tutorial.rst
index 02e7444bb..8cb27bab6 100644
--- a/doc/tutorial.rst
+++ b/doc/tutorial.rst
@@ -18,7 +18,7 @@ in open source. Whatever the motivation, your good intentions may not have the
desired outcome if people find your code hard to use or understand. The Python
community has formalized some recommended programming styles to help everyone
write code in a common, agreed-upon style that makes the most sense for shared
-code. This style is captured in `PEP 8`_, the "Style Guide for Python Code".
+code. This style is captured in `PEP 8`_, the "Style Guide for Python Code".
Pylint can be a quick and easy way of
seeing if your code has captured the essence of `PEP 8`_ and is therefore
``friendly`` to other potential users.
diff --git a/doc/user_guide/index.rst b/doc/user_guide/index.rst
index 80fe2767e..e25db0f99 100644
--- a/doc/user_guide/index.rst
+++ b/doc/user_guide/index.rst
@@ -11,4 +11,4 @@ User Guide
output
message-control
options
- ide-integration \ No newline at end of file
+ ide-integration
diff --git a/doc/whatsnew/1.6.rst b/doc/whatsnew/1.6.rst
index fe599165f..f58a24d80 100644
--- a/doc/whatsnew/1.6.rst
+++ b/doc/whatsnew/1.6.rst
@@ -25,7 +25,7 @@ New checkers
for key in dictionary.keys():
...
-
+
# Can be refactored to:
for key in dictionary:
...
@@ -80,7 +80,7 @@ New features
* We added a new option, ``redefining-builtins-modules``, which is used for
- defining the modules which can redefine builtins.
+ defining the modules which can redefine builtins.
*pylint* will emit an error when a builtin is redefined, such as defining
a variable called ``next``. But in some cases, the builtins can be
redefined in the case they are imported from other places, different
@@ -102,7 +102,7 @@ Bug fixes
* Fixed a bug where the top name of a qualified import was detected as an unused variable.
* We don't warn about ``invalid-sequence-index`` if the indexed object has unknown
- base classes, that Pylint cannot deduce.
+ base classes, that Pylint cannot deduce.
diff --git a/doc/whatsnew/1.8.rst b/doc/whatsnew/1.8.rst
index 884d16404..7e84a8846 100644
--- a/doc/whatsnew/1.8.rst
+++ b/doc/whatsnew/1.8.rst
@@ -52,7 +52,7 @@ New checkers
# Case1: a=0, b=2, args=(4,5)
foo(0,2,4,5) # 0 2 (4,5) ==> Observed values are same as expected values
-
+
# Case2: a=0, b=<default_value>, args=(4,5)
foo(0,4,5) # 0 4 (5,) ==> args list got modified as well as the observed value of b
@@ -253,7 +253,7 @@ New checkers
elif arg < 20:
return
- According to PEP8_, if any return statement returns an expression,
+ According to PEP8_, if any return statement returns an expression,
any return statements where no value is returned should explicitly state this as return None,
and an explicit return statement should be present at the end of the function (if reachable).
Thus, the previous function should be written:
@@ -340,7 +340,7 @@ Other Changes
* ``missing-param-doc`` and ``missing-type-doc`` are no longer emitted when
``Args`` and ``Keyword Args`` are mixed in Google docstring.
-
+
* Fix of false positive ``useless-super-delegation`` message when
parameters default values are different from those used in the base class.
@@ -360,9 +360,9 @@ Other Changes
* Fix the ignored ``pylint disable=fixme`` directives for comments following
the last statement in a file.
-
+
* Fix ``line-too-long`` message deactivated by wrong disable directive.
- The directive ``disable=fixme`` doesn't deactivate anymore the emission
+ The directive ``disable=fixme`` doesn't deactivate anymore the emission
of ``line-too-long`` message for long commented lines.
* If the rcfile specified on the command line doesn't exist, then an
@@ -371,4 +371,4 @@ Other Changes
* Fix the wrong scope of ``disable=`` directive after a commented line.
For example when a ``disable=line-too-long`` directive is at the end of a
long commented line, it no longer disables the emission of ``line-too-long``
- message for lines that follow.
+ message for lines that follow.
diff --git a/doc/whatsnew/2.4.rst b/doc/whatsnew/2.4.rst
index 0dc289785..961a0b2d0 100644
--- a/doc/whatsnew/2.4.rst
+++ b/doc/whatsnew/2.4.rst
@@ -130,7 +130,7 @@ New checkers
Other Changes
=============
-* Don't emit ``protected-access`` when a single underscore prefixed attribute is used
+* Don't emit ``protected-access`` when a single underscore prefixed attribute is used
inside a special method
Close #1802
diff --git a/elisp/pylint.el b/elisp/pylint.el
index 5d4d31ab4..d27a92b14 100644
--- a/elisp/pylint.el
+++ b/elisp/pylint.el
@@ -238,7 +238,7 @@ output buffer, to go to the lines where pylint found matches.
(let ((map (cond
((boundp 'py-mode-map) py-mode-map)
((boundp 'python-mode-map) python-mode-map))))
-
+
(define-key map [menu-bar Python pylint-separator]
'("--" . pylint-separator))
(define-key map [menu-bar Python next-error]
diff --git a/examples/pylintrc_camelcase b/examples/pylintrc_camelcase
index 0dd9266f6..d5cdaa967 100644
--- a/examples/pylintrc_camelcase
+++ b/examples/pylintrc_camelcase
@@ -20,5 +20,3 @@ argument-rgx=[a-z][a-zA-Z0-9]*$
# Regular expression which should only match correct variable names
variable-rgx=[a-z][a-zA-Z0-9]*$
-
-
diff --git a/man/pyreverse.1 b/man/pyreverse.1
index 584f37c10..0b8bbe8a5 100644
--- a/man/pyreverse.1
+++ b/man/pyreverse.1
@@ -4,32 +4,32 @@ pyreverse \- parse python sources files and extract diagrams from
them.
.SH SYNOPSIS
-.B pyreverse
+.B pyreverse
.I [options]
<modules>
.SH DESCRIPTION
.B pyreverse
is a python source analyzer. It parses python packages and produces UML
-diagrams in different output formats. (dot, all formats available for dot,
+diagrams in different output formats. (dot, all formats available for dot,
and vcg).
-With different options, you can have fine tuning on what and how modules,
+With different options, you can have fine tuning on what and how modules,
classes and attributes will be shown in the diagram.
-You can combine several modules in one project (except with
+You can combine several modules in one project (except with
.B \-c
).
-If no \-c and no \-\-diadefs option specified,
-.B pyreverse
-will create
+If no \-c and no \-\-diadefs option specified,
+.B pyreverse
+will create
\- a diagram 'classes_<name>' for the classes in <modules> and
( if there is more than one module in <projects> )
- \- a diagram 'packages_<name>' for the package dependencies in <modules>
+ \- a diagram 'packages_<name>' for the package dependencies in <modules>
With \-c <class>,
-.B pyreverse
+.B pyreverse
creates a diagram for that <class> with filename <class>.<format>.
-You can do \-c <class1> , \-c <class2>.
+You can do \-c <class1> , \-c <class2>.
.SH OPTIONS
@@ -41,7 +41,7 @@ set project name to <name> if not using \-c option. (default:'No Name')
add files or directories to the blacklist. They should be base names, not
paths. [current: CVS]
.IP "-f<mode>, --filter-mode=<mode>"
-filter attributes and functions according to <mode>. You can combine
+filter attributes and functions according to <mode>. You can combine
modes using '+' like 'SPECIAL+OTHER'. Correct modes are :
- 'PUB_ONLY' : filter all non public attributes (default)
- 'ALL' : no filter
@@ -53,7 +53,7 @@ create diagram according to the diagram definitions in <file>
.IP "-c <class>, --class=<class>"
create a class diagram with all classes related to <class> [current: none]
the class must be in the file <modules>. By default, this will include all
-ancestors and associated classes of <class> and include module names
+ancestors and associated classes of <class> and include module names
(i.e. '\-ASmy' ).
.IP "-a <ancestor>, --show-ancestors=<ancestor>"
@@ -62,7 +62,7 @@ show <ancestor> generations of ancestor classes not in <projects>
show all ancestors off all classes in <projects> [current: none]
.IP "-s <ass_level>, --show-associated=<associated>"
show <ass_level> associated classes. <ass_level>=1 will only take classes
-directly related to the classes in the project, while <ass_level>=2
+directly related to the classes in the project, while <ass_level>=2
will also take all classes related to those fetched by<depth>=1.
.IP "-S, --all-associated=[yn]"
show recursively all associated off all associated classes [current: none]
@@ -74,12 +74,12 @@ include module name in representation of classes. This will include the
full module path in the class name. [current: none]
.IP "-k, --only-classnames"
-don't show attributes and methods in the class boxes;
+don't show attributes and methods in the class boxes;
this disables \-f values [current: False]
.IP "-o <format>, --output=<format>"
create a *.<format> output file if format available. Available formats
-are all formats that dot can produce and
+are all formats that dot can produce and
.B vcg.
[default: dot]
@@ -88,8 +88,8 @@ Here are some examples for command line options:
.IP "pyreverse <project> -a1 -s1 -m"
-\-a1 \-s1 will include one level of ancestor and associated classes in the
-diagram of the <project> modules, while \-m will show the full module
+\-a1 \-s1 will include one level of ancestor and associated classes in the
+diagram of the <project> modules, while \-m will show the full module
path of each class. You can use the
.B -a, -s, -A, -S
options in the same way.
@@ -99,8 +99,8 @@ Note that on class diagrams (using
.IP "pyreverse mod/foo.py mod/fee.py -k"
-This is interesting if the diagram for <project>=mod is too complicated:
-you can show only the class names (no attributes or methods, option \-k);
+This is interesting if the diagram for <project>=mod is too complicated:
+you can show only the class names (no attributes or methods, option \-k);
or take only the modules you are interested in (here fee.py and foo.py).
.SH REQUIRES
diff --git a/man/symilar.1 b/man/symilar.1
index 0b5455905..a18425978 100644
--- a/man/symilar.1
+++ b/man/symilar.1
@@ -34,4 +34,3 @@ Default is 4. So if it finds 3 identical lines, there will be no message, but
.IP "-i, --ignore-comments"
ignore differences concerning only stuff behind a '#' (Python comments). This
means that if just a comment was added, the message will still be triggered.
-
diff --git a/pylint/utils/pragma_parser.py b/pylint/utils/pragma_parser.py
index 4b3fb301a..d2659fa44 100644
--- a/pylint/utils/pragma_parser.py
+++ b/pylint/utils/pragma_parser.py
@@ -17,7 +17,7 @@ OPTION_RGX = r"""
.*? # Anything (as little as possible)
\bpylint: # pylint word and column
\s* # Any number of whitespaces
- ([^;#\n]+)) # Anything except semicolon or hash or newline (it is the second matched group)
+ ([^;#\n]+)) # Anything except semicolon or hash or newline (it is the second matched group)
# and end of the first matched group
[;#]{0,1}""" # From 0 to 1 repetition of semicolon or hash
OPTION_PO = re.compile(OPTION_RGX, re.VERBOSE)
diff --git a/setup.cfg b/setup.cfg
index 0e5b56ccb..528422eac 100644
--- a/setup.cfg
+++ b/setup.cfg
@@ -1,6 +1,6 @@
[bdist_rpm]
packager = Sylvain Thenault <sylvain.thenault@logilab.fr>
-provides = pylint
+provides = pylint
[aliases]
test = pytest
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