From f2c8f04cc8efebe40d51ca5989e1379f251bc4f7 Mon Sep 17 00:00:00 2001 From: Sym Roe Date: Thu, 28 Mar 2024 08:36:26 +0000 Subject: [PATCH] Run ruff format --- postcode_lookup/dc_api_client.py | 12 ++++-------- 1 file changed, 4 insertions(+), 8 deletions(-) diff --git a/postcode_lookup/dc_api_client.py b/postcode_lookup/dc_api_client.py index dc73488..6a5ca3e 100644 --- a/postcode_lookup/dc_api_client.py +++ b/postcode_lookup/dc_api_client.py @@ -7,12 +7,10 @@ from response_builder.v1.sandbox import SANDBOX_BASE_URL, SANDBOX_POSTCODES -class InvalidPostcodeException(Exception): - ... +class InvalidPostcodeException(Exception): ... -class InvalidUPRNException(Exception): - ... +class InvalidUPRNException(Exception): ... def valid_postcode(postcode: str): @@ -70,12 +68,10 @@ def _get(self, endpoint, params=None): return req @abstractmethod - def get_postcode(self, postcode: str) -> dict: - ... + def get_postcode(self, postcode: str) -> dict: ... @abstractmethod - def get_uprn(self, uprn: str) -> dict: - ... + def get_uprn(self, uprn: str) -> dict: ... class LiveAPIBackend(BaseAPIClient):