From 0c687ca7c15f617b097ff743a34beeeaec1b30a0 Mon Sep 17 00:00:00 2001 From: Tijmen Baarda Date: Tue, 13 Aug 2024 16:51:29 +0200 Subject: [PATCH] Fix problems detected by ruff --- edpop_explorer/readers/dutch_almanacs.py | 1 - edpop_explorer/readers/fbtee.py | 3 --- edpop_explorer/readers/kvcs.py | 1 - edpop_explorer/readers/pierre_belle.py | 1 - edpop_explorer/readers/ustc.py | 2 -- 5 files changed, 8 deletions(-) diff --git a/edpop_explorer/readers/dutch_almanacs.py b/edpop_explorer/readers/dutch_almanacs.py index 58ef14f..fae77ab 100644 --- a/edpop_explorer/readers/dutch_almanacs.py +++ b/edpop_explorer/readers/dutch_almanacs.py @@ -1,5 +1,4 @@ import csv -from pathlib import Path from typing import List from edpop_explorer import Reader, ReaderError, Field, BibliographicalRecord, BIBLIOGRAPHICAL, DatabaseFileMixin from rdflib import URIRef diff --git a/edpop_explorer/readers/fbtee.py b/edpop_explorer/readers/fbtee.py index 15f2770..f315807 100644 --- a/edpop_explorer/readers/fbtee.py +++ b/edpop_explorer/readers/fbtee.py @@ -1,8 +1,5 @@ -from pathlib import Path import sqlite3 from rdflib import URIRef -import requests -from appdirs import AppDirs from typing import Optional from edpop_explorer import ( diff --git a/edpop_explorer/readers/kvcs.py b/edpop_explorer/readers/kvcs.py index 2d30a81..c7834f1 100644 --- a/edpop_explorer/readers/kvcs.py +++ b/edpop_explorer/readers/kvcs.py @@ -1,5 +1,4 @@ import csv -from pathlib import Path from typing import List from edpop_explorer import Reader, ReaderError, Field, BiographicalRecord, BIOGRAPHICAL, DatabaseFileMixin from rdflib import URIRef diff --git a/edpop_explorer/readers/pierre_belle.py b/edpop_explorer/readers/pierre_belle.py index d426afe..6f8f4ab 100644 --- a/edpop_explorer/readers/pierre_belle.py +++ b/edpop_explorer/readers/pierre_belle.py @@ -1,5 +1,4 @@ import csv -from pathlib import Path from typing import List from edpop_explorer import Reader, ReaderError, BibliographicalRecord, Field, DatabaseFileMixin from rdflib import URIRef diff --git a/edpop_explorer/readers/ustc.py b/edpop_explorer/readers/ustc.py index 5f10db7..d5f40c8 100644 --- a/edpop_explorer/readers/ustc.py +++ b/edpop_explorer/readers/ustc.py @@ -1,7 +1,5 @@ -from pathlib import Path import sqlite3 from typing import List, Optional, Union -from appdirs import AppDirs from rdflib import URIRef from edpop_explorer import (