From 92edc17522d7490544c7186d62a2964caf35c861 Mon Sep 17 00:00:00 2001 From: Miguel Grinberg Date: Sat, 27 Apr 2019 09:37:53 +0100 Subject: [PATCH] flake8 --- .flake8 | 3 +++ microdot.py | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) create mode 100644 .flake8 diff --git a/.flake8 b/.flake8 new file mode 100644 index 0000000..9c37432 --- /dev/null +++ b/.flake8 @@ -0,0 +1,3 @@ +[flake8] +select = C,E,F,W,B,B950 +per-file-ignores = ./*/__init__.py:F401 diff --git a/microdot.py b/microdot.py index a94b85f..bdb8245 100644 --- a/microdot.py +++ b/microdot.py @@ -253,7 +253,7 @@ def match(self, path): class Microdot(): - def __init__(self) : + def __init__(self): self.url_map = [] self.error_handlers = {}