Skip to content

Commit

Permalink
Update docs and reformat
Browse files Browse the repository at this point in the history
  • Loading branch information
Cito committed Mar 20, 2024
1 parent 4477ed9 commit e1e63a2
Show file tree
Hide file tree
Showing 6 changed files with 11 additions and 6 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -239,7 +239,7 @@ The service requires the following configuration parameters:

- **Items** *(string)*

- **`auth_check_claims`** *(object)*: A dict of all GHGA internal claims that shall be verified. Default: `{"name": null, "email": null, "iat": null, "exp": null}`.
- **`auth_check_claims`** *(object)*: A dict of all GHGA internal claims that shall be verified. Default: `{"id": null, "name": null, "email": null, "iat": null, "exp": null}`.

- **`auth_map_claims`** *(object)*: A mapping of claims to attributes in the GHGA auth context. Can contain additional properties. Default: `{}`.

Expand Down
1 change: 1 addition & 0 deletions config_schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -199,6 +199,7 @@
},
"auth_check_claims": {
"default": {
"id": null,
"name": null,
"email": null,
"iat": null,
Expand Down
1 change: 1 addition & 0 deletions example_config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ auth_check_claims:
email: null
exp: null
iat: null
id: null
name: null
auth_key: '{}'
auth_map_claims: {}
Expand Down
11 changes: 6 additions & 5 deletions scripts/script_utils/deps.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@
# limitations under the License.
#
"""Contains utils for working with dependencies, lock files, etc."""

from copy import deepcopy
from pathlib import Path
from typing import Any
Expand Down Expand Up @@ -55,11 +56,11 @@ def remove_self_dependencies(pyproject: dict) -> dict:

if "optional-dependencies" in project_metadata:
for group in project_metadata["optional-dependencies"]:
project_metadata["optional-dependencies"][
group
] = exclude_from_dependency_list(
package_name=package_name,
dependencies=project_metadata["optional-dependencies"][group],
project_metadata["optional-dependencies"][group] = (
exclude_from_dependency_list(
package_name=package_name,
dependencies=project_metadata["optional-dependencies"][group],
)
)

return modified_pyproject
Expand Down
1 change: 1 addition & 0 deletions scripts/script_utils/lock_deps.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@
# limitations under the License.
#
"""Provides a function to get all dependencies from the lock file"""

import re
from pathlib import Path
from typing import Optional
Expand Down
1 change: 1 addition & 0 deletions tests/conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@
#

"""Shared fixtures"""

import asyncio
from time import sleep

Expand Down

0 comments on commit e1e63a2

Please sign in to comment.