Skip to content

Commit

Permalink
改善 GitHub Actions 執行 Build 作業,會出現 pylint 無法通過的問題。
Browse files Browse the repository at this point in the history
  • Loading branch information
AlanJui committed Sep 7, 2024
1 parent 4cee9fd commit 3a80564
Show file tree
Hide file tree
Showing 2 changed files with 30 additions and 30 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/pylint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,4 +20,4 @@ jobs:
pip install pylint
- name: Analysing the code with pylint
run: |
pylint --disable=all --enable=F,E $(git ls-files '*.py')
pylint $(git ls-files '*.py')
58 changes: 29 additions & 29 deletions .pylintrc
Original file line number Diff line number Diff line change
Expand Up @@ -25,35 +25,35 @@ ignore=tests.py, urls.py, migrations
# E501(flake8): line too long ( > 79 characters )
# disable=C0111,I0011,I0012,W0704,W0142,W0212,W0232,W0613,W0702,R0201,C1001,C0103,R0901,E501
#
# disable=all
# enable=F,E
disable=raw-checker-failed,
bad-inline-option,
locally-disabled,
file-ignored,
suppressed-message,
useless-suppression,
deprecated-pragma,
use-symbolic-message-instead,
too-many-instance-attributes,
len-as-condition,
too-few-public-methods,
anomalous-backslash-in-string,
no-else-return,
simplifiable-if-statement,
too-many-arguments,
duplicate-code,
no-name-in-module,
no-member,
import-error,
missing-module-docstring,
missing-docstring,
invalid-name,
redefined-outer-name,
bare-except,
unknown-option-value,
unused-variable,
consider-using-enumerate
disable=all
enable=F,E
; disable=raw-checker-failed,
; bad-inline-option,
; locally-disabled,
; file-ignored,
; suppressed-message,
; useless-suppression,
; deprecated-pragma,
; use-symbolic-message-instead,
; too-many-instance-attributes,
; len-as-condition,
; too-few-public-methods,
; anomalous-backslash-in-string,
; no-else-return,
; simplifiable-if-statement,
; too-many-arguments,
; duplicate-code,
; no-name-in-module,
; no-member,
; import-error,
; missing-module-docstring,
; missing-docstring,
; invalid-name,
; redefined-outer-name,
; bare-except,
; unknown-option-value,
; unused-variable,
; consider-using-enumerate


[REPORTS]
Expand Down

0 comments on commit 3a80564

Please sign in to comment.