Closed gforcada closed 9 years ago
I miss the information in the docs, which flake8 plugins provide this feature.
@do3cc you are right, I did that branch on the tram and I had no Internet connection, I was planning to add it afterwards, thanks for the reminder!
I even found a bit misleading the name as I expected that pdb usage would also get a warning, but we were only checking for print statements.
I pointed to both of them on the changelog entry.
occurrences of pdb
are being tested here: https://github.com/plone/plone.recipe.codeanalysis/blob/master/plone/recipe/codeanalysis/tests/test_flake8.py#L63:L72
BTW, seem that the tests for ipdb
have a typo; I fixed here: #159
@gforcada did you update the docs/changelog yet? Apart from this I think this pr can be merged.
squash all commits into one first, please
@tisto yes I added a changelog entry and bumped the version to 2.1, travis was complaining let's see if it's ok now...
@gforcada can we add the new flake8-plugins to our README as "best practice"?
I was thinking that we should copy zest.releaser and create a [recommended]
extra for p.r.codeanalysis where we add all these flake8 plugins that we think should be... ehem .. recommended, does it make sense?
As you can see from my last tweets I'm basically stripping everything python-only related from p.r.codeanalysis and putting it on its own distribution, so we can make them more flexible and useful for others and have different development cycles, while on p.r.codeanalysis should be basically the syntactic sugar to put everything together.
[recommended] sounds good to me. Though, I would also be ok with just adding our recommended plugins to the README. I usually copy the config from there anyways.
Regarding your flake8-plugins: That's really awesome! I always had that vision that p.r.codeanlysis just becomes a thin layer around generic python code analysis tools. Thanks a lot for working on this!!! Factor out as much as possible, less options is good.
@tisto good point, updated the next release version to 2.1