this is driving me crazy
This commit is contained in:
parent
3a394659f3
commit
acd1d89124
1 changed files with 17 additions and 17 deletions
34
.github/workflows/python-lint.yml
vendored
34
.github/workflows/python-lint.yml
vendored
|
@ -10,23 +10,6 @@ jobs:
|
||||||
flake8-lint:
|
flake8-lint:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
name: Lint
|
name: Lint
|
||||||
if: |
|
|
||||||
github.event.inputs.gpu-series == 'Standard_NC4as_T4_v3'
|
|
||||||
|| (
|
|
||||||
github.event.schedule
|
|
||||||
&& github.repository_owner == 'ggerganov'
|
|
||||||
)
|
|
||||||
|| github.event.pull_request
|
|
||||||
|| github.head_ref == 'master'
|
|
||||||
|| (
|
|
||||||
github.event.push
|
|
||||||
&& github.event.push.ref == 'refs/heads/master'
|
|
||||||
&& github.repository_owner == 'ggerganov'
|
|
||||||
)
|
|
||||||
|| (
|
|
||||||
!github.event.push
|
|
||||||
&& github.ref_name == 'master'
|
|
||||||
)
|
|
||||||
steps:
|
steps:
|
||||||
- name: Check out source repository
|
- name: Check out source repository
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v4
|
||||||
|
@ -36,6 +19,23 @@ jobs:
|
||||||
python-version: "3.11"
|
python-version: "3.11"
|
||||||
- name: flake8 Lint
|
- name: flake8 Lint
|
||||||
uses: py-actions/flake8@v2
|
uses: py-actions/flake8@v2
|
||||||
|
if: |
|
||||||
|
github.event.inputs.gpu-series == 'Standard_NC4as_T4_v3'
|
||||||
|
|| (
|
||||||
|
github.event.schedule
|
||||||
|
&& github.repository_owner == 'ggerganov'
|
||||||
|
)
|
||||||
|
|| github.event.pull_request
|
||||||
|
|| github.head_ref == 'master'
|
||||||
|
|| (
|
||||||
|
github.event.push
|
||||||
|
&& github.event.push.ref == 'refs/heads/master'
|
||||||
|
&& github.repository_owner == 'ggerganov'
|
||||||
|
)
|
||||||
|
|| (
|
||||||
|
!github.event.push
|
||||||
|
&& github.ref_name == 'master'
|
||||||
|
)
|
||||||
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"
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue