55# only in one or another interpreter, leading to false positives when analysed.
66analyse-fallback-blocks =no
77
8+ # Clear in-memory caches upon conclusion of linting. Useful if running pylint
9+ # in a server-like mode.
10+ clear-cache-post-run =no
11+
812# Load and enable all available extensions. Use --list-extensions to see a list
913# all available extensions.
1014# enable-all-extensions=
@@ -46,9 +50,9 @@ ignore=CVS
4650
4751# Add files or directories matching the regular expressions patterns to the
4852# ignore-list. The regex matches against paths and can be in Posix or Windows
49- # format. Because '\' represents the directory delimiter on Windows systems, it
50- # can't be used as an escape character.
51- ignore-paths =
53+ # format. Because '\\ ' represents the directory delimiter on Windows systems,
54+ # it can't be used as an escape character.
55+ ignore-paths =.*/migrations
5256
5357# Files or directories matching the regular expression patterns are skipped.
5458# The regex matches against base names, not paths. The default value ignores
@@ -89,6 +93,12 @@ py-version=3.10
8993# Discover python modules and packages in the file system subtree.
9094recursive =no
9195
96+ # Add paths to the list of the source roots. Supports globbing patterns. The
97+ # source root is an absolute path or a path relative to the current working
98+ # directory used to determine a package namespace for modules located under the
99+ # source root.
100+ source-roots =
101+
92102# When enabled, pylint would attempt to guess common misconfiguration and emit
93103# user-friendly hints instead of false-positive error messages.
94104suggestion-mode =yes
@@ -224,6 +234,10 @@ no-docstring-rgx=^_
224234# These decorators are taken in consideration only for invalid-name.
225235property-classes =abc.abstractproperty
226236
237+ # Regular expression matching correct type alias names. If left empty, type
238+ # alias names will be checked with the set naming style.
239+ # typealias-rgx=
240+
227241# Regular expression matching correct type variable names. If left empty, type
228242# variable names will be checked with the set naming style.
229243# typevar-rgx=
@@ -246,21 +260,18 @@ check-protected-access-in-special-methods=no
246260defining-attr-methods =__init__,
247261 __new__,
248262 setUp,
263+ asyncSetUp,
249264 __post_init__
250265
251266# List of member names, which should be excluded from the protected access
252267# warning.
253- exclude-protected =_asdict,
254- _fields,
255- _replace,
256- _source,
257- _make
268+ exclude-protected =_asdict,_fields,_replace,_source,_make,os._exit
258269
259270# List of valid names for the first argument in a class method.
260271valid-classmethod-first-arg =cls
261272
262273# List of valid names for the first argument in a metaclass class method.
263- valid-metaclass-classmethod-first-arg =cls
274+ valid-metaclass-classmethod-first-arg =mcs
264275
265276
266277[DESIGN]
@@ -307,8 +318,7 @@ min-public-methods=2
307318[EXCEPTIONS]
308319
309320# Exceptions that will emit a warning when caught.
310- overgeneral-exceptions =BaseException,
311- Exception
321+ overgeneral-exceptions =builtins.BaseException,builtins.Exception
312322
313323
314324[FORMAT]
@@ -347,6 +357,9 @@ single-line-if-stmt=no
347357# one.
348358allow-any-import-level =
349359
360+ # Allow explicit reexports by alias from a package __init__.
361+ allow-reexport-from-package =no
362+
350363# Allow wildcard imports from modules that define __all__.
351364allow-wildcard-with-all =no
352365
@@ -416,14 +429,18 @@ disable=raw-checker-failed,
416429 useless-suppression,
417430 deprecated-pragma,
418431 use-symbolic-message-instead,
419- import-outside-toplevel
420-
432+ use-implicit-booleaness-not-comparison-to-string,
433+ use-implicit-booleaness-not-comparison-to-zero,
434+ missing-module-docstring,
435+ import-outside-toplevel,
436+ fixme
437+
421438
422439# Enable the message, report, category or checker with the given id(s). You can
423440# either give multiple identifier separated by comma (,) or put this option
424441# multiple time (only on the command line, not in the configuration file where
425442# it should appear only once). See also the "--disable" option for examples.
426- enable =c-extension-no-member
443+ enable =
427444
428445
429446[METHOD_ARGS]
@@ -469,8 +486,9 @@ evaluation=max(0, 0 if fatal else 10.0 - ((float(5 * error + warning + refactor
469486# used to format the message information. See doc for all details.
470487msg-template =
471488
472- # Set the output format. Available formats are text, parseable, colorized, json
473- # and msvs (visual studio). You can also give a reporter class, e.g.
489+ # Set the output format. Available formats are: text, parseable, colorized,
490+ # json2 (improved json format), json (old json format) and msvs (visual
491+ # studio). You can also give a reporter class, e.g.
474492# mypackage.mymodule.MyReporterClass.
475493# output-format=
476494
@@ -504,8 +522,8 @@ min-similarity-lines=4
504522# Limits count of emitted suggestions for spelling mistakes.
505523max-spelling-suggestions =4
506524
507- # Spelling dictionary name. Available dictionaries: none. To make it work,
508- # install the ' python-enchant' package.
525+ # Spelling dictionary name. No available dictionaries : You need to install
526+ # both the python package and the system dependency for enchant to work .
509527spelling-dict =
510528
511529# List of comma separated words that should be considered directives if they
@@ -622,4 +640,4 @@ redefining-builtins-modules=six.moves,past.builtins,future.builtins,builtins,io
622640
623641# pylint_django configuration
624642[pylint-django]
625- django-settings-module =django_starter .settings
643+ django-settings-module =backend .settings
0 commit comments