Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bump black from 23.12.0 to 24.1.1 #24

Merged
merged 4 commits into from
Feb 1, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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