We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d0f0606 commit deb4e99Copy full SHA for deb4e99
1 file changed
.github/workflows/formatting.yaml
@@ -0,0 +1,27 @@
1
+name: check Python formatting
2
+
3
+on:
4
+ push:
5
+ branches:
6
+ - main
7
+ pull_request:
8
9
+jobs:
10
+ lint:
11
+ runs-on: ubuntu-latest
12
+ steps:
13
+ - uses: actions/checkout@v2
14
15
+ - name: Set up Python
16
+ uses: actions/setup-python@v2
17
+ with:
18
+ python-version: 3.8
19
20
+ - name: Install isort and black
21
+ run: pip install isort black
22
23
+ - name: Run isort
24
+ run: isort --check-only python/ tests/
25
26
+ - name: Run black
27
+ run: black --check --verbose --diff python/ tests/
0 commit comments