Skip to content

Commit 480f728

Browse files
committed
Format
1 parent daa4975 commit 480f728

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

pyformat.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -231,10 +231,10 @@ def _main(argv, standard_out, standard_error):
231231
file=standard_error)
232232
return 2
233233

234-
changed_and_error = format_multiple_files(set(args.files),
235-
args,
236-
standard_out,
237-
standard_error)
234+
changed_and_error = format_multiple_files(set(args.files),
235+
args,
236+
standard_out,
237+
standard_error)
238238
return 1 if changed_and_error[1] else 0
239239

240240

test_pyformat.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ def test_format_code_with_remove_all_unused_imports(self):
7474

7575
def test_format_code_with_remove_unused_variables(self):
7676
self.assertEqual(
77-
"def test():\n return 42\n",
77+
'def test():\n return 42\n',
7878
pyformat.format_code(
7979
'def test():\n x = 4\n return 42',
8080
aggressive=True,

0 commit comments

Comments
 (0)