mirror of
https://mau.dev/maunium/synapse.git
synced 2024-11-09 19:44:32 +01:00
13 lines
302 B
Bash
13 lines
302 B
Bash
|
#!/bin/sh
|
||
|
#
|
||
|
# Runs linting scripts over the local Synapse checkout
|
||
|
# isort - sorts import statements
|
||
|
# flake8 - lints and finds mistakes
|
||
|
# black - opinionated code formatter
|
||
|
|
||
|
set -e
|
||
|
|
||
|
isort -y -rc synapse tests scripts-dev scripts
|
||
|
flake8 synapse tests
|
||
|
python3 -m black synapse tests scripts-dev scripts
|