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 8106815 commit f44b14dCopy full SHA for f44b14d
.github/workflows/black.yml
@@ -0,0 +1,28 @@
1
+name: black
2
+
3
+on:
4
+ pull_request:
5
+ paths:
6
+ - '**.py'
7
8
+jobs:
9
+ format:
10
+ runs-on: ubuntu-16.04
11
+ steps:
12
+ - uses: actions/checkout@v2
13
+ - uses: actions/setup-python@v2
14
+ with:
15
+ python-version: '3.x'
16
17
+ - name: Install Black
18
+ run: pip install -r linter-requirements.txt
19
20
+ - name: Run Black
21
+ run: black tests examples sentry_sdk
22
23
+ - name: Commit changes
24
+ run: |
25
+ git config --global user.name 'sentry-bot'
26
+ git config --global user.email '[email protected]'
27
+ git commit -am "fix: Formatting"
28
+ git push
0 commit comments