summary refs log tree commit diff
path: root/scripts-dev/lint.sh (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Lint the contrib/ directory in CI and linting scripts, add synctl to linting ↵Andrew Morgan2020-07-201-1/+1
| | | | | | | script (#7914) Run `isort`, `flake8` and `black` over the `contrib/` directory and `synctl` script. The latter was already being done in CI, but now the linting script does it too. Fixes https://github.com/matrix-org/synapse/issues/7910
* isort 5 compatibility (#7786)Will Hunt2020-07-051-1/+1
| | | The CI appears to use the latest version of isort, which is a problem when isort gets a major version bump. Rather than try to pin the version, I've done the necessary to make isort5 happy with synapse.
* Move flake8 to end. Don't exit script on failure (#7738)Andrew Morgan2020-06-251-2/+2
|
* Document lint.sh & allow application to specified files only (#6312)Neil Pilgrim2019-11-011-3/+11
|
* Add config linting script that checks for bool casing (#6203)Andrew Morgan2019-10-231-0/+1
| | | | | 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.
* Add a linting script (#5627)Andrew Morgan2019-07-101-0/+12
Add a dev script to cover all the different linting steps.