mirror of
https://github.com/apache/nuttx.git
synced 2026-06-04 23:03:27 +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
|
||||
on:
|
||||
workflow_run:
|
||||
workflows: ["Build", "Check", "Build Documentation", "❄️ Lint"]
|
||||
workflows: ["Build", "Check", "Build Documentation", "Lint"]
|
||||
types: ['requested']
|
||||
|
||||
jobs:
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user