Skip to content

Commit 1a0e4b6

Browse files
committed
ci: add E722 to flake8 ignore list
This change adds E722 to the flake8 ignore list. This is done to avoid flake8 from complaining about the use of bare except statements: ```console $ flake8 --ignore E203,E211,E221,E225,E231,E241,E251,E261,E266,E501,E701,E704,W503 convert-hf-to-gguf.py convert-hf-to-gguf.py:516:9: E722 do not use bare 'except' ``` Refs: https://www.flake8rules.com/rules/E722.html Signed-off-by: Daniel Bevenius <[email protected]>
1 parent b19b1d1 commit 1a0e4b6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/python-lint.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,5 +20,5 @@ jobs:
2020
- name: flake8 Lint
2121
uses: py-actions/flake8@v2
2222
with:
23-
ignore: "E203,E211,E221,E225,E231,E241,E251,E261,E266,E501,E701,E704,W503"
23+
ignore: "E203,E211,E221,E225,E231,E241,E251,E261,E266,E501,E701,E704,E722,W503"
2424
exclude: "examples/*,examples/*/**,*/**/__init__.py"

0 commit comments

Comments
 (0)