From 53ac96b11170627976e3e3656d12933b76eeb274 Mon Sep 17 00:00:00 2001
From: Tuomas Suutari <tuomas.suutari@anders.fi>
Date: Fri, 26 Jan 2018 11:29:31 +0200
Subject: [PATCH] requirements-style: Add flake8-isort and flake8-print

Make sure that imports are correctly sorted and that there is no
debugging print statements committed.
---
 requirements-style.in  | 2 ++
 requirements-style.txt | 8 +++++++-
 setup.cfg              | 4 ++--
 3 files changed, 11 insertions(+), 3 deletions(-)

diff --git a/requirements-style.in b/requirements-style.in
index 39304807..f9084250 100644
--- a/requirements-style.in
+++ b/requirements-style.in
@@ -1 +1,3 @@
 flake8
+flake8-isort
+flake8-print
diff --git a/requirements-style.txt b/requirements-style.txt
index da70b1cf..647fbace 100644
--- a/requirements-style.txt
+++ b/requirements-style.txt
@@ -3,6 +3,12 @@
 #   prequ update
 #
 flake8==3.5.0
+flake8-isort==2.3
+flake8-polyfill==1.0.2    # via flake8-isort
+flake8-print==3.0.1
+isort==4.2.15             # via flake8-isort
 mccabe==0.6.1             # via flake8
-pycodestyle==2.3.1        # via flake8
+pycodestyle==2.3.1        # via flake8, flake8-print
 pyflakes==1.6.0           # via flake8
+six==1.11.0               # via flake8-print
+testfixtures==5.4.0       # via flake8-isort
diff --git a/setup.cfg b/setup.cfg
index eb04976a..98ac9b58 100644
--- a/setup.cfg
+++ b/setup.cfg
@@ -20,8 +20,8 @@ doctest_optionflags = NORMALIZE_WHITESPACE IGNORE_EXCEPTION_DETAIL ALLOW_UNICODE
 atomic=true
 combine_as_imports=false
 indent=4
-known_standard_library=token,tokenize,enum,importlib
-known_third_party=django,six
+default_section=THIRDPARTY
+known_first_party=parkkihubi,parkings
 length_sort=false
 line_length=120
 multi_line_output=5