Files
neutron-lib/tools/coding-checks.sh
Slawek Kaplonski 10ea6601c1 Add pre-commit configuration
'pre-commit' tool [1] provides an extensible way to configure hooks
which can be run automatically before each commit. That way we can make
sure that code send to review is passing base static analysis checks
like e.g. bandit, flake8 or hacking.

For now this is optional to use and not integrated in e.g. tox.ini file
but we can integrate it there too as next step.

[1] https://pre-commit.com/

Change-Id: I49efd39a93103d2e1888c9b641962280622ae60b
2024-04-29 14:46:28 +02:00

1.5 KiB
Executable File