CI: Swap in ruff for black and flake8 20/72920/1
authorAndrew Grimberg <agrimberg@linuxfoundation.org>
Tue, 4 Jun 2024 13:35:21 +0000 (06:35 -0700)
committerAndrew Grimberg <agrimberg@linuxfoundation.org>
Tue, 4 Jun 2024 13:35:21 +0000 (06:35 -0700)
commita33c03cf0926b2778c7c21d7d2fde07dbb85145f
tree5daef0308a0e2963d2ac6c5f6757a4bac269ef7a
parentf9e40412b14a4356a97333e374b6adfac36f444b
CI: Swap in ruff for black and flake8

* ruff runs significantly faster than black and flake8 and is a single
  tool instead of two separate tools
* Fix the bandit configuration to properly exclude all test files

Signed-off-by: Andrew Grimberg <agrimberg@linuxfoundation.org>
Change-Id: I1d5d321f35cb56f669ec1b02097c1e7f2e21f94f
.pre-commit-config.yaml