Skip to content

Add Description how to ignore findings to User Guide #706

@ckunki

Description

@ckunki

In rare cases you may need to disable a particular finding reported by one of the tools employed by the PTB.

A typical example is when importing all PTB's Nox sessions in your noxfile.py.

from exasol.toolbox.nox.tasks import *

Causing ruff to report error "F403 unused import".

In this case this we want to ignore the finding and keep the import to make
the PTB's Nox sessions available in our project.

This is achieved by appending a comment to the code line

from exasol.toolbox.nox.tasks import *  # noqa: F403

See
https://docs.astral.sh/ruff/configuration/

Metadata

Metadata

Assignees

Labels

documentationUser guides, tutorials, specifications

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions