---
source: crates/ruff_linter/src/rules/pylint/mod.rs
---
sys_exit_alias_12.py:3:1: PLR1722 [*] Use `sys.exit()` instead of `exit`
  |
1 | import os \
2 | 
3 | exit(0)
  | ^^^^ PLR1722
  |
  = help: Replace `exit` with `sys.exit()`

ℹ Unsafe fix
1   |-import os \
  1 |+import os; import sys \
2 2 | 
3   |-exit(0)
  3 |+sys.exit(0)


