diff --git a/linting-config-examples/.pylintrc b/linting-config-examples/.pylintrc index 5b4fb12..5ec3244 100644 --- a/linting-config-examples/.pylintrc +++ b/linting-config-examples/.pylintrc @@ -26,6 +26,9 @@ disable= missing-module-docstring, ; we use the GRASS GIS header R, ; refactoring + design recommendations +[BASIC] +# for global variable setting +good-names=keep_data,download_dir,gisdbase,tgtgisrc,tmploc,srcgisrc [BROAD_TRY_CLAUSE] max-try-statements=4 # Default: 1 @@ -35,5 +38,9 @@ max-line-length=80 # Default: 100 max-module-lines=800 # Default: 1000 ignore-long-lines=.*COPYRIGHT:.* |# . description:.*|\s*(# )?.*http.:\/\/\S+?|# %%* +[MESSAGES CONTROL] +# E0606 (possibly-used-before-assignment): to set options and flags at the button of the file +disable=E0606 + [VARIABLES] additional-builtins=_ # Default: () diff --git a/linting-config-examples/.pylintrc_allowed_to_fail b/linting-config-examples/.pylintrc_allowed_to_fail index 43fbe52..589f91d 100644 --- a/linting-config-examples/.pylintrc_allowed_to_fail +++ b/linting-config-examples/.pylintrc_allowed_to_fail @@ -14,6 +14,9 @@ recursive=yes # Default: False # score=no # Default: True +[BASIC] +# for global variable setting +good-names=keep_data,download_dir,gisdbase,tgtgisrc,tmploc,srcgisrc [BROAD_TRY_CLAUSE] max-try-statements=4 # Default: 1 @@ -23,6 +26,10 @@ max-line-length=80 # Default: 100 max-module-lines=800 # Default: 1000 ignore-long-lines=.*COPYRIGHT:.* |# . description:.*|\s*(# )?.*http.:\/\/\S+?|# %%* +[MESSAGES CONTROL] +# E0606 (possibly-used-before-assignment): to set options and flags at the button of the file +disable=E0606 + [VARIABLES] additional-builtins=_ # Default: ()