Skip to content

Commit

Permalink
Merge pull request #579 from permitio/rk/suppress-tests-warnings
Browse files Browse the repository at this point in the history
Suppress warnings in tests
  • Loading branch information
roekatz authored Apr 30, 2024
2 parents ed55f51 + aba5b77 commit 5b80a48
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 6 deletions.
2 changes: 1 addition & 1 deletion packages/opal-client/opal_client/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ class OpalClientConfig(Confi):
POLICY_STORE_POLICY_PATHS_TO_IGNORE = confi.list(
"POLICY_STORE_POLICY_PATHS_TO_IGNORE",
[],
description="When loading policies manually or otherwise externally into the policy store, use this list of glob patterns to have OPAL ignore and not delete or override them, end paths (without any wildcards in the middle) with '\**' to indicate you want all nested under the path to be ignored",
description="When loading policies manually or otherwise externally into the policy store, use this list of glob patterns to have OPAL ignore and not delete or override them, end paths (without any wildcards in the middle) with '/**' to indicate you want all nested under the path to be ignored",
)

POLICY_UPDATER_ENABLED = confi.bool(
Expand Down
8 changes: 4 additions & 4 deletions packages/opal-common/opal_common/authentication/types.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,14 @@
from typing import Any, Dict

from cryptography.hazmat.primitives.asymmetric.types import (
PRIVATE_KEY_TYPES,
PUBLIC_KEY_TYPES,
PrivateKeyTypes,
PublicKeyTypes,
)
from jwt.algorithms import get_default_algorithms

# custom types
PrivateKey = PRIVATE_KEY_TYPES
PublicKey = PUBLIC_KEY_TYPES
PrivateKey = PrivateKeyTypes
PublicKey = PublicKeyTypes
JWTClaims = Dict[str, Any]


Expand Down
1 change: 0 additions & 1 deletion packages/requires.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
charset-normalizer>=2.0.12,<3
idna>=3.3,<4
typer>=0.4.1,<1
fastapi>=0.109.1,<1
Expand Down

0 comments on commit 5b80a48

Please sign in to comment.