Message ID | 20250226102842.3721046-4-armbru@redhat.com (mailing list archive) |
---|---|
State | New |
Headers | show |
Series | [PULL,1/6] qapi/char.json: minor doc rewording for `hub` device | expand |
diff --git a/python/tests/qapi-flake8.sh b/python/tests/qapi-flake8.sh new file mode 100755 index 0000000000..51916a9019 --- /dev/null +++ b/python/tests/qapi-flake8.sh @@ -0,0 +1,2 @@ +#!/bin/sh -e +python3 -m flake8 ../scripts/qapi/ diff --git a/python/tests/qapi-isort.sh b/python/tests/qapi-isort.sh new file mode 100755 index 0000000000..60ed5eeb34 --- /dev/null +++ b/python/tests/qapi-isort.sh @@ -0,0 +1,2 @@ +#!/bin/sh -e +python3 -m isort --sp . -c ../scripts/qapi/ diff --git a/python/tests/qapi-mypy.sh b/python/tests/qapi-mypy.sh new file mode 100755 index 0000000000..377b29b873 --- /dev/null +++ b/python/tests/qapi-mypy.sh @@ -0,0 +1,2 @@ +#!/bin/sh -e +python3 -m mypy ../scripts/qapi diff --git a/python/tests/qapi-pylint.sh b/python/tests/qapi-pylint.sh new file mode 100755 index 0000000000..d4869578e5 --- /dev/null +++ b/python/tests/qapi-pylint.sh @@ -0,0 +1,4 @@ +#!/bin/sh -e +SETUPTOOLS_USE_DISTUTILS=stdlib python3 -m pylint \ + --rcfile=../scripts/qapi/pylintrc \ + ../scripts/qapi/