---
source: crates/ruff_linter/src/rules/pylint/mod.rs
---
PLR1722 [*] Use `sys.exit()` instead of `exit`
 --> sys_exit_alias_6.py:1:1
  |
1 | exit(0)
  | ^^^^
2 | quit(0)
  |
help: Replace `exit` with `sys.exit()`
  |
  - exit(0)
1 + import sys
2 + sys.exit(0)
3 | quit(0)
  |
note: This is an unsafe fix and may change runtime behavior

PLR1722 [*] Use `sys.exit()` instead of `quit`
 --> sys_exit_alias_6.py:2:1
  |
1 | exit(0)
2 | quit(0)
  | ^^^^
  |
help: Replace `quit` with `sys.exit()`
  |
1 + import sys
2 | exit(0)
  - quit(0)
3 + sys.exit(0)
4 |
  |
note: This is an unsafe fix and may change runtime behavior
