Skip to content

Commit 8e6e881

Browse files
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
1 parent adadb68 commit 8e6e881

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

diracx-db/src/diracx/db/sql/pilot_agents/schema.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ class PilotSecrets(PilotAgentsDBBase):
8484

8585

8686
class PilotToSecretMapping(PilotAgentsDBBase):
87-
"""Map multiple pilots to multiple secrets. Allow secret re-use."""
87+
"""Map multiple pilots to multiple secrets. Allow secret reuse."""
8888

8989
__tablename__ = "PilotToSecretMapping"
9090

diracx-db/src/diracx/db/sql/utils/functions.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -193,7 +193,7 @@ async def fetch_records_bulk_or_raises(
193193

194194
stmt = stmt.order_by(operator)
195195

196-
# Transform into dictionnaries
196+
# Transform into dictionaries
197197
results = rows_to_dicts(await conn.execute(stmt))
198198

199199
# Detects duplicates

diracx-logic/src/diracx/logic/auth/pilot.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -256,7 +256,7 @@ async def register_new_pilots(
256256
# We can verify it with "is not list"
257257

258258
# To help verification, we transform them temporarily into sets
259-
# We don't deal with sets everytime because they remove the order
259+
# We don't deal with sets every time because they remove the order
260260
try:
261261
if isinstance(e.detail, str):
262262
pilots_that_already_exist = set(pilot_stamps) - set(

0 commit comments

Comments
 (0)