#N/A: Fix formatting (#1092)

* Fixed corrector.py format string

* Fixed types.py format string

* Fixed tests/rules/test_fix_file.py formatting

* Removed trailing whitespace

* Fixed UnicodeEncodeError in python 2.7
This commit is contained in:
Divya Jain
2020-06-10 22:21:45 +00:00
committed by GitHub
parent f82176802e
commit 81b39defe4
3 changed files with 187 additions and 94 deletions
+1 -1
View File
@@ -71,7 +71,7 @@ def organize_commands(corrected_commands):
without_duplicates,
key=lambda corrected_command: corrected_command.priority)
logs.debug('Corrected commands: '.format(
logs.debug(u'Corrected commands: {}'.format(
', '.join(u'{}'.format(cmd) for cmd in [first_command] + sorted_commands)))
for command in sorted_commands: