summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKévin Le Gouguec <kevin.legouguec@gmail.com>2021-04-11 18:40:39 +0200
committerKévin Le Gouguec <kevin.legouguec@gmail.com>2021-04-11 18:43:55 +0200
commit21e96cb6c4b678bff9d8345220bfe19054395c73 (patch)
tree577fb05bf6f1b6e6ab1aafc1b0ef3abb1686c775
parent173cc8eb16ac1b3c075aa881813bf8a068467c76 (diff)
downloaddotfiles-21e96cb6c4b678bff9d8345220bfe19054395c73.tar.xz
Disable some warnings from Python linters
-rw-r--r--.config/flake86
-rw-r--r--.config/pylintrc6
2 files changed, 12 insertions, 0 deletions
diff --git a/.config/flake8 b/.config/flake8
new file mode 100644
index 0000000..94b8d9e
--- /dev/null
+++ b/.config/flake8
@@ -0,0 +1,6 @@
+[flake8]
+ignore =
+ # I hate long lines as much as the next person, but sometimes they happen.
+ E501,
+ # 'l' is perfectly unambiguous in a comprehension…
+ E741
diff --git a/.config/pylintrc b/.config/pylintrc
new file mode 100644
index 0000000..974b169
--- /dev/null
+++ b/.config/pylintrc
@@ -0,0 +1,6 @@
+[MESSAGES CONTROL]
+disable=invalid-name,
+ line-too-long,
+ missing-class-docstring,
+ missing-function-docstring,
+ missing-module-docstring