mirror of
https://github.com/google/styleguide.git
synced 2024-03-22 13:11:43 +08:00
Project import generated by Copybara.
PiperOrigin-RevId: 318489724
This commit is contained in:
parent
59def00435
commit
19518af929
18
pylintrc
18
pylintrc
|
@ -56,7 +56,10 @@ confidence=
|
||||||
# --enable=similarities". If you want to run only the classes checker, but have
|
# --enable=similarities". If you want to run only the classes checker, but have
|
||||||
# no Warning level messages displayed, use"--disable=all --enable=classes
|
# no Warning level messages displayed, use"--disable=all --enable=classes
|
||||||
# --disable=W"
|
# --disable=W"
|
||||||
disable=apply-builtin,
|
disable=abstract-method,
|
||||||
|
apply-builtin,
|
||||||
|
arguments-differ,
|
||||||
|
attribute-defined-outside-init,
|
||||||
backtick,
|
backtick,
|
||||||
bad-option-value,
|
bad-option-value,
|
||||||
basestring-builtin,
|
basestring-builtin,
|
||||||
|
@ -90,6 +93,7 @@ disable=apply-builtin,
|
||||||
long-suffix,
|
long-suffix,
|
||||||
map-builtin-not-iterating,
|
map-builtin-not-iterating,
|
||||||
metaclass-assignment,
|
metaclass-assignment,
|
||||||
|
missing-function-docstring,
|
||||||
next-method-called,
|
next-method-called,
|
||||||
next-method-defined,
|
next-method-defined,
|
||||||
no-absolute-import,
|
no-absolute-import,
|
||||||
|
@ -98,6 +102,7 @@ disable=apply-builtin,
|
||||||
no-else-raise,
|
no-else-raise,
|
||||||
no-else-return,
|
no-else-return,
|
||||||
no-member,
|
no-member,
|
||||||
|
no-name-in-module,
|
||||||
no-self-use,
|
no-self-use,
|
||||||
nonzero-method,
|
nonzero-method,
|
||||||
oct-method,
|
oct-method,
|
||||||
|
@ -135,8 +140,10 @@ disable=apply-builtin,
|
||||||
unicode-builtin,
|
unicode-builtin,
|
||||||
unpacking-in-except,
|
unpacking-in-except,
|
||||||
useless-else-on-loop,
|
useless-else-on-loop,
|
||||||
|
useless-object-inheritance,
|
||||||
useless-suppression,
|
useless-suppression,
|
||||||
using-cmp-argument,
|
using-cmp-argument,
|
||||||
|
wrong-import-order,
|
||||||
xrange-builtin,
|
xrange-builtin,
|
||||||
zip-builtin-not-iterating,
|
zip-builtin-not-iterating,
|
||||||
|
|
||||||
|
@ -300,6 +307,13 @@ expected-line-ending-format=
|
||||||
notes=TODO
|
notes=TODO
|
||||||
|
|
||||||
|
|
||||||
|
[STRING]
|
||||||
|
|
||||||
|
# This flag controls whether inconsistent-quotes generates a warning when the
|
||||||
|
# character used as a quote delimiter is used inconsistently within a module.
|
||||||
|
check-quote-consistency=yes
|
||||||
|
|
||||||
|
|
||||||
[VARIABLES]
|
[VARIABLES]
|
||||||
|
|
||||||
# Tells whether we should check for unused import in __init__ files.
|
# Tells whether we should check for unused import in __init__ files.
|
||||||
|
@ -326,7 +340,7 @@ redefining-builtins-modules=six,six.moves,past.builtins,future.builtins,functool
|
||||||
|
|
||||||
# Logging modules to check that the string format arguments are in logging
|
# Logging modules to check that the string format arguments are in logging
|
||||||
# function parameter format
|
# function parameter format
|
||||||
logging-modules=logging,absl.logging,tensorflow.google.logging
|
logging-modules=logging,absl.logging,tensorflow.io.logging
|
||||||
|
|
||||||
|
|
||||||
[SIMILARITIES]
|
[SIMILARITIES]
|
||||||
|
|
Loading…
Reference in New Issue
Block a user