mirror of
https://github.com/nod-ai/AMD-SHARK-Studio.git
synced 2026-04-03 03:00:17 -04:00
Divide iree_utils and do module imports on function calls.
This commit is contained in:
15
.github/workflows/python-format.yml
vendored
Normal file
15
.github/workflows/python-format.yml
vendored
Normal file
@@ -0,0 +1,15 @@
|
||||
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 .
|
||||
Reference in New Issue
Block a user