Skip to content

Commit

Permalink
style(formatting): fix formatting issues
Browse files Browse the repository at this point in the history
  • Loading branch information
gjedlicska committed Apr 6, 2023
1 parent a4ed7eb commit a43e747
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 6 deletions.
2 changes: 1 addition & 1 deletion .vscode/launch.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
"version": "0.2.0",
"configurations": [


{
"name": "Python: Current File",
Expand Down
2 changes: 1 addition & 1 deletion src/specklepy/api/client.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@

from deprecated import deprecated
from gql import Client
from gql.transport.exceptions import TransportServerError
from gql.transport.requests import RequestsHTTPTransport
from gql.transport.websockets import WebsocketsTransport
from gql.transport.exceptions import TransportServerError

from specklepy.api import resources
from specklepy.api.credentials import Account, get_account_from_token
Expand Down
7 changes: 3 additions & 4 deletions tests/intergration/conftest.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
import random
import uuid
from urllib.parse import parse_qs, urlparse

import pytest
import requests
Expand All @@ -10,8 +11,6 @@
from specklepy.objects.base import Base
from specklepy.objects.fakemesh import FakeDirection, FakeMesh
from specklepy.objects.geometry import Point
from urllib.parse import urlparse, parse_qs


metrics.disable()

Expand Down Expand Up @@ -40,8 +39,8 @@ def seed_user(host):
)
if not r.ok:
raise Exception(f"Cannot seed user: {r.reason}")
redirect_url = urlparse(r.headers.get('location'))
access_code = parse_qs(redirect_url.query)['access_code'][0] # type: ignore
redirect_url = urlparse(r.headers.get("location"))
access_code = parse_qs(redirect_url.query)["access_code"][0] # type: ignore

r_tokens = requests.post(
url=f"http://{host}/auth/token",
Expand Down

0 comments on commit a43e747

Please sign in to comment.