anchore / vunnel

Tool for collecting vulnerability data from various sources (used to build the grype database)
Apache License 2.0
69 stars 25 forks source link

chore: remove unneeded noqa, enable lint for same #648

Closed willmurphyscode closed 1 month ago

willmurphyscode commented 1 month ago

Previously, RUF100 was disabled, meaning that ruff would pass even if there were noqa comments that were not needed. Remove unneeded noqa comments and enable this lint. This is important because unneeded noqa comments leave the door open for re-introducing linter errors that are previously fixed.

Aside from the pyproject.toml change, this diff was generated by running:

ruff check . --extend-select RUF100 --fix