chore(deps): update pre-commit hook astral-sh/ruff-pre-commit to v0.9.2 #7
pre-commit.yml
on: pull_request
pre-commit
/
pre-commit
37s
Annotations
10 errors and 1 warning
Ruff (EM101):
example-cherrypy/example/app.py#L36
example-cherrypy/example/app.py:36:37: EM101 Exception must not use a string literal, assign to variable first
|
Ruff (B904):
example-cherrypy/example/app.py#L76
example-cherrypy/example/app.py:76:5: B904 Within an `except` clause, raise exceptions with `raise ... from err` or `raise ... from None` to distinguish them from errors in exception handling
|
Ruff (TRY003):
example-cherrypy/example/app.py#L76
example-cherrypy/example/app.py:76:11: TRY003 Avoid specifying long messages outside the exception class
|
Ruff (EM101):
example-cherrypy/example/app.py#L77
example-cherrypy/example/app.py:77:9: EM101 Exception must not use a string literal, assign to variable first
|
Ruff (S701):
example-cherrypy/example/app.py#L98
example-cherrypy/example/app.py:98:32: S701 By default, jinja2 sets `autoescape` to `False`. Consider using `autoescape=True` or the `select_autoescape` function to mitigate XSS vulnerabilities.
|
Ruff (RET504):
example-common/filters.py#L16
example-common/filters.py:16:12: RET504 Unnecessary assignment to `name` before `return` statement
|
Ruff (ARG005):
example-common/filters.py#L49
example-common/filters.py:49:32: ARG005 Unused lambda argument: `backend`
|
Ruff (ARG005):
example-common/filters.py#L55
example-common/filters.py:55:32: ARG005 Unused lambda argument: `backend`
|
Ruff (ARG005):
example-common/filters.py#L61
example-common/filters.py:61:26: ARG005 Unused lambda argument: `name`
|
Ruff (FBT002):
example-common/pipeline.py#L5
example-common/pipeline.py:5:49: FBT002 Boolean default positional argument in function definition
|
pre-commit / pre-commit
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|