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

Unified Diff: ensure_dependencies.py

Issue 29756673: Noissue - Adapt best practices for trailing commas (buildtools) (Closed)
Patch Set: Created April 19, 2018, 12:58 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 | « chainedconfigparser.py ('k') | packagerEdge.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ensure_dependencies.py
===================================================================
--- a/ensure_dependencies.py
+++ b/ensure_dependencies.py
@@ -41,7 +41,7 @@
'''
SKIP_DEPENDENCY_UPDATES = os.environ.get(
- 'SKIP_DEPENDENCY_UPDATES', ''
+ 'SKIP_DEPENDENCY_UPDATES', '',
).lower() not in ('', '0', 'false')
NPM_LOCKFILE = '.npm_install_lock'
@@ -147,13 +147,13 @@
# [vcs:]value
item_regexp = re.compile(
'^(?:(' + '|'.join(map(re.escape, repo_types.keys())) + '):)?'
- '(.+)$'
+ '(.+)$',
)
# [url@]rev
source_regexp = re.compile(
'^(?:(.*)@)?'
- '(.+)$'
+ '(.+)$',
)
« no previous file with comments | « chainedconfigparser.py ('k') | packagerEdge.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld