python-lint.yml: use .flake8 file instead
This commit is contained in:
parent
fe1d7f605d
commit
ad53853a39
2 changed files with 1 additions and 3 deletions
2
.flake8
2
.flake8
|
@ -1,4 +1,4 @@
|
||||||
[flake8]
|
[flake8]
|
||||||
max-line-length = 125
|
max-line-length = 125
|
||||||
ignore = E203,E211,E221,E225,E231,E241,E251,E261,E266,E501,E701,E704,W503
|
ignore = E203,E211,E221,E225,E231,E241,E251,E261,E266,E501,E701,E704,W503
|
||||||
exclude = examples/*,examples/*/**,*/**/__init__.py
|
exclude = examples/*,examples/*/**,*/**/__init__.py,convert-hf-to-gguf-update.py
|
||||||
|
|
2
.github/workflows/python-lint.yml
vendored
2
.github/workflows/python-lint.yml
vendored
|
@ -20,6 +20,4 @@ jobs:
|
||||||
- name: flake8 Lint
|
- name: flake8 Lint
|
||||||
uses: py-actions/flake8@v2
|
uses: py-actions/flake8@v2
|
||||||
with:
|
with:
|
||||||
ignore: "E203,E211,E221,E225,E231,E241,E251,E261,E266,E501,E701,E704,W503"
|
|
||||||
exclude: "examples/*,examples/*/**,*/**/__init__.py,convert-hf-to-gguf-update.py"
|
|
||||||
plugins: "flake8-no-print"
|
plugins: "flake8-no-print"
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue