Open
Description
When running pylint
against output of
jtd-codegen --python-out ./python/typedef RFC8927.json
there are PEP-8 and python style exceptions returned by pylint
. Examples:
- C0103: Argument name "s" doesn't conform to snake_case naming style (invalid-name)
- C0103: Variable name "tz" doesn't conform to snake_case naming style (invalid-name)
- C0114: Missing module docstring (missing-module-docstring)
- C0115: Missing class docstring (missing-class-docstring)
- C0116: Missing function or method docstring (missing-function-docstring)
- C0123: Use isinstance() rather than type() for a typecheck. (unidiomatic-typecheck)
- C0301: Line too long (113/100) (line-too-long)
- C0303: Trailing whitespace (trailing-whitespace)
- R0902: Too many instance attributes (8/7) (too-many-instance-attributes)
- R0914: Too many local variables (18/15) (too-many-locals)
- R0915: Too many statements (100/50) (too-many-statements)
- W1401: Anomalous backslash in string: '\d'. String constant might be missing an r prefix. (anomalous-backslash-in-string)
I realize some of these are unavoidable. However, if the output was a little cleaner it would make running GitHub Actions for testing (e.g. https://github.com/Senzing/g2-sdk-json-type-definition/blob/cc055ff2640c6ee76283bc66714fa8ce238fc99d/.github/workflows/pylint.yaml) a little nicer.
Thank you for your consideration of this.
Metadata
Metadata
Assignees
Labels
No labels