mirror of
https://github.com/smittix/intercept.git
synced 2026-07-07 00:58:12 -07:00
style: apply ruff-format to entire codebase
First-time run of ruff-format via pre-commit hook normalises quote style, trailing commas, and whitespace across 188 Python files. No logic changes. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -137,7 +137,7 @@ def match(version: str | VersionInfo, expr: str) -> bool:
|
||||
expression = str(expr).strip()
|
||||
for operator in ("<=", ">=", "==", "!=", "<", ">"):
|
||||
if expression.startswith(operator):
|
||||
other = parse(expression[len(operator):].strip())
|
||||
other = parse(expression[len(operator) :].strip())
|
||||
result = compare(version_info, other)
|
||||
return {
|
||||
"<": result < 0,
|
||||
|
||||
Reference in New Issue
Block a user