summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn Turner <jturner.usa@gmail.com>2025-09-12 22:25:33 -0400
committerJohn Turner <jturner.usa@gmail.com>2025-09-12 22:25:33 -0400
commitf12f5fa60b593a9d8b8295b60f3d3c9e77329731 (patch)
tree48284751ec2ca66de7f099f95eaf2559e460f2dc
parentdd2208cdf496a548830f3e8374390b87be943ba2 (diff)
downloadpypaste-f12f5fa60b593a9d8b8295b60f3d3c9e77329731.tar.gz
make sure to check every py file with flake8
-rwxr-xr-xcheck.sh6
1 files changed, 3 insertions, 3 deletions
diff --git a/check.sh b/check.sh
index 82db69b..82ebe7c 100755
--- a/check.sh
+++ b/check.sh
@@ -1,10 +1,10 @@
#!/bin/bash
-shopt -s globstar
-
mypy -p pypaste || exit $?
-flake8 pypaste/**.py || exit $?
+for f in $(find pypaste -type f); do
+ flake8 ${f} || exit $?
+done
if [[ ! -d build ]]; then
meson setup build || exit $?