Fixed imports and other code#284
Conversation
Signed-off-by: Levi Gross <levi@levigross.com>
|
There are good things here, but this is too evasive to be accepted all at once. For example, that import style we use is going to stay as it is. It's easier to us to see what's being imported line by line, and not everything inside one huge line (per used module). Also, you are pushing your code preferences like usage of To summarize. Code style preferences not having a strong MUST backed by a PEP will not be merged, at least not like this (in a one huge merge request). Other than that, things like |
|
Thanks, can you please write up a quick style guide as to how you expect code to be formatted within pull requests. |
|
p.s. do you know any open source project which would merge a request containing changes on 139 files, mostly (personal) style based, coming from a complete stranger? |
|
p.s. nag about style used before doing anything "harsh" |
|
Thanks and sorry for the massive style commit. I have spent a lot of time in the Django world so syntax like I think that the above mentioned list should be committed as a guide for contributors (or at least placed in the wiki). |
|
We'll do some style guide "compilation", probably "borrowing" some stuff from other projects. As of that import So, basically, as said, it's purely a matter of project-specific preferences |
|
@levigross firstly, thanks for your contribution. Although this massive pull request has been closed for the reasons Miroslav highlighted, we appreciate your effort and look forward to your new code contributions. We have just committed https://github.com/sqlmapproject/sqlmap/blob/master/CONTRIBUTING.md to facilitate new code contributions. We have also updated the FAQ page to reflect recent additions to the contributing process, https://github.com/sqlmapproject/sqlmap/wiki/FAQ. |
I cleaned up the import statements and added a few tweaks to the code.