Skip to content

Ruff format the codebase & some typing changes #550

Ruff format the codebase & some typing changes

Ruff format the codebase & some typing changes #550

Triggered via pull request September 19, 2025 08:44
Status Success
Total duration 15s
Artifacts

ruff.yaml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

10 errors
Ruff (S310): src/tauon/__main__.py#L101
src/tauon/__main__.py:101:4: S310 Audit URL open for permitted schemes. Allowing use of `file:` or custom schemes is often unexpected.
Ruff (S310): src/tauon/__main__.py#L98
src/tauon/__main__.py:98:4: S310 Audit URL open for permitted schemes. Allowing use of `file:` or custom schemes is often unexpected.
Ruff (S310): src/tauon/__main__.py#L95
src/tauon/__main__.py:95:4: S310 Audit URL open for permitted schemes. Allowing use of `file:` or custom schemes is often unexpected.
Ruff (PLC0415): src/tauon/__main__.py#L93
src/tauon/__main__.py:93:4: PLC0415 `import` should be at the top-level of a file
Ruff (S310): src/tauon/__main__.py#L88
src/tauon/__main__.py:88:3: S310 Audit URL open for permitted schemes. Allowing use of `file:` or custom schemes is often unexpected.
Ruff (PLC0415): src/tauon/__main__.py#L83
src/tauon/__main__.py:83:2: PLC0415 `import` should be at the top-level of a file
Ruff (PLC0415): src/tauon/__main__.py#L78
src/tauon/__main__.py:78:2: PLC0415 `import` should be at the top-level of a file
Ruff (INP001): extra/pyinstaller-hooks/hook-pylast.py#L1
extra/pyinstaller-hooks/hook-pylast.py:1:1: INP001 File `extra/pyinstaller-hooks/hook-pylast.py` is part of an implicit namespace package. Add an `__init__.py`.
Ruff (TRY003): compile_translations.py#L51
compile_translations.py:51:9: TRY003 Avoid specifying long messages outside the exception class
Ruff (TRY002): compile_translations.py#L51
compile_translations.py:51:9: TRY002 Create your own exception