We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a5e8663 commit 1da96f0Copy full SHA for 1da96f0
.github/workflows/check-format.yml
@@ -0,0 +1,20 @@
1
+name: Check Python code format
2
+
3
+on: [push]
4
5
+jobs:
6
+ linter_name:
7
+ name: runner / isort & black formatter
8
+ runs-on: ubuntu-latest
9
+ steps:
10
+ - uses: actions/checkout@v6
11
+ - name: Check files using the isort import sorter
12
+ uses: isort/isort-action@v1
13
+ with:
14
+ configuration: "--profile black --check-only"
15
+ requirements-files: "requirements.txt"
16
+ - name: Check files using the black formatter
17
+ uses: psf/black@stable
18
19
+ options: "--check"
20
+ src: "."
0 commit comments