Skip to content
Snippets Groups Projects
lint.sh 402 B
Newer Older
  • Learn to ignore specific revisions
  • #!/bin/sh
    #
    # Runs linting scripts over the local Synapse checkout
    # isort - sorts import statements
    # black - opinionated code formatter
    
    # flake8 - lints and finds mistakes
    
      files="synapse tests scripts-dev scripts contrib synctl"
    
    fi
    
    echo "Linting these locations: $files"
    
    isort $files
    
    ./scripts-dev/config-lint.sh