Просмотр исходного кода

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 <mail@s3f.ru>
rusdacent 5 лет назад
Родитель
Сommit
c8cc3c7dc8
1 измененных файлов с 6 добавлено и 2 удалено
  1. 6 2
      .github/workflows/black.yml

+ 6 - 2
.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