From 5dc843108148719ad95b41c4648f7001762cb9e9 Mon Sep 17 00:00:00 2001 From: ammar Date: Wed, 25 Oct 2023 16:00:23 +0200 Subject: [PATCH] Linting and fixes Signed-off-by: ammar --- boefjes/boefjes/api.py | 1 - bytes/bytes/models.py | 2 +- octopoes/octopoes/api/models.py | 2 +- 3 files changed, 2 insertions(+), 3 deletions(-) diff --git a/boefjes/boefjes/api.py b/boefjes/boefjes/api.py index 6a2d9c3a76f..932bc34f70a 100644 --- a/boefjes/boefjes/api.py +++ b/boefjes/boefjes/api.py @@ -4,7 +4,6 @@ from datetime import datetime, timezone from enum import Enum from typing import List, Optional -from urllib.parse import urljoin from fastapi import Depends, FastAPI, HTTPException, Response from pydantic import BaseModel, ConfigDict, Field diff --git a/bytes/bytes/models.py b/bytes/bytes/models.py index ab836ee5fd4..4a821e1150f 100644 --- a/bytes/bytes/models.py +++ b/bytes/bytes/models.py @@ -5,7 +5,7 @@ from typing import Any, Dict, List, NewType, Optional from uuid import UUID -from pydantic import BaseModel, Field, AwareDatetime +from pydantic import AwareDatetime, BaseModel, Field from pydantic.v1.datetime_parse import parse_datetime RetrievalLink = NewType("RetrievalLink", str) diff --git a/octopoes/octopoes/api/models.py b/octopoes/octopoes/api/models.py index c02a3bb9aad..2cbaa05e7aa 100644 --- a/octopoes/octopoes/api/models.py +++ b/octopoes/octopoes/api/models.py @@ -2,7 +2,7 @@ from datetime import datetime from typing import Any, List, Optional -from pydantic import BaseModel, Field, AwareDatetime +from pydantic import AwareDatetime, BaseModel, Field from octopoes.models import Reference from octopoes.models.types import OOIType