Skip to content

Commit

Permalink
CI: Tweaks to pylintrc
Browse files Browse the repository at this point in the history
  • Loading branch information
chennes authored and donovaly committed Feb 13, 2023
1 parent 50fb6d6 commit 3937a74
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions .pylintrc
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
# Analyse import fallback blocks. This can be used to support both Python 2 and
# 3 compatible code, which means that the block might have code that exists
# only in one or another interpreter, leading to false positives when analysed.
analyse-fallback-blocks=no
analyse-fallback-blocks=yes

# Load and enable all available extensions. Use --list-extensions to see a list
# all available extensions.
Expand Down Expand Up @@ -57,7 +57,7 @@ ignore-patterns=^\.#
# (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=
ignored-modules=FreeCAD,FreeCADGui

# Python code to execute, usually for sys.path manipulation such as
# pygtk.require().
Expand All @@ -82,7 +82,7 @@ persistent=yes

# Minimum Python version to use for version dependent checks. Will default to
# the version used to run pylint.
py-version=3.10
py-version=3.8

# Discover python modules and packages in the file system subtree.
recursive=no
Expand Down Expand Up @@ -352,7 +352,7 @@ ignored-parents=
max-args=5

# Maximum number of attributes for a class (see R0902).
max-attributes=7
max-attributes=15

# Maximum number of boolean expressions in an if statement (see R0916).
max-bool-expr=5
Expand All @@ -376,14 +376,14 @@ max-returns=6
max-statements=50

# Minimum number of public methods for a class (see R0903).
min-public-methods=2
min-public-methods=1


[EXCEPTIONS]

# Exceptions that will emit a warning when caught.
overgeneral-exceptions=BaseException,
Exception
overgeneral-exceptions=builtins.BaseException,
builtins.Exception


[FORMAT]
Expand Down Expand Up @@ -426,7 +426,7 @@ allow-any-import-level=
allow-wildcard-with-all=no

# Deprecated modules which should not be used, separated by a comma.
deprecated-modules=
deprecated-modules=PySide2

# Output a graph (.gv or any supported image format) of external dependencies
# to the given file (report RP0402 must not be disabled).
Expand Down

0 comments on commit 3937a74

Please sign in to comment.