diff --git a/.github/workflows/python-format.yml b/.github/workflows/python-format.yml index 827badd1..0eac2193 100644 --- a/.github/workflows/python-format.yml +++ b/.github/workflows/python-format.yml @@ -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: @@ -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 - + \ No newline at end of file