Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code

Unified Diff: cms-dev/tests/test_cms_cmp.py

Issue 29756682: Noissue - Adapt best practices for trailing commas (codingtools) (Closed)
Patch Set: Added flake8-commas extension Created April 19, 2018, 2:50 p.m.
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | cms-dev/tox.ini » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cms-dev/tests/test_cms_cmp.py
===================================================================
--- a/cms-dev/tests/test_cms_cmp.py
+++ b/cms-dev/tests/test_cms_cmp.py
@@ -52,7 +52,7 @@
generate = root.mkdir('cms').mkdir('bin').join('generate_static_pages.py')
generate.write('\n'.join([
'import sys, shutil',
- 'shutil.copytree(sys.argv[1], sys.argv[2])'
+ 'shutil.copytree(sys.argv[1], sys.argv[2])',
]))
hg('init', str(root))
hg('commit', '-A', '-m', 'x', repo=str(root))
@@ -60,7 +60,7 @@
hg('commit', '-A', '-m', 'y', repo=str(root))
generate.write(
generate.read() +
- '\nshutil.copy(sys.argv[2] + "/foo", sys.argv[2] + "/bar")'
+ '\nshutil.copy(sys.argv[2] + "/foo", sys.argv[2] + "/bar")',
)
hg('commit', '-m', 'z', repo=str(root))
hg('bookmark', '-r', '0', 'master', repo=str(root))
« no previous file with comments | « no previous file | cms-dev/tox.ini » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld