Skip to content

Commit

Permalink
Fixed linting was still waiting for .py files
Browse files Browse the repository at this point in the history
  • Loading branch information
Shettland committed Nov 14, 2024
1 parent 377f177 commit 717f469
Showing 1 changed file with 7 additions and 4 deletions.
11 changes: 7 additions & 4 deletions .github/workflows/python_lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,10 @@ name: python_lint

on:
push:
paths:
- '**.py'
branches: "**"
pull_request:
paths:
- '**.py'
types: [opened, reopened, synchronize, closed]
branches: "**"

jobs:
flake8_py3:
Expand All @@ -19,6 +18,8 @@ jobs:
architecture: x64
- name: Checkout PyTorch
uses: actions/checkout@master
with:
fetch-depth: 0
- name: Install flake8
run: pip install flake8
- name: Check for Python file changes
Expand All @@ -40,6 +41,8 @@ jobs:
steps:
- name: Setup
uses: actions/checkout@v2
with:
fetch-depth: 0
- name: Install black in jupyter
run: pip install black[jupyter]
- name: Check for Python file changes
Expand Down

0 comments on commit 717f469

Please sign in to comment.