-
Notifications
You must be signed in to change notification settings - Fork 119
Do automatic code checking for entire package before release. #202
Comments
maybe we should write a pylint ruleset and add it to travis. Does PyCharm perform more than static code analysis? |
It finds dynamic code usages too but doesn' evaluate them, so just gives I'm all for an automatic solution in Travis, but in my opinion it Am 08/04/15 um 15:10 schrieb Martin K. Scherer:
Prof. Dr. Frank Noe Phone: (+49) (0)30 838 75354 Mail: Arnimallee 6, 14195 Berlin, Germany |
I've added pylint to travis on my branch:
https://travis-ci.org/marscher/PyEMMA/builds/57649196
It first runs the test-suite and then analyses the code and prints all
found errors. This is an initial hint for pull requesters.
If you are happy with this, I'll merge it now.
|
I can also make this check fatal, so in case the return value of pylint is not zero, the travis build will fail. |
Many of these error reports appear not to be real (e.g. an object has no Priority now is getting all new coordinate stuff working an tested - Am 08/04/15 um 17:41 schrieb Martin K. Scherer:
Prof. Dr. Frank Noe Phone: (+49) (0)30 838 75354 Mail: Arnimallee 6, 14195 Berlin, Germany |
My PyCharm still reports syntax errors in the current dev_release_1.2 branch. Common example: trying to pass the wrong number of arguments to a function, and this case is not covered by unit-tests.
Use PyCharm or another semi-intelligent tool to check all code before the release.
The text was updated successfully, but these errors were encountered: