Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add azure pipeline for tests, and enforce black, flake8 and isort for commits #566

Merged
merged 7 commits into from
Oct 27, 2019
Prev Previous commit
Next Next commit
try 88 instead of 100 for max line length.
rytilahti committed Oct 27, 2019
commit 7e8cde277c84f304de7d9be7c5a3297beecbcbb4
6 changes: 3 additions & 3 deletions tox.ini
Original file line number Diff line number Diff line change
@@ -35,7 +35,7 @@ commands=flake8 miio

[flake8]
exclude = .git,.tox,__pycache__
max-line-length = 100
max-line-length = 88
select = C,E,F,W,B,B950
ignore = E501,W503,E203

@@ -48,7 +48,7 @@ multi_line_output=3
include_trailing_comma=True
force_grid_wrap=0
use_parentheses=True
line_length=100
line_length=88
known_first_party=miio
known_third_party=
appdirs
@@ -71,7 +71,7 @@ omit =
miio/extract_tokens.py
miio/tests/*
miio/version.py

[coverage:report]
exclude_lines =
def __repr__