-
-
Notifications
You must be signed in to change notification settings - Fork 300
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
Red branch because of use builtin names #181
Comments
In my opinion, I'd rather rename the variables/arguments with something that explains their meaning. Lines 323 to 329 in 742b131
type could be renamed to line_type or something similar.
|
@bealdav looking at the link to the travis log that you posted, it seems to me that the red branch is caused by the following error only:
|
OK green now, but we should note to not use builtin names in method for the future |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Some branch are red because of code like here in v12
https://travis-ci.org/github/OCA/edi/jobs/663059314#L325-L328
I propose to rename zip var or arg in zip_ and type in type_
It could break some method calls in case of named argument like here
https://github.com/OCA/edi/blob/12.0/base_ubl/models/ubl.py#L323-L329
but sure we'll at to fix it
What do you think ?
Thanks for sharing your ideas @astirpe @SimoRubi @lmignon @tarteo @alexis-via @joshuajan @feketemihai @acsonefho @rousseldenis @luc-demeyer @Cedric-Pigeon
The text was updated successfully, but these errors were encountered: