Skip to content

Commit

Permalink
requirements-style: Add flake8-isort and flake8-print
Browse files Browse the repository at this point in the history
Make sure that imports are correctly sorted and that there is no
debugging print statements committed.
  • Loading branch information
suutari-ai committed Jan 26, 2018
1 parent 7c05a3d commit 53ac96b
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 3 deletions.
2 changes: 2 additions & 0 deletions requirements-style.in
Original file line number Diff line number Diff line change
@@ -1 +1,3 @@
flake8
flake8-isort
flake8-print
8 changes: 7 additions & 1 deletion requirements-style.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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
4 changes: 2 additions & 2 deletions setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 53ac96b

Please sign in to comment.