match: reformat `syntaxes` dictionary for better maintainability
authorBoris Feld <boris.feld@octobus.net>
Mon, 19 Nov 2018 17:19:54 +0000
changeset 40724 e41f6c2e69c4
parent 40723 e6c9ef5e11a0
child 40725 9b8d1ad851f8
match: reformat `syntaxes` dictionary for better maintainability
mercurial/match.py
--- a/mercurial/match.py	Mon Nov 19 18:54:44 2018 +0000
+++ b/mercurial/match.py	Mon Nov 19 17:19:54 2018 +0000
@@ -1331,8 +1331,13 @@
     (pattern, lineno, originalline). This is useful to debug ignore patterns.
     '''
 
-    syntaxes = {'re': 'relre:', 'regexp': 'relre:', 'glob': 'relglob:',
-                'include': 'include', 'subinclude': 'subinclude'}
+    syntaxes = {
+        're': 'relre:',
+        'regexp': 'relre:',
+        'glob': 'relglob:',
+        'include': 'include',
+        'subinclude': 'subinclude',
+    }
     syntax = 'relre:'
     patterns = []