---
source: crates/ruff_linter/src/rules/pylint/mod.rs
snapshot_kind: text
---
global_at_module_level.py:1:1: PLW0604 `global` at module level is redundant
  |
1 | global price  # W0604
  | ^^^^^^^^^^^^ PLW0604
2 | 
3 | price = 25
  |

global_at_module_level.py:6:5: PLW0604 `global` at module level is redundant
  |
5 | if True:
6 |     global X  # W0604
  |     ^^^^^^^^ PLW0604
7 | 
8 | def no_error():
  |
