Skip to content
This repository was archived by the owner on Feb 20, 2026. It is now read-only.

Commit 7c305fd

Browse files
committed
Fix ci for python < 3.6
1 parent 4bbadf5 commit 7c305fd

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

ci.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
set -x
22
set -e
33

4-
black --check .
4+
which black && black --check .
55
MYPYPATH=stubs mypy --ignore-missing-imports --strict cli_ui
66
pyflakes cli_ui/__init__.py cli_ui/tests/test_cli_ui.py
77
pytest

requirements.lock

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ appdirs==1.4.3
44
atomicwrites==1.2.1
55
attrs==18.2.0
66
Babel==2.6.0
7-
black==18.9b0
7+
black==18.9b0 ; python_version >= "3.6"
88
bleach==3.0.2
99
certifi==2018.11.29
1010
chardet==3.0.4

0 commit comments

Comments
 (0)