mirror of
https://mau.dev/maunium/synapse.git
synced 2024-08-27 20:52:30 +00:00
![Andrew Morgan](/assets/img/avatar_default.png)
Add a linting script that enforces all boolean values in the default config be lowercase. This has annoyed me for a while so I decided to fix it.
14 lines
331 B
Bash
Executable File
14 lines
331 B
Bash
Executable File
#!/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
|
|
./scripts-dev/config-lint.sh
|