From c8cc3c7dc8d980efe6101032efe355404228303f Mon Sep 17 00:00:00 2001 From: rusdacent <57439765+rusdacent@users.noreply.github.com> Date: Mon, 26 Oct 2020 09:59:16 +0300 Subject: [PATCH] Refactor pylint (#195) * fix pylint paths * add fake py file for test * rm fake py file * add fake txt file for test * rm fake txt file * fix paths for pull request * fix for pull request trigger * add fake py file for test * rm fake py file * add fake text file for test * rm fake text file for test Co-authored-by: coreglitch --- .github/workflows/black.yml | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/.github/workflows/black.yml b/.github/workflows/black.yml index 52573faa5..f1112ec5c 100644 --- a/.github/workflows/black.yml +++ b/.github/workflows/black.yml @@ -1,7 +1,11 @@ name: Python Lint -on: [push, pull_request] - +on: + push: + paths: + - '**.py' + pull_request: + jobs: lint: runs-on: ubuntu-latest