Created
February 6, 2023 16:34
-
-
Save itamarst/7e592d21cc4b0fe6a897d8597c835b6e to your computer and use it in GitHub Desktop.
Lint script for Tahoe-LAFS
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
set -euo pipefail | |
flake8 src/ | |
python -m coverage run --branch -m twisted.trial "$@" | |
coverage combine | |
coverage xml | |
diff-cover coverage.xml --compare-branch origin/master --html-report ~/temp/tahoe-coverage.html | |
firefox ~/temp/tahoe-coverage.html |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment