Skip to content

Commit

Permalink
Revert "ran isort, added to pre-commit"
Browse files Browse the repository at this point in the history
This reverts commit 9d6a6ec.
  • Loading branch information
joe-sheldon committed Oct 11, 2022
1 parent 9d6a6ec commit a25c017
Show file tree
Hide file tree
Showing 8 changed files with 7 additions and 14 deletions.
5 changes: 0 additions & 5 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -1,9 +1,4 @@
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 BundleHelper, Client, constants, exceptions
from src.blueink import Client, constants, exceptions, BundleHelper

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 BundleHelper, Client, constants, exceptions
from src.blueink import Client, constants, exceptions, BundleHelper

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

from requests.exceptions import HTTPError
from pprint import pprint

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 .bundle_helper import BundleHelper
from .client import Client
from .bundle_helper import BundleHelper

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

from pydantic import BaseModel, EmailStr, validator
from pydantic import BaseModel, validator, EmailStr

from ..constants import DELIVER_VIA, FIELD_KIND

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

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


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

from munch import munchify

from .constants import BLUEINK_PAGINATION_HEADER
Expand Down

0 comments on commit a25c017

Please sign in to comment.