this is driving me crazy

This commit is contained in:
Sigbjørn Skjæret 2024-05-04 23:00:01 +02:00 committed by GitHub
parent 3a394659f3
commit acd1d89124
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -10,6 +10,15 @@ jobs:
flake8-lint: flake8-lint:
runs-on: ubuntu-latest runs-on: ubuntu-latest
name: Lint name: Lint
steps:
- name: Check out source repository
uses: actions/checkout@v4
- name: Set up Python environment
uses: actions/setup-python@v5
with:
python-version: "3.11"
- name: flake8 Lint
uses: py-actions/flake8@v2
if: | if: |
github.event.inputs.gpu-series == 'Standard_NC4as_T4_v3' github.event.inputs.gpu-series == 'Standard_NC4as_T4_v3'
|| ( || (
@ -27,15 +36,6 @@ jobs:
!github.event.push !github.event.push
&& github.ref_name == 'master' && github.ref_name == 'master'
) )
steps:
- name: Check out source repository
uses: actions/checkout@v4
- name: Set up Python environment
uses: actions/setup-python@v5
with:
python-version: "3.11"
- name: flake8 Lint
uses: py-actions/flake8@v2
with: with:
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,convert-hf-to-gguf-update.py" exclude: "examples/*,examples/*/**,*/**/__init__.py,convert-hf-to-gguf-update.py"