From 9cb8af4bd3e36909f58c3783e1f9e18c00548be4 Mon Sep 17 00:00:00 2001 From: Justintime50 <39606064+Justintime50@users.noreply.github.com> Date: Thu, 22 Jan 2026 11:18:24 -0700 Subject: [PATCH] chore: isort project --- easypost/easypost_object.py | 1 - easypost/requestor.py | 1 - pyproject.toml | 3 +++ tests/conftest.py | 1 - tests/test_referral_customer.py | 1 - 5 files changed, 3 insertions(+), 4 deletions(-) diff --git a/easypost/easypost_object.py b/easypost/easypost_object.py index 63b590a..97ec914 100644 --- a/easypost/easypost_object.py +++ b/easypost/easypost_object.py @@ -8,7 +8,6 @@ from easypost.constant import NO_ATTRIBUTE_ERROR - EASYPOST_OBJECT_ID_PREFIX_TO_CLASS_NAME_MAP: dict[str, Any] = { "adr": "Address", "ak": "ApiKey", diff --git a/easypost/requestor.py b/easypost/requestor.py index 5b92ba7..4f024f2 100644 --- a/easypost/requestor.py +++ b/easypost/requestor.py @@ -47,7 +47,6 @@ UnknownApiError, ) - STATUS_CODE_TO_ERROR_MAPPING: dict[int, Any] = { 400: BadRequestError, 401: UnauthorizedError, diff --git a/pyproject.toml b/pyproject.toml index 2de473e..ba66b4f 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -50,3 +50,6 @@ easypost = ["py.typed"] [tool.ruff] line-length = 120 + +[tool.ruff.lint] +extend-select = ["I"] diff --git a/tests/conftest.py b/tests/conftest.py index 4fb5dac..855cdd5 100644 --- a/tests/conftest.py +++ b/tests/conftest.py @@ -11,7 +11,6 @@ from easypost.easypost_client import EasyPostClient - EASYPOST_TEST_API_KEY = os.getenv("EASYPOST_TEST_API_KEY") EASYPOST_PROD_API_KEY = os.getenv("EASYPOST_PROD_API_KEY") PARTNER_USER_PROD_API_KEY = os.getenv("PARTNER_USER_PROD_API_KEY", "123") diff --git a/tests/test_referral_customer.py b/tests/test_referral_customer.py index da4dbbd..d39b15f 100644 --- a/tests/test_referral_customer.py +++ b/tests/test_referral_customer.py @@ -11,7 +11,6 @@ from easypost.errors.api.api_error import ApiError from easypost.models import User - REFERRAL_CUSTOMER_PROD_API_KEY = os.getenv("REFERRAL_CUSTOMER_PROD_API_KEY", "123")