Skip to content

Commit cf8031d

Browse files
committed
chore: version bump
1 parent 8ef26ee commit cf8031d

File tree

5 files changed

+9
-9
lines changed

5 files changed

+9
-9
lines changed

.pre-commit-config.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ repos:
3939
hooks:
4040
- id: isort
4141
- repo: https://github.com/pre-commit/mirrors-mypy
42-
rev: "v1.5.1"
42+
rev: "v1.15.0"
4343
hooks:
4444
- id: mypy
4545
exclude: "test_*"

demo_project/main.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -41,10 +41,10 @@ async def lifespan(app: FastAPI) -> AsyncGenerator[None, None]:
4141
if settings.BACKEND_CORS_ORIGINS: # pragma: no cover
4242
app.add_middleware(
4343
CORSMiddleware,
44-
allow_origins=[str(origin) for origin in settings.BACKEND_CORS_ORIGINS], # type: ignore
45-
allow_credentials=True, # type: ignore
46-
allow_methods=['*'], # type: ignore
47-
allow_headers=['*'], # type: ignore
44+
allow_origins=[str(origin) for origin in settings.BACKEND_CORS_ORIGINS],
45+
allow_credentials=True,
46+
allow_methods=['*'],
47+
allow_headers=['*'],
4848
)
4949

5050

fastapi_azure_auth/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,4 +4,4 @@
44
SingleTenantAzureAuthorizationCodeBearer as SingleTenantAzureAuthorizationCodeBearer,
55
)
66

7-
__version__ = '5.0.1'
7+
__version__ = '5.1.0'

fastapi_azure_auth/exceptions.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ class InvalidAuthHttp(UnauthorizedHttp):
8181
"""
8282

8383
def __init__(self, detail: str) -> None:
84-
super().__init__(detail)
84+
super().__init__(detail) # pragma: no cover
8585

8686

8787
class InvalidAuthWebSocket(UnauthorizedWebSocket):
@@ -90,7 +90,7 @@ class InvalidAuthWebSocket(UnauthorizedWebSocket):
9090
"""
9191

9292
def __init__(self, detail: str) -> None:
93-
super().__init__(detail)
93+
super().__init__(detail) # pragma: no cover
9494

9595

9696
# --- end backwards-compatible code ---

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[tool.poetry]
22
name = "fastapi-azure-auth"
3-
version = "5.0.1" # Remember to change in __init__.py as well
3+
version = "5.1.0" # Remember to change in __init__.py as well
44
description = "Easy and secure implementation of Azure Entra ID for your FastAPI APIs"
55
authors = ["Jonas Krüger Svensson <jonas.svensson@intility.no>"]
66
readme = "README.md"

0 commit comments

Comments
 (0)