flinventory-gui/.pylintrc

22 lines
1.2 KiB
INI

[tool.pylint.main]
# Add files or directories matching the regular expressions patterns to the
# ignore-list. The regex matches against paths and can be in Posix or Windows
# format. Because '\\' represents the directory delimiter on Windows systems, it
# can't be used as an escape character.
# Unfortunately this does not what I expect. I get errors from the submodule.
ignore-paths = 'flinventoryGUI/flinventory/.*'
# List of module names for which member attributes should not be checked and will
# not be imported (useful for modules/projects where namespaces are manipulated
# during runtime and thus existing member attributes cannot be deduced by static
# analysis). It supports qualified module names, as well as Unix pattern
# matching.
ignored-modules=flinventoryGUI.flinventory.part
# When enabled, pylint would attempt to guess common misconfiguration and emit
# user-friendly hints instead of false-positive error messages.
suggestion-mode = true
[MESSAGES CONTROL]
# dublicate-code happens because of symlinking files and the disability of pylint to ignore flinventory submodule
disable=logging-format-interpolation,logging-not-lazy,logging-fstring-interpolation,duplicate-code