Browse Source

Squash E006 bashate warnings

bashate, which is invoked when running 'tox -epep8', currently
emits many 'E006: Line too long' warnings.  We apparently don't
really care about line length in shell scripts and ignore these
warnings.

This commit instructs bashate to suppress these warnings so that
we can see any warnings that we really care about.

Change-Id: I565aeaef1f0590e5a6ee6a866974765c748f2965
Tom Barron 3 years ago
parent
commit
dec5c87b59
1 changed files with 2 additions and 1 deletions
  1. 2
    1
      tox.ini

+ 2
- 1
tox.ini View File

@@ -34,7 +34,8 @@ commands =
34 34
   flake8 {posargs}
35 35
   # Run bashate during pep8 runs to ensure violations are caught by
36 36
   # the check and gate queues.
37
-  bashate tools/enable-pre-commit-hook.sh \
37
+  bashate -i E006 \
38
+         tools/enable-pre-commit-hook.sh \
38 39
          contrib/ci/pre_test_hook.sh \
39 40
          contrib/ci/post_test_hook.sh \
40 41
          devstack/plugin.sh \

Loading…
Cancel
Save