mirror of
https://mau.dev/maunium/synapse.git
synced 2024-11-15 14:32:30 +01:00
654e239b25
This PR makes several changes to the `./scripts-dev/lint.sh` script, which lints the codebase with a number of tools: * Adds usage information, with `-h` flag to show it. Otherwise it will show when providing an unknown flag. * Adds option `-d` which will check both staged and unstaged files that have changed since the last commit and add them to the list of files to lint. - Note that only files without an extension, or with a `.py` extension will be allowed. This prevents editing bash scripts causing the linters to break on non-python files. * Improves the print-out of which files/directories are being linted. |
||
---|---|---|
.. | ||
build_debian_packages | ||
check-newsfragment | ||
check_line_terminators.sh | ||
check_signature.py | ||
complement.sh | ||
config-lint.sh | ||
convert_server_keys.py | ||
database-save.sh | ||
definitions.py | ||
dump_macaroon.py | ||
federation_client.py | ||
generate_sample_config | ||
hash_history.py | ||
lint.sh | ||
list_url_patterns.py | ||
make_full_schema.sh | ||
mypy_synapse_plugin.py | ||
next_github_number.sh | ||
tail-synapse.py | ||
update_database |