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

[REF] pylint-conf: Remove o, i, k and v from good names variable #15

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

moylop260
Copy link
Contributor

i: Commonly used in "for" loops of python.
o: Commonly used in report parser of odoo.
k, v: Commonly used to assign key and value of dictionaries python.

Silenced in the past because was good names in these time.
Now, we have use a most explicit name, please!

NOTE: variable e is used in python exceptions in many python real examples.

@moylop260
Copy link
Contributor Author

@nhomar and @hbto,
Can you give me your feedback please?

@@ -155,7 +155,7 @@ attr-rgx=[a-z_][a-z0-9_]{2,45}$
argument-rgx=([a-z_][a-z0-9_]{2,45}$)
variable-rgx=[a-z_][a-z0-9_]{1,45}$
inlinevar-rgx=[A-Za-z_][A-Za-z0-9_]*$
good-names=_,cr,uid,id,ids,_logger,o,e,i,k,v,checks,fast_suite
good-names=_,cr,uid,id,ids,_logger,e,checks,fast_suite
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do we need "e"? remove it also please if you think I am right.!

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

Successfully merging this pull request may close these issues.

2 participants