Skip to content

Commit e22bd43

Browse files
committed
chore: run the pre-commits
Signed-off-by: Saquib Saifee <saquibsaifee2@gmail.com>
1 parent c3cc804 commit e22bd43

3 files changed

Lines changed: 13 additions & 11 deletions

File tree

.secrets.baseline

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
"files": "test_data/.*|tests/.*|^.secrets.baseline$",
44
"lines": null
55
},
6-
"generated_at": "2025-10-02T20:03:24Z",
6+
"generated_at": "2026-03-27T23:43:18Z",
77
"plugins_used": [
88
{
99
"name": "AWSKeyDetector"
@@ -242,7 +242,7 @@
242242
}
243243
]
244244
},
245-
"version": "0.13.1+ibm.63.dss",
245+
"version": "0.13.1+ibm.64.dss",
246246
"word_list": {
247247
"file": null,
248248
"hash": null

detect_secrets/plugins/box.py

Lines changed: 10 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -129,14 +129,16 @@ def get_box_user(
129129

130130
return client.user().get().name
131131

132-
auth = JWTAuth(config=JWTConfig(
133-
client_id=clientid,
134-
client_secret=token,
135-
enterprise_id=enterpriseid,
136-
jwt_key_id=publickeyid,
137-
private_key_passphrase=passphrase,
138-
private_key=privatekey,
139-
))
132+
auth = JWTAuth(
133+
config=JWTConfig(
134+
client_id=clientid,
135+
client_secret=token,
136+
enterprise_id=enterpriseid,
137+
jwt_key_id=publickeyid,
138+
private_key_passphrase=passphrase,
139+
private_key=privatekey,
140+
),
141+
)
140142
client = Client(auth)
141143

142144
return client.users.get_user_me().name

tests/plugins/box_test.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@
33

44
from detect_secrets.core.constants import VerifiedResult
55
from detect_secrets.core.potential_secret import PotentialSecret
6-
from detect_secrets.plugins.box import BoxDetector
76
from detect_secrets.plugins.box import BOX_SDK_FLAVOR
7+
from detect_secrets.plugins.box import BoxDetector
88
from detect_secrets.plugins.box import find_other_factor
99
from detect_secrets.plugins.box import get_box_user
1010

0 commit comments

Comments
 (0)