Skip to content

Commit 2c86c12

Browse files
awolfdenAdam Wolfman
and
Adam Wolfman
authored
Reformat all files with black (#13)
* Add top-level python flask env for Semaphore * Reformat files with black * Update Semaphore configuration * Update Semaphore configuration Co-authored-by: Adam Wolfman <[email protected]>
1 parent 8681532 commit 2c86c12

File tree

3 files changed

+4
-2
lines changed

3 files changed

+4
-2
lines changed

.semaphore/semaphore.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -13,11 +13,11 @@ blocks:
1313
- sem-version python 3.8
1414
- 'flake8 . --count --select=E9,F7,F82 --show-source --statistics'
1515
- flake8 . --count --exit-zero --max-complexity=10 --statistics
16+
- black --check .
1617
prologue:
1718
commands:
1819
- checkout
1920
- sem-version python 3.8
2021
- python -m pip install --upgrade pip
21-
- 'pip install -e .[dev]'
2222
- pip install flake8
2323
- pip install black

python-flask-directory-sync-example/app.py

-1
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,6 @@ def directory_groups():
5858

5959
@app.route("/webhooks", methods=["GET", "POST"])
6060
def webhooks():
61-
print(request)
6261
if request.data:
6362
payload = request.get_data()
6463
sig_header = request.headers["WorkOS-Signature"]
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
{
2+
"python.formatting.provider": "black"
3+
}

0 commit comments

Comments
 (0)