diff --git a/mapping_provider/__init__.py b/mapping_provider/__init__.py
index 2898e51fb985552ec45e3fe3396316b75a9d6e65..e48147a4a4ff068ef4ef81152d18ac77138bcefc 100644
--- a/mapping_provider/__init__.py
+++ b/mapping_provider/__init__.py
@@ -6,6 +6,7 @@ from fastapi import FastAPI
 
 from mapping_provider.api import common, map
 
+
 def create_app() -> FastAPI:
     """
     Creates the FastAPI application instance, with routers attached.
diff --git a/mapping_provider/api/map.py b/mapping_provider/api/map.py
index 924ffa595dc4db94c15b6be297d3746466a132d0..af7fe275a1cab6dcb18ca141ed3ca56adc3d00bf 100644
--- a/mapping_provider/api/map.py
+++ b/mapping_provider/api/map.py
@@ -1,9 +1,8 @@
-from importlib.metadata import version
 
-from fastapi import APIRouter
 import jsonschema
-from pydantic import BaseModel
 import requests
+from fastapi import APIRouter
+from pydantic import BaseModel
 
 router = APIRouter()
 
diff --git a/pyproject.toml b/pyproject.toml
index cdeac565c37fdc9a4f47530c7a09f6413028ef66..5962c7c74f4fddd876eb57b2d80c771c0b39a4d2 100644
--- a/pyproject.toml
+++ b/pyproject.toml
@@ -1,12 +1,12 @@
 [tool.ruff]
 line-length = 120
 target-version = "py313"
-select = ["E", "F", "I", "B", "UP", "N"]
-fixable = ["ALL"]
+lint.select = ["E", "F", "I", "B", "UP", "N"]
+lint.fixable = ["ALL"]
 exclude = ["tests", "docs", "build"]
 
 [tool.mypy]
 python_version = "3.13"
 strict = true
 warn_unused_ignores = true
-warn_return_any = true
\ No newline at end of file
+warn_return_any = true
diff --git a/test/conftest.py b/test/conftest.py
index f9fb99040ff4536d24da7de34c67190b86c23c17..30d1064fc524060647411bb2ac20bb73c6991ddb 100644
--- a/test/conftest.py
+++ b/test/conftest.py
@@ -1,5 +1,5 @@
-from fastapi.testclient import TestClient
 import pytest
+from fastapi.testclient import TestClient
 
 from mapping_provider import create_app
 
diff --git a/test/test_map_endpoints.py b/test/test_map_endpoints.py
index 317b1e123d46fd7f58719b7268663d7aa413d585..e1befeb97c6ff7a82b27d3a2bff296877c0d9384 100644
--- a/test/test_map_endpoints.py
+++ b/test/test_map_endpoints.py
@@ -4,7 +4,7 @@ import re
 
 import responses
 
-from mapping_provider.api.map import SiteList, RouterList, ServiceList
+from mapping_provider.api.map import RouterList, ServiceList, SiteList
 
 DATA_DIR = os.path.join(os.path.dirname(__file__), 'data')
 
diff --git a/tox.ini b/tox.ini
index c34930bd56b4c60894c3bcfb52180adfcf5447dc..2c5490b62d71b883ec7ecac55f03248c6012d07d 100644
--- a/tox.ini
+++ b/tox.ini
@@ -4,11 +4,11 @@ envlist = lint, typecheck, docs
 [testenv:lint]
 description = Lint code with Ruff
 deps = ruff
-commands = ruff check mapping_provider
+commands = ruff check mapping_provider test
 
 [testenv:typecheck]
 description = Type-check code with mypy
-deps = mypy
+deps = mypy types-jsonschema types-requests
 commands = mypy mapping_provider
 
 [testenv:docs]