Skip to content

Commit

Permalink
feat: use linter for code-annotations
Browse files Browse the repository at this point in the history
  • Loading branch information
mariajgrimaldi committed Jan 16, 2025
1 parent 2b057ed commit 05405db
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 7 deletions.
7 changes: 4 additions & 3 deletions pylintrc
Original file line number Diff line number Diff line change
Expand Up @@ -64,12 +64,12 @@
# SERIOUSLY.
#
# ------------------------------
# Generated by edx-lint version: 5.2.5
# Generated by edx-lint version: 5.4.1
# ------------------------------
[MASTER]
ignore = migrations
persistent = yes
load-plugins = edx_lint.pylint,pylint_celery
load-plugins = edx_lint.pylint,pylint_celery,edx_lint.pylint.events_annotation

[MESSAGES CONTROL]
enable =
Expand Down Expand Up @@ -259,6 +259,7 @@ enable =
useless-suppression,
disable =
bad-indentation,
broad-exception-raised,
consider-using-f-string,
duplicate-code,
file-ignored,
Expand Down Expand Up @@ -382,4 +383,4 @@ int-import-graph =
[EXCEPTIONS]
overgeneral-exceptions = builtins.Exception

# afac0308552b9baa632c39eb574d26e9725303f1
# a20a411e307864943283615476b1b9d33d731e3a
2 changes: 1 addition & 1 deletion pylintrc_tweaks
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# pylintrc tweaks for use with edx_lint.
[MASTER]
ignore = migrations
load-plugins = edx_lint.pylint,pylint_celery
load-plugins = edx_lint.pylint,pylint_celery,edx_lint.pylint.events_annotation
2 changes: 1 addition & 1 deletion requirements/dev.txt
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ edx-ccx-keys==2.0.2
# via -r requirements/quality.txt
edx-django-utils==7.1.0
# via -r requirements/quality.txt
edx-lint==5.4.1
edx-lint @ git+https://github.com/eduNEXT/edx-lint.git@MJG/events-code-annotations
# via -r requirements/quality.txt
edx-opaque-keys[django]==2.11.0
# via
Expand Down
2 changes: 1 addition & 1 deletion requirements/quality.in
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

-r test.txt # Core and testing dependencies for this package

edx-lint # edX pylint rules and plugins
git+https://github.com/eduNEXT/edx-lint.git@MJG/events-code-annotations # edX pylint rules and plugins
isort # to standardize order of imports
pycodestyle # PEP 8 compliance validation
pydocstyle # PEP 257 compliance validation
Expand Down
2 changes: 1 addition & 1 deletion requirements/quality.txt
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ edx-ccx-keys==2.0.2
# via -r requirements/test.txt
edx-django-utils==7.1.0
# via -r requirements/test.txt
edx-lint==5.4.1
edx-lint @ git+https://github.com/eduNEXT/edx-lint.git@MJG/events-code-annotations
# via -r requirements/quality.in
edx-opaque-keys[django]==2.11.0
# via
Expand Down

0 comments on commit 05405db

Please sign in to comment.