mirror of
https://github.com/kevinveenbirkenbach/computer-playbook.git
synced 2026-11-07 03:15:56 +00:00
style(web-app-keycloak): apply autoformat to the merged keycloak files
ruff drops three noqa: E402 markers as unused (RUF100): E402 does not fire on an import that follows sys.path.insert. The formatter also wraps the long KEYCLOAK_RBAC_GROUP_LOGIC_DIGEST line; the double-quoted scalar folds the break back into a space. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
8c2f9c95c2
commit
2bcf59109e
4 files changed
+5
-4
No files matched your search
@@ -17,7 +17,8 @@ KEYCLOAK_RBAC_ALL_APP_IDS: "{{ lookup('deployment').groups | rbac_app_ids }}"
|
||||
KEYCLOAK_RBAC_RUN_APP_IDS: "{{ lookup('deployment').running | rbac_app_ids }}"
|
||||
|
||||
KEYCLOAK_RBAC_WORKERS: "{{ [RESOURCE_HOST_CPUS | int // 2, 1] | max }}"
|
||||
KEYCLOAK_RBAC_GROUP_LOGIC_DIGEST: "{{ lookup('file', lookup('path_absolute', 'roles/svc-db-openldap/filter_plugins/build_ldap_role_entries.py')) | hash('sha256') }}"
|
||||
KEYCLOAK_RBAC_GROUP_LOGIC_DIGEST: "{{ lookup('file', lookup('path_absolute', 'roles/svc-db-openldap/filter_plugins/build_ldap_role_entries.py')) | hash('sha256')
|
||||
}}"
|
||||
KEYCLOAK_PER_APP_LDAP_ROLES_MAPPER_PAYLOADS_FILE: "/tmp/kc_per_app_mapper_payloads.txt"
|
||||
KEYCLOAK_PER_APP_LDAP_ROLES_MAPPER_TEMPLATE: >-
|
||||
{{
|
||||
|
||||
@@ -10,7 +10,7 @@ from . import PROJECT_ROOT
|
||||
|
||||
sys.path.insert(0, str(PROJECT_ROOT / "roles/web-app-keycloak/files/python"))
|
||||
|
||||
import email_verified as m # noqa: E402
|
||||
import email_verified as m
|
||||
|
||||
|
||||
class FakeKeycloak:
|
||||
|
||||
@@ -11,7 +11,7 @@ from . import PROJECT_ROOT
|
||||
|
||||
sys.path.insert(0, str(PROJECT_ROOT / "roles/web-app-keycloak/files/python"))
|
||||
|
||||
import keycloak_admin as m # noqa: E402
|
||||
import keycloak_admin as m
|
||||
|
||||
|
||||
class TestContainerCredentials(unittest.TestCase):
|
||||
|
||||
@@ -9,7 +9,7 @@ from . import PROJECT_ROOT
|
||||
|
||||
sys.path.insert(0, str(PROJECT_ROOT / "roles/web-app-keycloak/files/python"))
|
||||
|
||||
import rbac_reconcile as m # noqa: E402
|
||||
import rbac_reconcile as m
|
||||
|
||||
LDAP = "ldap-1"
|
||||
|
||||
|
||||
Reference in new issue
Block a user