Skip to content
Snippets Groups Projects
Closed Move Pylint config from the Makefile to pyproject.toml
  • View options
  • Move Pylint config from the Makefile to pyproject.toml

  • View options
  • Closed Issue created by Moul

    pyproject.toml

    Pylint 2.5.0 adds pyproject.toml support.

    New reports

    Passing the (de)activations from the CLI to the pyproject.toml causes R0801 and R0401 Fix following issues:

    • Fix R0801: Similar lines in 2 files coming from bma jsonschema definitions where we most likely won't fix
    • Fix examples/load_scuttlebutt_file.py:1:0: R0401: Cyclic import (duniterpy.key -> duniterpy.key.ascii_armor) (cyclic-import)

    .pylintrc

    • Commit .pylintrc configuration file as follow:
    • pylint --generate-rcfile > .pylintrc
    • pylint --disable=C,R0902,R0903,R0904,R0912,R0913,R0914,R0915,W0613 --enable=C0121,C0202,C0321 --jobs=0 --generate-rcfile > .pylintrc

    References

    ✓ 5 of 5 checklist items completed · Edited by Moul

    Activity

    • All activity
    • Comments only
    • History only
    • Newest first
    • Oldest first