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

Suppress warnings in tests #579

Merged
merged 1 commit into from
Apr 30, 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
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
Loading