Skip to content

Commit b14224d

Browse files
authored
Add python formatting with black workflow" (#57)
* Added python formatting with black workflow * Rename snapshot generation workflow
1 parent 92eb6a1 commit b14224d

File tree

2 files changed

+15
-1
lines changed

2 files changed

+15
-1
lines changed

.github/workflows/generate-snapshot-tarballs.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: generate-snapshot-tarballs
1+
name: "Generate LLVM snapshot tarballs"
22

33
# PURPOSE:
44
#
Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
name: "Python formatting with black"
2+
3+
# See https://black.readthedocs.io/en/stable/integrations/github_actions.html
4+
5+
on: [push, pull_request]
6+
7+
jobs:
8+
lint:
9+
runs-on: ubuntu-latest
10+
steps:
11+
- uses: actions/checkout@v3
12+
- uses: psf/black@stable
13+
with:
14+
options: "--check --diff --verbose --color"

0 commit comments

Comments
 (0)