Skip to content

Commit

Permalink
Update workflows to match what it is in main branch
Browse files Browse the repository at this point in the history
  • Loading branch information
chrehall68 committed Aug 9, 2021
1 parent 233c2d5 commit 5ef9329
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/python-format.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
# Autofixes problems if possible (it's a black formatter)
name: Python (Lint Action)

on: [pull_request, push]
on: pull_request

jobs:
format-lint-python:
Expand All @@ -30,4 +30,4 @@ jobs:
black_args: "--line-length 79 --exclude='1_beginner/chapter1/examples/error.py'" # same max line length as flake8
flake8_args: "--max-line-length=88 --ignore=E203,W503 --exclude=1_beginner/chapter1/examples/error.py" # prevent conflicts with black
auto_fix: true # auto commit style fixes


0 comments on commit 5ef9329

Please sign in to comment.