---
source: crates/ruff_linter/src/rules/ruff/mod.rs
---
RUF100_7.py:1:1: RUF100 [*] Unused `noqa` directive (unused: `E501`)
  |
1 | # flake8: noqa: F841, E501 -- used followed by unused code
  | ^^^^^^^^^^^^^^^^^^^^^^^^^^ RUF100
2 | # ruff: noqa: E701, F541 -- unused followed by used code
  |
  = help: Remove unused `noqa` directive

ℹ Safe fix
1   |-# flake8: noqa: F841, E501 -- used followed by unused code
  1 |+# flake8: noqa: F841 -- used followed by unused code
2 2 | # ruff: noqa: E701, F541 -- unused followed by used code
3 3 | 
4 4 | 

RUF100_7.py:2:1: RUF100 [*] Unused `noqa` directive (non-enabled: `E701`)
  |
1 | # flake8: noqa: F841, E501 -- used followed by unused code
2 | # ruff: noqa: E701, F541 -- unused followed by used code
  | ^^^^^^^^^^^^^^^^^^^^^^^^ RUF100
  |
  = help: Remove unused `noqa` directive

ℹ Safe fix
1 1 | # flake8: noqa: F841, E501 -- used followed by unused code
2   |-# ruff: noqa: E701, F541 -- unused followed by used code
  2 |+# ruff: noqa: F541 -- unused followed by used code
3 3 | 
4 4 | 
5 5 | def a():
