aboutsummaryrefslogtreecommitdiff
path: root/.pylintrc
diff options
context:
space:
mode:
authorDylan Baker <dylan@pnwbakers.com>2021-08-31 09:32:56 -0700
committerEli Schwartz <eschwartz93@gmail.com>2021-08-31 16:28:54 -0400
commit1fc3d8608d9d278c9faf8ccf6aecf33cc7e92c26 (patch)
tree069011f64920721a71446c479ff8b8955bd7c6b7 /.pylintrc
parent9e61b4fe99fad66c9dc7484ab62c34a75dec5b60 (diff)
downloadmeson-1fc3d8608d9d278c9faf8ccf6aecf33cc7e92c26.zip
meson-1fc3d8608d9d278c9faf8ccf6aecf33cc7e92c26.tar.gz
meson-1fc3d8608d9d278c9faf8ccf6aecf33cc7e92c26.tar.bz2
pylint: enable unnecessary-not check
This finds things like ```python if not x == 1: ``` which should be ```python if x != 1: ```
Diffstat (limited to '.pylintrc')
-rw-r--r--.pylintrc5
1 files changed, 3 insertions, 2 deletions
diff --git a/.pylintrc b/.pylintrc
index bfa6d2f..31ac925 100644
--- a/.pylintrc
+++ b/.pylintrc
@@ -10,6 +10,7 @@ enable=
abstract-class-instantiated,
assert-on-tuple,
bad-indentation,
+ bare-except,
compare-to-zero,
dangerous-default-value,
deprecated-lambda,
@@ -22,5 +23,5 @@ enable=
singleton-comparison,
too-many-function-args,
unexpected-keyword-arg,
- unreachable,
- bare-except
+ unneeded-not,
+ unreachable