1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2025-01-03 03:50:58 +00:00

travis: make sure stylecheck only runs on 3.6

This commit is contained in:
matejcik 2018-08-21 16:41:27 +02:00
parent 88b50ac2ff
commit f9824739ae
3 changed files with 3 additions and 2 deletions

View File

@ -41,7 +41,7 @@ before_script:
script: script:
- python setup.py install - python setup.py install
- make stylecheck - if [ $TRAVIS_PYTHON_VERSION == 3.6 ]; then make stylecheck; fi
- tox - tox
notifications: notifications:

View File

@ -5,5 +5,5 @@ mock>=2.0.0
flake8 flake8
protobuf protobuf
isort isort
black black; python_version >= "3.6"
autoflake autoflake

View File

@ -31,3 +31,4 @@ force_grid_wrap = 0
combine_as_imports = True combine_as_imports = True
line_length = 88 line_length = 88
not_skip=__init__.py not_skip=__init__.py
known_first_party=trezorlib