Skip to content

Commit

Permalink
[pre-commit.ci] auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] committed Aug 5, 2024
1 parent 709da30 commit 5944dfa
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
6 changes: 2 additions & 4 deletions backend/bamboo/blueprints/auth.py
Original file line number Diff line number Diff line change
Expand Up @@ -43,14 +43,12 @@ def current_user(self) -> models.User | None:
return super().current_user

@overload
def auth_required(self, f: F) -> F:
...
def auth_required(self, f: F) -> F: ...

@overload
def auth_required(
self, *, permissions: Permission | None = None, optional: Any = None
) -> Callable[[F], F]:
...
) -> Callable[[F], F]: ...

def auth_required(
self, f: F | None = None, *, permissions: Permission | None = None, optional: Any = None
Expand Down
1 change: 1 addition & 0 deletions requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,7 @@ pytest-mock==3.12.0
python-dateutil==2.8.2
python-dotenv==1.0.0
python-jose==3.3.0
python-jose[cryptography]==3.3.0
pyyaml==6.0.1
redis==5.0.1
rq==1.15.1
Expand Down

0 comments on commit 5944dfa

Please sign in to comment.