---
source: crates/ruff_linter/src/rules/ruff/mod.rs
---
RUF100 [*] Unused blanket `noqa` directive
 --> RUF100_3.py:1:1
  |
1 | # noqa
  | ^^^^^^
2 | # noqa # comment
3 | print()  # noqa
  |
help: Remove unused `noqa` directive
  |
  - # noqa
1 | # noqa # comment
  |

RUF100 [*] Unused blanket `noqa` directive
 --> RUF100_3.py:2:1
  |
1 | # noqa
2 | # noqa # comment
  | ^^^^^^
3 | print()  # noqa
4 | print()  # noqa # comment
  |
help: Remove unused `noqa` directive
  |
1 | # noqa
  - # noqa # comment
2 + # comment
3 | print()  # noqa
  |

RUF100 [*] Unused blanket `noqa` directive
 --> RUF100_3.py:3:10
  |
1 | # noqa
2 | # noqa # comment
3 | print()  # noqa
  |          ^^^^^^
4 | print()  # noqa # comment
5 | print()  # noqa  # comment
  |
help: Remove unused `noqa` directive
  |
2 | # noqa # comment
  - print()  # noqa
3 + print()
4 | print()  # noqa # comment
  |

RUF100 [*] Unused blanket `noqa` directive
 --> RUF100_3.py:4:10
  |
2 | # noqa # comment
3 | print()  # noqa
4 | print()  # noqa # comment
  |          ^^^^^^
5 | print()  # noqa  # comment
6 | print()  # noqa comment
  |
help: Remove unused `noqa` directive
  |
3 | print()  # noqa
  - print()  # noqa # comment
4 + print()  # comment
5 | print()  # noqa  # comment
  |

RUF100 [*] Unused blanket `noqa` directive
 --> RUF100_3.py:5:10
  |
3 | print()  # noqa
4 | print()  # noqa # comment
5 | print()  # noqa  # comment
  |          ^^^^^^
6 | print()  # noqa comment
7 | print()  # noqa  comment
  |
help: Remove unused `noqa` directive
  |
4 | print()  # noqa # comment
  - print()  # noqa  # comment
5 + print()  # comment
6 | print()  # noqa comment
  |

RUF100 [*] Unused blanket `noqa` directive
 --> RUF100_3.py:6:10
  |
4 | print()  # noqa # comment
5 | print()  # noqa  # comment
6 | print()  # noqa comment
  |          ^^^^^^
7 | print()  # noqa  comment
8 | print(a)  # noqa
  |
help: Remove unused `noqa` directive
  |
5 | print()  # noqa  # comment
  - print()  # noqa comment
6 + print()
7 | print()  # noqa  comment
  |

RUF100 [*] Unused blanket `noqa` directive
 --> RUF100_3.py:7:10
  |
5 | print()  # noqa  # comment
6 | print()  # noqa comment
7 | print()  # noqa  comment
  |          ^^^^^^
8 | print(a)  # noqa
9 | print(a)  # noqa # comment
  |
help: Remove unused `noqa` directive
  |
6 | print()  # noqa comment
  - print()  # noqa  comment
7 + print()
8 | print(a)  # noqa
  |

RUF100 [*] Unused `noqa` directive (unused: `E501`, `F821`)
  --> RUF100_3.py:14:1
   |
12 | print(a)  # noqa  comment
13 |
14 | # noqa: E501, F821
   | ^^^^^^^^^^^^^^^^^^
15 | # noqa: E501, F821 # comment
16 | print()  # noqa: E501, F821
   |
help: Remove unused `noqa` directive
   |
13 |
   - # noqa: E501, F821
14 | # noqa: E501, F821 # comment
   |

RUF100 [*] Unused `noqa` directive (unused: `E501`, `F821`)
  --> RUF100_3.py:15:1
   |
14 | # noqa: E501, F821
15 | # noqa: E501, F821 # comment
   | ^^^^^^^^^^^^^^^^^^
16 | print()  # noqa: E501, F821
17 | print()  # noqa: E501, F821 # comment
   |
help: Remove unused `noqa` directive
   |
14 | # noqa: E501, F821
   - # noqa: E501, F821 # comment
15 + # comment
16 | print()  # noqa: E501, F821
   |

RUF100 [*] Unused `noqa` directive (unused: `E501`, `F821`)
  --> RUF100_3.py:16:10
   |
14 | # noqa: E501, F821
15 | # noqa: E501, F821 # comment
16 | print()  # noqa: E501, F821
   |          ^^^^^^^^^^^^^^^^^^
17 | print()  # noqa: E501, F821 # comment
18 | print()  # noqa: E501, F821  # comment
   |
help: Remove unused `noqa` directive
   |
15 | # noqa: E501, F821 # comment
   - print()  # noqa: E501, F821
16 + print()
17 | print()  # noqa: E501, F821 # comment
   |

