Add black linter for python
This commit is contained in:
parent
dac6a8421b
commit
1fab9ad6da
2
.github/workflows/cancel.yml
vendored
2
.github/workflows/cancel.yml
vendored
@ -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:
|
||||
|
10
.github/workflows/lint.yml
vendored
10
.github/workflows/lint.yml
vendored
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user