lint.sh 302 B

123456789101112
  1. #!/bin/sh
  2. #
  3. # Runs linting scripts over the local Synapse checkout
  4. # isort - sorts import statements
  5. # flake8 - lints and finds mistakes
  6. # black - opinionated code formatter
  7. set -e
  8. isort -y -rc synapse tests scripts-dev scripts
  9. flake8 synapse tests
  10. python3 -m black synapse tests scripts-dev scripts