Skip to content

Commit 68f5ae2

Browse files
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
1 parent 42098be commit 68f5ae2

4 files changed

Lines changed: 7 additions & 11 deletions

File tree

13-js-api-pygments/py/src/entry.py

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -36,9 +36,7 @@ async def highlight_code(self, code: str, language: str = None) -> dict:
3636
}
3737

3838
# Create formatter with line numbers and styling
39-
formatter = HtmlFormatter(
40-
linenos=True, cssclass="highlight", style="monokai"
41-
)
39+
formatter = HtmlFormatter(linenos=True, cssclass="highlight", style="monokai")
4240

4341
# Generate highlighted HTML
4442
highlighted_html = highlight(code, lexer, formatter)
@@ -52,5 +50,3 @@ async def highlight_code(self, code: str, language: str = None) -> dict:
5250
"language": lexer.name,
5351
"language_alias": lexer.aliases[0] if lexer.aliases else None,
5452
}
55-
56-

13-js-api-pygments/ts/.vscode/settings.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,4 @@
22
"files.associations": {
33
"wrangler.json": "jsonc"
44
}
5-
}
5+
}

13-js-api-pygments/ts/worker-configuration.d.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
/* eslint-disable */
22
// Generated by Wrangler by running `wrangler types` (hash: b739a9c19cff1463949c4db47674ed86)
3-
// Runtime types generated with workerd@1.20251113.0 2025-11-19
3+
// Runtime types generated with workerd@1.20251113.0 2025-11-19
44
declare namespace Cloudflare {
55
interface GlobalProps {
66
mainModule: typeof import("./src/index");
@@ -7663,7 +7663,7 @@ interface IncomingRequestCfPropertiesTLSClientAuthPlaceholder {
76637663
certNotAfter: "";
76647664
}
76657665
/** Possible outcomes of TLS verification */
7666-
declare type CertVerificationStatus =
7666+
declare type CertVerificationStatus =
76677667
/** Authentication succeeded */
76687668
"SUCCESS"
76697669
/** No certificate was presented */
@@ -7727,7 +7727,7 @@ interface D1ExecResult {
77277727
count: number;
77287728
duration: number;
77297729
}
7730-
type D1SessionConstraint =
7730+
type D1SessionConstraint =
77317731
// Indicates that the first query should go to the primary, and the rest queries
77327732
// using the same D1DatabaseSession will go to any replica that is consistent with
77337733
// the bookmark maintained by the session (returned by the first query).
@@ -8308,7 +8308,7 @@ declare namespace Rpc {
83088308
// The reason for using a generic type here is to build a serializable subset of structured
83098309
// cloneable composite types. This allows types defined with the "interface" keyword to pass the
83108310
// serializable check as well. Otherwise, only types defined with the "type" keyword would pass.
8311-
type Serializable<T> =
8311+
type Serializable<T> =
83128312
// Structured cloneables
83138313
BaseType
83148314
// Structured cloneable composites

13-js-api-pygments/ts/wrangler.jsonc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,4 +12,4 @@
1212
"service": "py-rpc-server"
1313
}
1414
]
15-
}
15+
}

0 commit comments

Comments
 (0)