aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--pylint.toml12
-rw-r--r--tox.ini2
2 files changed, 12 insertions, 2 deletions
diff --git a/pylint.toml b/pylint.toml
index 3f011cb..b6dbaef 100644
--- a/pylint.toml
+++ b/pylint.toml
@@ -345,7 +345,17 @@ confidence = ["HIGH", "CONTROL_FLOW", "INFERENCE", "INFERENCE_FAILURE", "UNDEFIN
# --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", "locally-disabled", "file-ignored", "suppressed-message", "useless-suppression", "deprecated-pragma", "use-symbolic-message-instead"]
+disable = [
+ "raw-checker-failed",
+ "bad-inline-option",
+ "locally-disabled",
+ "file-ignored",
+ "suppressed-message",
+ "useless-suppression",
+ "deprecated-pragma",
+ "use-symbolic-message-instead",
+ "unnecessary-lambda-assignment",
+]
# 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
diff --git a/tox.ini b/tox.ini
index d922d4b..4c0e38e 100644
--- a/tox.ini
+++ b/tox.ini
@@ -1,7 +1,7 @@
[flake8]
max-line-length = 100
exclude = fietsboek/alembic
-extend-ignore = E203
+extend-ignore = E203 E731
per-file-ignores =
fietsboek/models/__init__.py:F401