Skip to content

Commit

Permalink
ran isort, added to pre-commit
Browse files Browse the repository at this point in the history
  • Loading branch information
joe-sheldon committed Oct 11, 2022
1 parent 76f6834 commit 9d6a6ec
Show file tree
Hide file tree
Showing 8 changed files with 14 additions and 7 deletions.
5 changes: 5 additions & 0 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,9 @@
repos:
- repo: https://github.com/pycqa/isort
rev: 5.10.1
hooks:
- id: isort
name: isort (python)
- repo: https://github.com/psf/black
rev: 22.10.0
hooks:
Expand Down
2 changes: 1 addition & 1 deletion examples/create_bundle_from_template.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import sys
from pprint import pprint

from src.blueink import Client, constants, exceptions, BundleHelper
from src.blueink import BundleHelper, Client, constants, exceptions

client = Client()

Expand Down
2 changes: 1 addition & 1 deletion examples/create_bundle_from_url.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import sys
from pprint import pprint

from src.blueink import Client, constants, exceptions, BundleHelper
from src.blueink import BundleHelper, Client, constants, exceptions

print("\n*********************")
print("Bundle Creation via URL")
Expand Down
3 changes: 2 additions & 1 deletion examples/create_person.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
from copy import deepcopy
from requests.exceptions import HTTPError
from pprint import pprint

from requests.exceptions import HTTPError

from src.blueink.client import Client
from src.blueink.person_helper import PersonHelper

Expand Down
2 changes: 1 addition & 1 deletion src/blueink/__init__.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
from requests import exceptions

from . import constants
from .client import Client
from .bundle_helper import BundleHelper
from .client import Client

__all__ = ["Client", "BundleHelper", "exceptions", "constants"]
3 changes: 2 additions & 1 deletion src/blueink/model/bundles.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
import random
import string
from typing import List, Optional
from pydantic import BaseModel, validator, EmailStr

from pydantic import BaseModel, EmailStr, validator

from ..constants import DELIVER_VIA, FIELD_KIND

Expand Down
3 changes: 2 additions & 1 deletion src/blueink/model/persons.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
from typing import List, Optional

from pydantic import BaseModel, EmailStr
from typing import Optional, List


class ContactChannelSchema(BaseModel):
Expand Down
1 change: 0 additions & 1 deletion src/blueink/request_helper.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
import requests

from munch import munchify

from .constants import BLUEINK_PAGINATION_HEADER
Expand Down

0 comments on commit 9d6a6ec

Please sign in to comment.