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 (again) #3147

Closed
SamyCookie opened this issue Sep 30, 2019 · 1 comment
Closed

Undeserved R1722 (again) #3147

SamyCookie opened this issue Sep 30, 2019 · 1 comment
Labels

Comments

@SamyCookie
Copy link

SamyCookie commented Sep 30, 2019

follow #3145

Steps to reproduce

  1. lint this code
def run()
    from sys import exit
    exit()
run()

Current behavior

launch a linting recommandation R1722 (consider-using-sys-exit)

Expected behavior

no recommation

pylint --version output

pylint 2.4.2
astroid 2.3.1
Python 3.5.3 (default, Sep 27 2018, 17:25:39)
[GCC 6.3.0 20170516]

@PCManticore PCManticore added this to the Next minor release milestone Oct 9, 2019
@PCManticore
Copy link
Contributor

Thanks, will be fixed in the next minor release.

@PCManticore PCManticore modified the milestones: Next minor release, Next bug fix release Oct 9, 2019
PCManticore added a commit that referenced this issue Oct 11, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants