ContinuumIO / ciocheck

Continuum Analytics linter, formatter and test suite helper.
MIT License
25 stars 10 forks source link

Dicts exceeding char limits are badly modified #38

Open fpliger opened 7 years ago

fpliger commented 7 years ago

Here's the diff:

-            return { "errors": [
-                {
-                    "detail": "HTTP 400: Bad path provided: Path %s does not exist!" % nbs_root,
-                    "title": "HTTP 400",
-                    "status": 400
-                }
-            ]}
+            return {
+                "errors": [
+                    {
+                        "detail":
+                        "HTTP 400: Bad path provided: Path %s does not exist!"
+                        % nbs_root,
+                        "title":
+                        "HTTP 400",
+                        "status":
+                        400
+                    }
+                ]
+            }

Is there a way to fix it or at least skip those specific checks? I'd rather violate line lengths in this case...