mirror of
https://github.com/mandiant/capa.git
synced 2026-01-05 17:28:00 -08:00
hooks: update style checkers in hooks
Run `isort` and `black` in the hooks. Run them with the `--check` option to not modify files which could be committed by accident. Note that the changes in `.gitignore` are not needed as `.log` is already excluded in the Django's section. We add those file to this section in case `.log` is removed in the future.
This commit is contained in:
3
.gitignore
vendored
3
.gitignore
vendored
@@ -111,5 +111,6 @@ venv.bak/
|
||||
!rules/lib
|
||||
|
||||
# hooks output
|
||||
style-checker-output.log
|
||||
isort-output.log
|
||||
black-output.log
|
||||
rule-linter-output.log
|
||||
|
||||
Reference in New Issue
Block a user