forked from ungleich-public/cdist
Migrate from pep8 to pycodestyle
This commit is contained in:
parent
afc7ca88b8
commit
689f37acf6
4 changed files with 16 additions and 13 deletions
2
Makefile
2
Makefile
|
@ -256,7 +256,7 @@ test:
|
||||||
test-remote:
|
test-remote:
|
||||||
$(helper) $@
|
$(helper) $@
|
||||||
|
|
||||||
pep8:
|
pycodestyle pep8:
|
||||||
$(helper) $@
|
$(helper) $@
|
||||||
|
|
||||||
shellcheck-global-explorers:
|
shellcheck-global-explorers:
|
||||||
|
|
|
@ -249,7 +249,7 @@ eof
|
||||||
# First check everything is sane
|
# First check everything is sane
|
||||||
"$0" check-date
|
"$0" check-date
|
||||||
"$0" check-unittest
|
"$0" check-unittest
|
||||||
"$0" check-pep8
|
"$0" check-pycodestyle
|
||||||
"$0" shellcheck
|
"$0" shellcheck
|
||||||
|
|
||||||
# Generate version file to be included in packaging
|
# Generate version file to be included in packaging
|
||||||
|
@ -365,13 +365,13 @@ eof
|
||||||
python3 -m cdist.test.exec.remote
|
python3 -m cdist.test.exec.remote
|
||||||
;;
|
;;
|
||||||
|
|
||||||
pep8)
|
pycodestyle|pep8)
|
||||||
pep8 "${basedir}" "${basedir}/scripts/cdist" | less
|
pycodestyle "${basedir}" "${basedir}/scripts/cdist" | less
|
||||||
;;
|
;;
|
||||||
|
|
||||||
check-pep8)
|
check-pycodestyle)
|
||||||
"$0" pep8
|
"$0" pycodestyle
|
||||||
printf "\\nPlease review pep8 report.\\n"
|
printf "\\nPlease review pycodestyle report.\\n"
|
||||||
while true
|
while true
|
||||||
do
|
do
|
||||||
echo "Continue (yes/no)?"
|
echo "Continue (yes/no)?"
|
||||||
|
|
|
@ -284,7 +284,7 @@ eof
|
||||||
# First check everything is sane
|
# First check everything is sane
|
||||||
"$0" check-date
|
"$0" check-date
|
||||||
"$0" check-unittest
|
"$0" check-unittest
|
||||||
"$0" check-pep8
|
"$0" check-pycodestyle
|
||||||
"$0" shellcheck
|
"$0" shellcheck
|
||||||
|
|
||||||
# Generate version file to be included in packaging
|
# Generate version file to be included in packaging
|
||||||
|
@ -427,13 +427,13 @@ eof
|
||||||
python3 -m cdist.test.exec.remote
|
python3 -m cdist.test.exec.remote
|
||||||
;;
|
;;
|
||||||
|
|
||||||
pep8)
|
pycodestyle|pep8)
|
||||||
pep8 "${basedir}" "${basedir}/scripts/cdist" | less
|
pycodestyle "${basedir}" "${basedir}/scripts/cdist" | less
|
||||||
;;
|
;;
|
||||||
|
|
||||||
check-pep8)
|
check-pycodestyle)
|
||||||
"$0" pep8
|
"$0" pycodestyle
|
||||||
printf "\\nPlease review pep8 report.\\n"
|
printf "\\nPlease review pycodestyle report.\\n"
|
||||||
while true
|
while true
|
||||||
do
|
do
|
||||||
echo "Continue (yes/no)?"
|
echo "Continue (yes/no)?"
|
||||||
|
|
|
@ -1,6 +1,9 @@
|
||||||
Changelog
|
Changelog
|
||||||
---------
|
---------
|
||||||
|
|
||||||
|
next:
|
||||||
|
* Build: Migrate from pep8 to pycodestyle (Darko Poljak)
|
||||||
|
|
||||||
4.10.6: 2019-02-15
|
4.10.6: 2019-02-15
|
||||||
* Type __prometheus_alertmanager: Add startup flag (Dominique Roux)
|
* Type __prometheus_alertmanager: Add startup flag (Dominique Roux)
|
||||||
* Types __zypper_repo, __zypper_service: Re-add the use of echo in explorers (Daniel Heule)
|
* Types __zypper_repo, __zypper_service: Re-add the use of echo in explorers (Daniel Heule)
|
||||||
|
|
Loading…
Reference in a new issue