mlampert wrote: ↑
Sun Jun 30, 2019 10:46 pm
I was wondering if it was possible to have pylint installed on the build boxes so we could integrate a lint run into Path's unit tests?
It should just require adding pylint and pylint3 @line 152 of https://github.com/FreeCAD/FreeCAD/blob ... s.yml#L152
I can make a pull request if you want, or you can do it in the commit set that starts using it.
If this is going to be a hard dependency for Path tests we will need to add it to the PPA, which is straight forward.
For the Win Travis builds I would need to add pylint and astroid to the libpack. Both are pure python so it should be straight forward.
For the OSX Travis builds I don't know, but they are disabled, so I wouldn't worry now. Maybe a comment in the travis.yml in case someone gets it working again in the future.
For the Conda based builds there is a Conda package available, it should be straight forward to add.
So the question is to make it a hard dependency or use it in some try/except block?
I can do most of it either way. If it becomes a hard dependency we need to document on the wiki and make an announcement for other Distros' package manager.