RUF100 [*] Unused `noqa` directive (unused: `E501`, `F821`)
  --> RUF100_3.py:17:10
   |
15 | # noqa: E501, F821 # comment
16 | print()  # noqa: E501, F821
17 | print()  # noqa: E501, F821 # comment
   |          ^^^^^^^^^^^^^^^^^^
18 | print()  # noqa: E501, F821  # comment
19 | print()  # noqa: E501, F821 comment
   |
help: Remove unused `noqa` directive
   |
16 | print()  # noqa: E501, F821
   - print()  # noqa: E501, F821 # comment
17 + print()  # comment
18 | print()  # noqa: E501, F821  # comment
   |

RUF100 [*] Unused `noqa` directive (unused: `E501`, `F821`)
  --> RUF100_3.py:18:10
   |
16 | print()  # noqa: E501, F821
17 | print()  # noqa: E501, F821 # comment
18 | print()  # noqa: E501, F821  # comment
   |          ^^^^^^^^^^^^^^^^^^
19 | print()  # noqa: E501, F821 comment
20 | print()  # noqa: E501, F821  comment
   |
help: Remove unused `noqa` directive
   |
17 | print()  # noqa: E501, F821 # comment
   - print()  # noqa: E501, F821  # comment
18 + print()  # comment
19 | print()  # noqa: E501, F821 comment
   |

RUF100 [*] Unused `noqa` directive (unused: `E501`, `F821`)
  --> RUF100_3.py:19:10
   |
17 | print()  # noqa: E501, F821 # comment
18 | print()  # noqa: E501, F821  # comment
19 | print()  # noqa: E501, F821 comment
   |          ^^^^^^^^^^^^^^^^^^
20 | print()  # noqa: E501, F821  comment
21 | print(a)  # noqa: E501, F821
   |
help: Remove unused `noqa` directive
   |
18 | print()  # noqa: E501, F821  # comment
   - print()  # noqa: E501, F821 comment
19 + print()
20 | print()  # noqa: E501, F821  comment
   |

RUF100 [*] Unused `noqa` directive (unused: `E501`, `F821`)
  --> RUF100_3.py:20:10
   |
18 | print()  # noqa: E501, F821  # comment
19 | print()  # noqa: E501, F821 comment
20 | print()  # noqa: E501, F821  comment
   |          ^^^^^^^^^^^^^^^^^^
21 | print(a)  # noqa: E501, F821
22 | print(a)  # noqa: E501, F821 # comment
   |
help: Remove unused `noqa` directive
   |
19 | print()  # noqa: E501, F821 comment
   - print()  # noqa: E501, F821  comment
20 + print()
21 | print(a)  # noqa: E501, F821
   |

RUF100 [*] Unused `noqa` directive (unused: `E501`)
  --> RUF100_3.py:21:11
   |
19 | print()  # noqa: E501, F821 comment
20 | print()  # noqa: E501, F821  comment
21 | print(a)  # noqa: E501, F821
   |           ^^^^^^^^^^^^^^^^^^
22 | print(a)  # noqa: E501, F821 # comment
23 | print(a)  # noqa: E501, F821  # comment
   |
help: Remove unused `noqa` directive
   |
20 | print()  # noqa: E501, F821  comment
   - print(a)  # noqa: E501, F821
21 + print(a)  # noqa: F821
22 | print(a)  # noqa: E501, F821 # comment
   |

RUF100 [*] Unused `noqa` directive (unused: `E501`)
  --> RUF100_3.py:22:11
   |
20 | print()  # noqa: E501, F821  comment
21 | print(a)  # noqa: E501, F821
22 | print(a)  # noqa: E501, F821 # comment
   |           ^^^^^^^^^^^^^^^^^^
23 | print(a)  # noqa: E501, F821  # comment
24 | print(a)  # noqa: E501, F821 comment
   |
help: Remove unused `noqa` directive
   |
21 | print(a)  # noqa: E501, F821
   - print(a)  # noqa: E501, F821 # comment
22 + print(a)  # noqa: F821 # comment
23 | print(a)  # noqa: E501, F821  # comment
   |

RUF100 [*] Unused `noqa` directive (unused: `E501`)
  --> RUF100_3.py:23:11
   |
21 | print(a)  # noqa: E501, F821
22 | print(a)  # noqa: E501, F821 # comment
23 | print(a)  # noqa: E501, F821  # comment
   |           ^^^^^^^^^^^^^^^^^^
24 | print(a)  # noqa: E501, F821 comment
25 | print(a)  # noqa: E501, F821  comment
   |
help: Remove unused `noqa` directive
   |
22 | print(a)  # noqa: E501, F821 # comment
   - print(a)  # noqa: E501, F821  # comment
23 + print(a)  # noqa: F821  # comment
24 | print(a)  # noqa: E501, F821 comment
   |

RUF100 [*] Unused `noqa` directive (unused: `E501`)
  --> RUF100_3.py:24:11
   |
