mirror of
https://github.com/nod-ai/AMD-SHARK-Studio.git
synced 2026-02-19 11:56:43 -05:00
16 lines
408 B
YAML
16 lines
408 B
YAML
name: black-formatter
|
|
on: [pull_request]
|
|
jobs:
|
|
build:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v1
|
|
- name: Set up Python 3.10
|
|
uses: actions/setup-python@v1
|
|
with:
|
|
python-version: 3.10.5
|
|
- name: Install Black
|
|
run: pip install black
|
|
- name: Run formatter check on the entire project.
|
|
run: black --line-length 80 --check .
|