Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Undeserved R1722 #3145

Closed
owillebo opened this issue Sep 30, 2019 · 0 comments
Closed

Undeserved R1722 #3145

owillebo opened this issue Sep 30, 2019 · 0 comments

Comments

@owillebo
Copy link

Steps to reproduce

Lint following code;

from sys import exit
exit(0)

Current behavior

[W0622] Redefining built-in 'exit'
[R1722] Consider using sys.exit()

Expected behavior

No warnings

pylint --version output

pylint 2.4.1
astroid 2.3.0
Python 3.7.3 (v3.7.3:ef4ec6ed12, Mar 25 2019, 21:26:53) [MSC v.1916 32 bit (Intel)]

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant