Commit 91aa7c64 authored by Davide Ricci's avatar Davide Ricci
Browse files

Edit .pylintrc

parent 2a045089
Loading
Loading
Loading
Loading
Loading
+14 −28
Original line number Diff line number Diff line
@@ -6,30 +6,16 @@ good-names=i,
            e,
            ra,
            dec,
            tn, # Added from your astelco.py example
            ob, # Added from your sequencer example
            up, # If used
            fs, # If used
            fh, # If used
            gp, # If you were using gnuplotlib
            fd # Often used for file descriptors
            # Add any other short variable names you commonly and acceptably use
            tn, #  from  astelco.py 
            ob, #  from  sequencer.py
            gp, # from gnuplotlib

[MASTER]
# The init-hook is generally used to modify sys.path if pylint can't find your modules.
# If your project is structured as a standard Python package and you run pylint
# on the package (e.g., pylint noctua), this hook might not be strictly necessary
# for path reasons, but it doesn't hurt.
# It's more critical if you have complex import structures or run pylint on individual files
# from a different directory.
init-hook='
    import os, sys; 
    sys.path.insert(0, os.getcwd());
    from pylint.config import find_pylintrc; 
    sys.path.append(os.path.dirname(find_pylintrc()))
    '
    # Assuming .pylintrc is at the project root, and 'noctua' is a package in this root.
    # This adds the project root to sys.path, allowing pylint to find 'noctua'.



# To find modules when running pylint on the 'noctua' package, it's usually better to ensure
# your execution environment (like the CI job) has the current directory in PYTHONPATH
@@ -41,14 +27,14 @@ load-plugins=pylint.extensions.docparams, pylint.extensions.check_elif # Example
[MESSAGES CONTROL]
# Disable specific messages if needed, e.g.:
# disable=missing-module-docstring,missing-class-docstring,missing-function-docstring
disable=C0114, # Missing module docstring
         C0115, # Missing class docstring
         C0116, # Missing function docstring
         R0903, # Too few public methods
         R0913, # Too many arguments
         R0902, # Too many instance attributes (can be high in device classes)
         W0703, # Catching too general exception Exception (sometimes necessary in device comms)
         W0613  # Unused argument (common in callbacks/overrides)
#disable=C0114, # Missing module docstring
#         C0115, # Missing class docstring
#         C0116, # Missing function docstring
#         R0903, # Too few public methods
#         R0913, # Too many arguments
#         R0902, # Too many instance attributes (can be high in device classes)
#         W0703, # Catching too general exception Exception (sometimes necessary in device comms)
#         W0613  # Unused argument (common in callbacks/overrides)


[REPORTS]