Skip to content

Commit

Permalink
this is driving me crazy
Browse files Browse the repository at this point in the history
  • Loading branch information
CISC authored May 4, 2024
1 parent 3a39465 commit acd1d89
Showing 1 changed file with 17 additions and 17 deletions.
34 changes: 17 additions & 17 deletions .github/workflows/python-lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,23 +10,6 @@ jobs:
flake8-lint:
runs-on: ubuntu-latest
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:
- name: Check out source repository
uses: actions/checkout@v4
Expand All @@ -36,6 +19,23 @@ jobs:
python-version: "3.11"
- name: flake8 Lint
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:
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"

0 comments on commit acd1d89

Please sign in to comment.