chore(deps): update pre-commit hook astral-sh/ruff-pre-commit to v0.9.2 #6
Annotations
10 errors and 1 warning
Run uvx pre-commit run --all:
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
|
Run uvx pre-commit run --all:
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
|
Run uvx pre-commit run --all:
example-cherrypy/example/app.py#L76
example-cherrypy/example/app.py:76:11: TRY003 Avoid specifying long messages outside the exception class
|
Run uvx pre-commit run --all:
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
|
Run uvx pre-commit run --all:
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.
|
Run uvx pre-commit run --all:
example-common/filters.py#L16
example-common/filters.py:16:12: RET504 Unnecessary assignment to `name` before `return` statement
|
Run uvx pre-commit run --all:
example-common/filters.py#L49
example-common/filters.py:49:32: ARG005 Unused lambda argument: `backend`
|
Run uvx pre-commit run --all:
example-common/filters.py#L55
example-common/filters.py:55:32: ARG005 Unused lambda argument: `backend`
|
Run uvx pre-commit run --all:
example-common/filters.py#L61
example-common/filters.py:61:26: ARG005 Unused lambda argument: `name`
|
Run uvx pre-commit run --all:
example-common/pipeline.py#L5
example-common/pipeline.py:5:49: FBT002 Boolean default positional argument in function definition
|
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
Loading