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

View File

@ -1,7 +1,7 @@
name: Cancelling Duplicates
on:
workflow_run:
workflows: ["Build", "Check", "Build Documentation", "❄️ Lint"]
workflows: ["Build", "Check", "Build Documentation", "Lint"]
types: ['requested']
jobs:

View File

@ -1,15 +1,15 @@
name: ❄️ Lint
name: Lint
on: [pull_request]
jobs:
yamllint:
name: 🍺 YAML
lint:
name: Lint
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: 🧹 YAML Lint
- name: YAML Lint
uses: github/super-linter@v3
env:
VALIDATE_YAML: true
FILTER_REGEX_INCLUDE: .*\.github/.*
VALIDATE_PYTHON_BLACK: true