diff options
author | Guangxiong Lin <[email protected]> | 2023-04-11 23:35:21 +0800 |
---|---|---|
committer | Guangxiong Lin <[email protected]> | 2023-04-11 23:35:21 +0800 |
commit | c6920d0415ee5e1d952ff41392518f12073d1694 (patch) | |
tree | 22f6783912f092e3e1c78a17cfe9ce24369abcc8 | |
parent | 4fe62b316f00c26fcefba89e9b0720b71682c9ef (diff) | |
download | dotfiles-c6920d0415ee5e1d952ff41392518f12073d1694.tar.gz dotfiles-c6920d0415ee5e1d952ff41392518f12073d1694.tar.bz2 dotfiles-c6920d0415ee5e1d952ff41392518f12073d1694.zip |
Update pylintrc
-rw-r--r-- | .pylintrc | 105 |
1 files changed, 95 insertions, 10 deletions
@@ -67,7 +67,7 @@ ignored-modules= # Python code to execute, usually for sys.path manipulation such as # pygtk.require(). -init-hook="from pylint.config import find_pylintrc; import os, sys; sys.path.append(os.path.dirname(find_pylintrc())); sys.path.append('.')" +# init-hook= # Use multiple processes to speed up Pylint. Specifying 0 will auto-detect the # number of processors available to use, and will cap the count on Windows to @@ -421,20 +421,105 @@ confidence=HIGH, # --enable=similarities". If you want to run only the classes checker, but have # no Warning level messages displayed, use "--disable=all --enable=classes # --disable=W". -disable=raw-checker-failed, - bad-inline-option, +disable=abstract-method, + apply-builtin, + arguments-differ, + attribute-defined-outside-init, + backtick, + bad-option-value, + basestring-builtin, + buffer-builtin, + c-extension-no-member, + consider-using-enumerate, + consider-using-f-string, + cmp-builtin, + cmp-method, + coerce-builtin, + coerce-method, + delslice-method, + div-method, + duplicate-code, + eq-without-hash, + execfile-builtin, + file-builtin, + filter-builtin-not-iterating, + fixme, + getslice-method, + global-statement, + hex-method, + idiv-method, + implicit-str-concat, + import-error, + import-self, + import-star-module-level, + inconsistent-return-statements, + input-builtin, + intern-builtin, + invalid-str-codec, locally-disabled, - file-ignored, - suppressed-message, - useless-suppression, - deprecated-pragma, - use-symbolic-message-instead, + long-builtin, + long-suffix, + map-builtin-not-iterating, + misplaced-comparison-constant, missing-class-docstring, missing-function-docstring, missing-module-docstring, - consider-using-f-string, + metaclass-assignment, + next-method-called, + next-method-defined, + no-absolute-import, + no-else-break, + no-else-continue, + no-else-raise, + no-else-return, + no-init, # added + no-member, + no-name-in-module, + no-self-use, + nonzero-method, + oct-method, + old-division, + old-ne-operator, + old-octal-literal, + old-raise-syntax, + parameter-unpacking, + print-statement, + raising-string, + range-builtin-not-iterating, + raw_input-builtin, + rdiv-method, + reduce-builtin, + relative-import, + reload-builtin, + round-builtin, + setslice-method, + signature-differs, + standarderror-builtin, + suppressed-message, + sys-max-int, too-few-public-methods, - too-many-public-methods + too-many-ancestors, + too-many-arguments, + too-many-boolean-expressions, + too-many-branches, + too-many-instance-attributes, + too-many-locals, + too-many-nested-blocks, + too-many-public-methods, + too-many-return-statements, + too-many-statements, + trailing-newlines, + unichr-builtin, + unicode-builtin, + unnecessary-pass, + unpacking-in-except, + useless-else-on-loop, + useless-object-inheritance, + useless-suppression, + using-cmp-argument, + wrong-import-order, + xrange-builtin, + zip-builtin-not-iterating, # Enable the message, report, category or checker with the given id(s). You can # either give multiple identifier separated by comma (,) or put this option |