10000 WIP: Enable Black for CI and add as dependency (#935) · tableau/server-client-python@5c5b311 · GitHub
[go: up one dir, main page]

Skip to content

Commit 5c5b311

Browse files
bcantonijacalata
andcommitted
WIP: Enable Black for CI and add as dependency (#935)
* Enable Black for CI and add as dependency * Bulk reformat with Black, line length 120 Co-authored-by: Jac Fitzgerald <jac.fitzgerald@salesforce.com>
1 parent 64e9bb7 commit 5c5b311

File tree

2 files changed

+5
-0
lines changed

2 files changed

+5
-0
lines changed

.github/workflows/run-tests.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,10 @@ jobs:
2525
python -m pip install --upgrade pip
2626
pip install -e .[test]
2727
28+
- name: Format with black
29+
run: |
30+
black --check --line-length 120 tableauserverclient samples test
31+
2832
- name: Test with pytest
2933
if: always()
3034
run: |

tableauserverclient/server/endpoint/endpoint.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@
1818
XML_CONTENT_TYPE = "text/xml"
1919
JSON_CONTENT_TYPE = "application/json"
2020

21+
2122
class Endpoint(object):
2223
def __init__(self, parent_srv):
2324
self.parent_srv = parent_srv

0 commit comments

Comments
 (0)
0