ci: add check for unused or dead code in py file

adding multiple linters like black for python
which will help us with better quality of python code.
Also, in the future, we'll aim to get errors for warnings also but
there are a lot of warnings and it is difficult to fix at once.

Closes: https://github.com/rook/rook/issues/10374
Signed-off-by: subhamkrai <srai@redhat.com>
This commit is contained in:
subhamkrai committed 2022-06-27 16:52:37 +05:30
1 parent c8658331df
commit 2314510dcd
1 file changed
+3
+3
View File
@@ -56,3 +56,6 @@ jobs:
- name: Lint Python files
run: pylint $(git ls-files '*.py') -E
- name: Setup black for py
uses: psf/black@stable