Add black linter for python

This commit is contained in:
Brennan Ashton
2021-04-04 17:13:32 -07:00
committed by Xiang Xiao
parent dac6a8421b
commit 1fab9ad6da
2 changed files with 6 additions and 6 deletions
+1 -1
View File
@@ -1,7 +1,7 @@
name: Cancelling Duplicates name: Cancelling Duplicates
on: on:
workflow_run: workflow_run:
workflows: ["Build", "Check", "Build Documentation", "❄️ Lint"] workflows: ["Build", "Check", "Build Documentation", "Lint"]
types: ['requested'] types: ['requested']
jobs: jobs:
+5 -5
View File
@@ -1,15 +1,15 @@
name: ❄️ Lint name: Lint
on: [pull_request] on: [pull_request]
jobs: jobs:
yamllint: lint:
name: 🍺 YAML name: Lint
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- uses: actions/checkout@v2 - uses: actions/checkout@v2
- name: 🧹 YAML Lint - name: YAML Lint
uses: github/super-linter@v3 uses: github/super-linter@v3
env: env:
VALIDATE_YAML: true VALIDATE_YAML: true
FILTER_REGEX_INCLUDE: .*\.github/.* VALIDATE_PYTHON_BLACK: true