Skip to content

Commit

Permalink
Merge pull request #24 from ral-facilities/dependabot/pip/black-24.1.1
Browse files Browse the repository at this point in the history
  • Loading branch information
dependabot[bot] authored Feb 1, 2024
2 parents 12ee20e + de8e4c8 commit 8c169fc
Show file tree
Hide file tree
Showing 11 changed files with 11 additions and 1 deletion.
1 change: 1 addition & 0 deletions ldap_jwt_auth/auth/jwt_handler.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
"""
Module for providing a class for handling JWTs.
"""

import logging
from datetime import datetime, timezone, timedelta
from typing import Any, Dict
Expand Down
1 change: 1 addition & 0 deletions ldap_jwt_auth/core/config.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
"""
Module for the overall configuration for the application.
"""

from pathlib import Path

from pydantic import BaseModel
Expand Down
1 change: 1 addition & 0 deletions ldap_jwt_auth/core/constants.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
"""
Module for the constants of the application.
"""

import sys

from ldap_jwt_auth.core.config import config
Expand Down
1 change: 1 addition & 0 deletions ldap_jwt_auth/core/logger_setup.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
"""
Module for setting up and configuring the logging system.
"""

import logging
import logging.config
from pathlib import Path
Expand Down
1 change: 1 addition & 0 deletions ldap_jwt_auth/main.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
"""
Main module contains the API entrypoint.
"""

import logging

from fastapi import FastAPI, Request, status
Expand Down
1 change: 1 addition & 0 deletions ldap_jwt_auth/routers/login.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
"""
Module for providing an API router which defines login route(s).
"""

import logging
from typing import Annotated

Expand Down
1 change: 1 addition & 0 deletions ldap_jwt_auth/routers/refresh.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
Module for providing an API router which defines a route for managing the refreshing/updating of a JWT access token
using a JWT refresh token.
"""

import logging
from typing import Annotated

Expand Down
1 change: 1 addition & 0 deletions ldap_jwt_auth/routers/verify.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
"""
Module for providing an API router which defines a route for managing verification of JWT tokens.
"""

import logging
from typing import Annotated

Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ code-analysis = [
]

formatting = [
"black==23.12.0"
"black==24.1.1"
]

test = [
Expand Down
1 change: 1 addition & 0 deletions test/conftest.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
"""
Module for providing pytest testing configuration.
"""

from pathlib import Path

import ldap_jwt_auth.core.config as conf
Expand Down
1 change: 1 addition & 0 deletions test/unit/auth/test_jwt_handler.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
"""
Unit tests for the `JWTHandler` class.
"""

from datetime import datetime, timezone
from unittest.mock import patch

Expand Down

0 comments on commit 8c169fc

Please sign in to comment.