-
Notifications
You must be signed in to change notification settings - Fork 292
Closed
Labels
Description
Description of issue or feature request:
TUF uses a pylint config file that seems to have been copied in verbatim from PyCQA/pylint, listing all defaults explicitly, and adding only a few customizations, which neither fully encode our current style guidelines, nor the style guidelines we plan to adopt (~TBD) for new code.
Note: The same issue exists in securesystemslib, and existed but was fixed in in-toto.
Current behavior:
pylintrcunnecessarily lists defaults making it hard to read/maintainpylintrcdoes not encode our code style guidelines- (travis/tox automated testing does not run
pylintover test code)
Expected behavior:
- Decide on style guidelines (Decide on style guideline #1128)
- Encode chosen guidelines in a new
pylintrc-file (see tuf/api: Expose tuf.api as a package (take 2) #1177 for WIP preparatory work) - Use new
pylintrcfor new code including tests
Note: It is probably not worth fixing the potentially many linter issues in code that might not survive the upcoming refactor. - (orthogonal) review and adopt other code quality tools (e.g. @trishankatdatadog has positively mentioned
blackandlgtm).
Reactions are currently unavailable