Use Ruff & Black instead of pre-commit #35
Annotations
10 errors
Ruff (FBT003):
src/holocron/__main__.py#L87
src/holocron/__main__.py:87:29: FBT003 Boolean positional value in function call
|
Ruff (RUF012):
src/holocron/_core/application.py#L14
src/holocron/_core/application.py:14:33: RUF012 Mutable class attributes should be annotated with `typing.ClassVar`
|
Ruff (FBT002):
src/holocron/_processors/_misc.py#L16
src/holocron/_processors/_misc.py:16:45: FBT002 Boolean default positional argument in function definition
|
Ruff (RET503):
src/holocron/_processors/_misc.py#L84
src/holocron/_processors/_misc.py:84:25: RET503 Missing explicit `return` at the end of function able to return non-`None` value
|
Ruff (RET503):
src/holocron/_processors/_misc.py#L91
src/holocron/_processors/_misc.py:91:25: RET503 Missing explicit `return` at the end of function able to return non-`None` value
|
Ruff (RET503):
src/holocron/_processors/_misc.py#L98
src/holocron/_processors/_misc.py:98:25: RET503 Missing explicit `return` at the end of function able to return non-`None` value
|
Ruff (I001):
src/holocron/_processors/jinja2/__init__.py#L3
src/holocron/_processors/jinja2/__init__.py:3:1: I001 Import block is un-sorted or un-formatted
|
Ruff (S701):
src/holocron/_processors/jinja2/__init__.py#L33
src/holocron/_processors/jinja2/__init__.py:33:11: S701 By default, jinja2 sets `autoescape` to `False`. Consider using `autoescape=True` or the `select_autoescape` function to mitigate XSS vulnerabilities.
|
Ruff (S701):
src/holocron/_processors/when.py#L30
src/holocron/_processors/when.py:30:21: S701 By default, jinja2 sets `autoescape` to `False`. Consider using `autoescape=True` or the `select_autoescape` function to mitigate XSS vulnerabilities.
|
Ruff (SLF001):
tests/_core/test_factories.py#L13
tests/_core/test_factories.py:13:16: SLF001 Private member accessed: `_processors`
|