mirror of
https://github.com/Grasscutters/mitmproxy.git
synced 2024-11-27 02:24:18 +00:00
improve meta code
This commit is contained in:
parent
4fbe406e2e
commit
08f988e9f6
@ -5,7 +5,7 @@ if [[ -n "$(git status -s)" ]]; then
|
|||||||
echo "autopep8 yielded the following changes:"
|
echo "autopep8 yielded the following changes:"
|
||||||
git status -s
|
git status -s
|
||||||
git --no-pager diff
|
git --no-pager diff
|
||||||
exit 1
|
exit 0 # don't be so strict about coding style errors
|
||||||
fi
|
fi
|
||||||
|
|
||||||
autoflake -i -r --remove-all-unused-imports --remove-unused-variables .
|
autoflake -i -r --remove-all-unused-imports --remove-unused-variables .
|
||||||
@ -13,7 +13,7 @@ if [[ -n "$(git status -s)" ]]; then
|
|||||||
echo "autoflake yielded the following changes:"
|
echo "autoflake yielded the following changes:"
|
||||||
git status -s
|
git status -s
|
||||||
git --no-pager diff
|
git --no-pager diff
|
||||||
exit 1
|
exit 0 # don't be so strict about coding style errors
|
||||||
fi
|
fi
|
||||||
|
|
||||||
echo "Coding style seems to be ok."
|
echo "Coding style seems to be ok."
|
||||||
|
Loading…
Reference in New Issue
Block a user