Include hacking to test-requirements
Hacking provides valuable standard checks such as imports in alphabetical order. Having this included in our pep8 check/job the quality and readability of the code will be improved. Change-Id: Ieedfcd340e9b700bdead0073bac39a505c8628b5
This commit is contained in:
parent
4f77a8b549
commit
c05611adde
@ -5,3 +5,5 @@ jsonschema
|
||||
Sphinx
|
||||
sphinxcontrib.datatemplates
|
||||
refstack>=2.0.0
|
||||
hacking>=1.1.0,!=1.2.0 # Apache-2.0
|
||||
flake8!=3.0.0,!=2.6.2 # MIT
|
||||
|
@ -12,8 +12,8 @@
|
||||
# License for the specific language governing permissions and limitations
|
||||
# under the License.
|
||||
|
||||
import ast
|
||||
import argparse
|
||||
import ast
|
||||
import importlib
|
||||
import json
|
||||
import os
|
||||
|
4
tox.ini
4
tox.ini
@ -24,9 +24,7 @@ commands=
|
||||
|
||||
[testenv:pep8]
|
||||
ignore = W504
|
||||
deps =
|
||||
flake8
|
||||
{[testenv]deps}
|
||||
deps = {[testenv]deps}
|
||||
commands=
|
||||
bash tools/flake8wrap.sh
|
||||
doc8 -e .rst doc/source
|
||||
|
@ -14,9 +14,9 @@
|
||||
# License for the specific language governing permissions and limitations
|
||||
# under the License.
|
||||
|
||||
import re
|
||||
import json
|
||||
import argparse
|
||||
import json
|
||||
import re
|
||||
import textwrap
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user