Skip to content

Commit ef98904

Browse files
fix(ci): resolve lint errors and Python 3.8 compatibility issues
- Fix lint errors using ruff --fix and manual code adjustments - Add lint ignore rules for E701, E712, and E722 in pyproject.toml - Pin werkzeug<3.1.0 to restore Python 3.8 support - Apply ruff formatting across the codebase
1 parent f37d6ca commit ef98904

5 files changed

Lines changed: 454 additions & 361 deletions

File tree

pyproject.toml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ dependencies = [
2727
"qrcode>=8.0",
2828
"pyngrok>=7.1.0",
2929
"streaming-form-data>=1.15.0",
30-
"werkzeug>=3.0.0"
30+
"werkzeug>=3.0.0,<3.1.0"
3131
]
3232

3333
[project.optional-dependencies]
@@ -58,6 +58,9 @@ select = [
5858
]
5959
ignore = [
6060
"E501", # line too long (handled by formatter)
61+
"E701", # multiple statements on one line (colon)
62+
"E712", # comparison to True/False in tests
63+
"E722", # bare except
6164
]
6265

6366
[tool.ruff.lint.isort]

0 commit comments

Comments
 (0)