python-lint.yml: use .flake8 file instead

This commit is contained in:
brian khuu 2024-04-19 09:42:27 +10:00
parent fe1d7f605d
commit ad53853a39
2 changed files with 1 additions and 3 deletions

View file

@ -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

View file

@ -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"