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:
Martin Kopec 2021-08-17 08:50:30 +00:00
parent 4f77a8b549
commit c05611adde
4 changed files with 6 additions and 6 deletions

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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