-
Notifications
You must be signed in to change notification settings - Fork 4
Coding standard automated checks for Python projects #35
Comments
Just to be sure, we don't want to use proofreader-python for now? |
It may be too eLife-specific and/or force too many pinned versions of dependencies. I'd welcome an experiment. |
IIRC there are pinned dependency problems. Would rather static tools weren't part of the app too (to avoid other dependency incompatibilities). But it's somewhere to start. |
Also worth adding a markdown linter. The one used in VSCode is https://github.com/DavidAnson/markdownlint but requires an extra dependency. Perhaps use a separate docker image for that. |
First PR to introduce pylint: libero/content-store#9 |
I wasn't planning on adding |
Actually wondering whether we should split the ticket instead, I can create one for pylint (currently in checking), flake8. Optionally:
|
The scope of the ticket isn't well defined, can we now define it as please: It mention Python projects. I believe at the time of creation it was just the content-store (and it is has the corresponding title). I think we should have separate tickets for each project (e.g. now validator?). So this ticket is just about the content-store. |
I'd stop with The current tools cover both style ( |
No, there was nothing else I was going to add. Apart from markdownlint (if you consider markdown as code). |
|
Can probably be closed now? |
Coding standards common problems:
Standard tools for enforcing used at elife:
We may use some of these tools directly and find a way to extract a common configuration later.
/cc @thewilkybarkid for common proofreader-python problems
The text was updated successfully, but these errors were encountered: