mirror of
https://github.com/apache/nuttx.git
synced 2026-06-05 07:12:54 +08:00
Add black linter for python
This commit is contained in:
committed by
Xiang Xiao
parent
dac6a8421b
commit
1fab9ad6da
@@ -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:
|
||||||
|
|||||||
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user