mirror of
https://github.com/Grasscutters/mitmproxy.git
synced 2024-11-23 08:11:00 +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:"
|
||||
git status -s
|
||||
git --no-pager diff
|
||||
exit 1
|
||||
exit 0 # don't be so strict about coding style errors
|
||||
fi
|
||||
|
||||
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:"
|
||||
git status -s
|
||||
git --no-pager diff
|
||||
exit 1
|
||||
exit 0 # don't be so strict about coding style errors
|
||||
fi
|
||||
|
||||
echo "Coding style seems to be ok."
|
||||
|
Loading…
Reference in New Issue
Block a user