commit | fdd964494a782692b99962020647587d33200568 | [log] [tgz] |
---|---|---|
author | Masayuki Igawa <masayuki@igawa.io> | Fri Aug 02 13:44:49 2019 +0900 |
committer | Masayuki Igawa <masayuki@igawa.io> | Fri Aug 02 14:29:45 2019 +0900 |
tree | dc47d9bdd2f0bcd9de1dd9af8738197796d831a8 | |
parent | 236a14bf3cde38ea01bddeb24755cb798e16667c [diff] |
Make bashate E005,E042 error and ignore E006 This commit makes two bashate rules E005 and E042 treat as error and ignores E006. It is difficult to keep E006 rule because bash scripts tend to be long naturally. Both E005 and E042 are good to be errors since it should be safer. These additions can be seen in devstack[0] too. E005: file does not begin with #! or have a .sh prefix E006: check for lines longer than 79 columns E042: local declaration hides errors [0] https://opendev.org/openstack/devstack/src/commit/0fc6b2c5a87a1884bf3cff086081b3a253cd9302/tox.ini#L35 Change-Id: I56c017569aa8660648764502cce5adfe2e946a58