We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a7d82e2 commit 825f002Copy full SHA for 825f002
.github/sync-repo-settings.yaml
@@ -12,6 +12,7 @@ branchProtectionRules:
12
- 'cla/google'
13
- 'docs'
14
- 'lint'
15
+ - 'format'
16
- 'mypy'
17
- 'unit (3.9)'
18
- 'unit (3.10)'
.github/workflows/format.yml
@@ -0,0 +1,22 @@
1
+on:
2
+ pull_request:
3
+ branches:
4
+ - main
5
+name: format
6
+jobs:
7
+ format:
8
+ runs-on: ubuntu-latest
9
+ steps:
10
+ - name: Checkout
11
+ uses: actions/checkout@v4
+ - name: Setup Python
+ uses: actions/setup-python@v5
+ with:
+ python-version: "3.10"
+ - name: Install nox
+ run: |
+ python -m pip install --upgrade setuptools pip wheel
19
+ python -m pip install nox
20
+ - name: Run format
21
22
+ nox -s format
0 commit comments