Bump pre-commit-hooks to v4.1.0 52/100252/1
authorSangwook Ha <sangwook.ha@verizon.com>
Fri, 25 Mar 2022 06:47:17 +0000 (23:47 -0700)
committerSangwook Ha <sangwook.ha@verizon.com>
Fri, 25 Mar 2022 07:12:00 +0000 (00:12 -0700)
commitbbbcc56449574b792ba23f646d152eaca5a3cacd
tree2463d0d3c8d18ba738e99efdc86e2411352c0aae
parenta5ce791b7bf4e33d3034e07c4699112cf7abeb34
Bump pre-commit-hooks to v4.1.0

Update pre-commit-hooks from v2.4.0 to v4.1.0:

https://github.com/pre-commit/pre-commit-hooks/releases

Since flake8 was removed in v4.0.0:

https://github.com/pre-commit/pre-commit-hooks/releases/tag/v4.0.0
https://github.com/pre-commit/pre-commit-hooks/pull/597

replace it with PyCQA/flake8:

https://github.com/PyCQA/flake8
https://flake8.pycqa.org/en/latest/release-notes/index.html

and address flake8 W605 issues detected by the new flake8:

https://www.flake8rules.com/rules/W605.html

Change-Id: I148b1b862b192a3e44c9ee90292df7678629d8e0
Signed-off-by: Sangwook Ha <sangwook.ha@verizon.com>
.pre-commit-config.yaml
csit/libraries/ALTO/AltoParser.py
csit/libraries/BgpRpcClient.py
csit/libraries/SwitchClasses/H3C.py
csit/libraries/SwitchClasses/ProVision.py
csit/libraries/UtilLibrary.py
csit/libraries/backuprestore/jsonpathl.py
tools/clustering/cluster-deployer/deploy.py
tools/odl-mdsal-clustering-tests/clustering-performance-test/inventory_crawler.py