summaryrefslogtreecommitdiffstats
path: root/pre-build.sh
diff options
context:
space:
mode:
Diffstat (limited to 'pre-build.sh')
-rwxr-xr-xpre-build.sh5
1 files changed, 2 insertions, 3 deletions
diff --git a/pre-build.sh b/pre-build.sh
index 930be76..1696e03 100755
--- a/pre-build.sh
+++ b/pre-build.sh
@@ -1,9 +1,8 @@
#!/bin/sh
set -e
-echo "Running pycodestyle test"
-black --check . || [ "$IGNORE_BLACK" ] || \
- [ "$IGNORE_PYCODESTYLE" ] || [ "$IGNORE_PEP8" ]
+echo "Running pre-commit check"
+pre-commit run -a
dpkg-checkbuilddeps -d 'python3-debian, python3-feedparser'