---
source: crates/ruff/src/rules/pylint/mod.rs
---
sys_exit_alias_5.py:3:1: PLR1722 [*] Use `sys.exit()` instead of `exit`
  |
3 | from sys import *
4 | 
5 | exit(0)
  | ^^^^ PLR1722
6 | quit(0)
  |
  = help: Replace `exit` with `sys.exit()`

sys_exit_alias_5.py:4:1: PLR1722 [*] Use `sys.exit()` instead of `quit`
  |
4 | exit(0)
5 | quit(0)
  | ^^^^ PLR1722
  |
  = help: Replace `quit` with `sys.exit()`

sys_exit_alias_5.py:8:5: PLR1722 [*] Use `sys.exit()` instead of `exit`
   |
 8 | def main():
 9 |     exit(1)
   |     ^^^^ PLR1722
10 |     quit(1)
   |
   = help: Replace `exit` with `sys.exit()`

sys_exit_alias_5.py:9:5: PLR1722 [*] Use `sys.exit()` instead of `quit`
   |
 9 | def main():
10 |     exit(1)
11 |     quit(1)
   |     ^^^^ PLR1722
   |
   = help: Replace `quit` with `sys.exit()`


