Skip to content

Commit

Permalink
chore: Update pylint configuration for Django project compatibility
Browse files Browse the repository at this point in the history
- Configured django-settings-module to point to the project settings for proper integration with pylint-django.
- Addressed compatibility with the newer pylint version, which enforces a limit of 5 positional arguments by default. Added too-many-positional-arguments to the ignore list to accommodate functions exceeding this limit.
  • Loading branch information
Ali-Salman29 committed Jan 23, 2025
1 parent 7a48686 commit d47ea57
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions pylintrc
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,7 @@
ignore =
persistent = yes
load-plugins = edx_lint.pylint,pylint_django,pylint_celery
django-settings-module=edxsearch.settings

[MESSAGES CONTROL]
enable =
Expand Down Expand Up @@ -278,6 +279,7 @@ disable =
too-many-locals,
too-many-public-methods,
too-many-return-statements,
too-many-positional-arguments,
ungrouped-imports,
unspecified-encoding,
unused-wildcard-import,
Expand Down

0 comments on commit d47ea57

Please sign in to comment.