Strip trailing whitespaces and normalize line endings

Trailing whitespace do not have impact on the result, they are just
unused bytes. Most text editors are configured to strip trailing
whitespaces. Remove them all in one go.

Update a handful of files to use the UNIX line ending.
This commit is contained in:
François Freitag
2020-10-03 13:47:01 +02:00
parent 1e2ccd8f0e
commit 5166dd194c
89 changed files with 191 additions and 191 deletions

View File

@@ -26,7 +26,7 @@ def test_ModuleAnalyzer_get_module_source():
ModuleAnalyzer.get_module_source('builtins')
with pytest.raises(PycodeError):
ModuleAnalyzer.get_module_source('itertools')
def test_ModuleAnalyzer_for_string():
analyzer = ModuleAnalyzer.for_string('print("Hello world")', 'module_name')