22 | print(a)  # noqa: E501, F821 # comment
23 | print(a)  # noqa: E501, F821  # comment
24 | print(a)  # noqa: E501, F821 comment
   |           ^^^^^^^^^^^^^^^^^^
25 | print(a)  # noqa: E501, F821  comment
26 | print(a)  # noqa: E501,,F821  comment
   |
help: Remove unused `noqa` directive
   |
23 | print(a)  # noqa: E501, F821  # comment
   - print(a)  # noqa: E501, F821 comment
24 + print(a)  # noqa: F821 comment
25 | print(a)  # noqa: E501, F821  comment
   |

RUF100 [*] Unused `noqa` directive (unused: `E501`)
  --> RUF100_3.py:25:11
   |
23 | print(a)  # noqa: E501, F821  # comment
24 | print(a)  # noqa: E501, F821 comment
25 | print(a)  # noqa: E501, F821  comment
   |           ^^^^^^^^^^^^^^^^^^
26 | print(a)  # noqa: E501,,F821  comment
27 | print(a)  # noqa: E501, ,F821  comment
   |
help: Remove unused `noqa` directive
   |
24 | print(a)  # noqa: E501, F821 comment
   - print(a)  # noqa: E501, F821  comment
25 + print(a)  # noqa: F821  comment
26 | print(a)  # noqa: E501,,F821  comment
   |

RUF100 [*] Unused `noqa` directive (unused: `E501`)
  --> RUF100_3.py:26:11
   |
24 | print(a)  # noqa: E501, F821 comment
25 | print(a)  # noqa: E501, F821  comment
26 | print(a)  # noqa: E501,,F821  comment
   |           ^^^^^^^^^^^^^^^^^^
27 | print(a)  # noqa: E501, ,F821  comment
28 | print(a)  # noqa: E501 F821  comment
   |
help: Remove unused `noqa` directive
   |
25 | print(a)  # noqa: E501, F821  comment
   - print(a)  # noqa: E501,,F821  comment
26 + print(a)  # noqa: F821  comment
27 | print(a)  # noqa: E501, ,F821  comment
   |

RUF100 [*] Unused `noqa` directive (unused: `E501`)
  --> RUF100_3.py:27:11
   |
25 | print(a)  # noqa: E501, F821  comment
26 | print(a)  # noqa: E501,,F821  comment
27 | print(a)  # noqa: E501, ,F821  comment
   |           ^^^^^^^^^^^^^^^^^^^
28 | print(a)  # noqa: E501 F821  comment
   |
help: Remove unused `noqa` directive
   |
26 | print(a)  # noqa: E501,,F821  comment
   - print(a)  # noqa: E501, ,F821  comment
27 + print(a)  # noqa: F821  comment
28 | print(a)  # noqa: E501 F821  comment
   |

RUF100 [*] Unused `noqa` directive (unused: `E501`)
  --> RUF100_3.py:28:11
   |
26 | print(a)  # noqa: E501,,F821  comment
27 | print(a)  # noqa: E501, ,F821  comment
28 | print(a)  # noqa: E501 F821  comment
   |           ^^^^^^^^^^^^^^^^^
29 |
30 | print(a)  # comment with unicode µ    # noqa: E501
   |
help: Remove unused `noqa` directive
   |
27 | print(a)  # noqa: E501, ,F821  comment
   - print(a)  # noqa: E501 F821  comment
28 + print(a)  # noqa: F821  comment
29 |
   |

F821 Undefined name `a`
  --> RUF100_3.py:30:7
   |
28 | print(a)  # noqa: E501 F821  comment
29 |
30 | print(a)  # comment with unicode µ    # noqa: E501
   |       ^
31 | print(a)  # comment with unicode µ    # noqa: E501, F821
   |

RUF100 [*] Unused `noqa` directive (unused: `E501`)
  --> RUF100_3.py:30:39
   |
28 | print(a)  # noqa: E501 F821  comment
29 |
30 | print(a)  # comment with unicode µ    # noqa: E501
   |                                       ^^^^^^^^^^^^
31 | print(a)  # comment with unicode µ    # noqa: E501, F821
   |
help: Remove unused `noqa` directive
   |
29 |
   - print(a)  # comment with unicode µ    # noqa: E501
30 + print(a)  # comment with unicode µ
31 | print(a)  # comment with unicode µ    # noqa: E501, F821
   |

RUF100 [*] Unused `noqa` directive (unused: `E501`)
  --> RUF100_3.py:31:39
   |
30 | print(a)  # comment with unicode µ    # noqa: E501
31 | print(a)  # comment with unicode µ    # noqa: E501, F821
   |                                       ^^^^^^^^^^^^^^^^^^
   |
help: Remove unused `noqa` directive
   |
30 | print(a)  # comment with unicode µ    # noqa: E501
   - print(a)  # comment with unicode µ    # noqa: E501, F821
31 + print(a)  # comment with unicode µ    # noqa: F821
   |
