diff --git a/tools/clean-repo b/tools/clean-repo deleted file mode 100755 index f1615a4042..0000000000 --- a/tools/clean-repo +++ /dev/null @@ -1,13 +0,0 @@ -#!/usr/bin/env bash -set -e - -# Remove .pyc files to prevent loading stale code. -# -# You can run it automatically on checkout: -# -# echo ./tools/clean-repo > .git/hooks/post-checkout -# chmod +x .git/hooks/post-checkout - -cd "$(dirname "$0")/.." -find . -name "*.pyc" -exec rm -f {} \; -find . -name "__pycache__" -prune -exec rm -rf {} \; diff --git a/tools/run-dev.py b/tools/run-dev.py index b6cdcf522d..96484e9c58 100755 --- a/tools/run-dev.py +++ b/tools/run-dev.py @@ -99,9 +99,6 @@ webpack_port = base_port + 3 os.chdir(os.path.join(os.path.dirname(__file__), "..")) -# Clean up stale .pyc files etc. -subprocess.check_call("./tools/clean-repo") - if options.clear_memcached: subprocess.check_call("./scripts/setup/flush-memcached") diff --git a/tools/test-all b/tools/test-all index d0a929a0a8..825a47d7ad 100755 --- a/tools/test-all +++ b/tools/test-all @@ -46,7 +46,6 @@ echo # prep run ./tools/check-provision $FORCEARG -run ./tools/clean-repo # ci/backend run ./tools/lint --groups=backend $FORCEARG