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

pylint warnings #2155

Closed
totaam opened this issue Feb 19, 2019 · 8 comments
Closed

pylint warnings #2155

totaam opened this issue Feb 19, 2019 · 8 comments
Labels

Comments

@totaam
Copy link
Collaborator

totaam commented Feb 19, 2019

Issue migrated from trac ticket # 2155

component: core | priority: major | resolution: fixed

2019-02-19 04:57:46: antoine created the issue


Some of those uncover real bugs, let's try to trim the output (over 10000 warnings is a bit much!) and fix the real bugs.

@totaam
Copy link
Collaborator Author

totaam commented Feb 19, 2019

2019-02-19 05:01:47: antoine changed status from new to assigned

@totaam
Copy link
Collaborator Author

totaam commented Feb 19, 2019

2019-02-19 05:01:47: antoine commented


The pylint suppression rules I am using right now:

--ignore-patterns=.*.c --ignore-patterns=.*.html --ignore-patterns=.*pyx --ignore-patterns=.*pxi
--good-names=x,y,w,h,v,n,i,e,log,d  --max-line-length=120
--disable=C0111 --disable=C0103 --disable=F0401 --disable=W0201
--disable=R0205 --disable=R0201 --disable=C1001 --disable=W0703
--disable=W0603

Some of the fixes already committed:

@totaam
Copy link
Collaborator Author

totaam commented Feb 19, 2019

2019-02-19 07:53:13: antoine commented


@totaam
Copy link
Collaborator Author

totaam commented Feb 20, 2019

2019-02-20 04:14:24: antoine commented


@totaam
Copy link
Collaborator Author

totaam commented Feb 26, 2019

2019-02-26 03:57:08: antoine commented


More:

See also #2177

@totaam
Copy link
Collaborator Author

totaam commented Mar 7, 2019

2019-03-07 12:55:57: antoine changed status from assigned to closed

@totaam
Copy link
Collaborator Author

totaam commented Mar 7, 2019

2019-03-07 12:55:57: antoine set resolution to fixed

@totaam
Copy link
Collaborator Author

totaam commented Mar 7, 2019

2019-03-07 12:55:57: antoine commented


More, some reported by PYTHONWARNINGS=all:

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

1 participant