Skip to content

Commit 12235d7

Browse files
committed
Add black and mypy to requirements.txt
They are conditional on cpython because currently neither tool can be installed in a pypy environment. psf/black#727 python/typed_ast#111
1 parent affc964 commit 12235d7

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

.github/workflows/ci.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ jobs:
9191
- name: Install dependencies
9292
run: |
9393
python -m pip install -U pip
94-
python -m pip install -e . -r requirements.txt black mypy
94+
python -m pip install -e . -r requirements.txt
9595
- name: Lint
9696
run: |
9797
make lint

requirements.txt

+2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
1+
black >= 19.10b0; implementation_name == "cpython"
12
flake8
23
isort
4+
mypy >= 0.770; implementation_name == "cpython"
35
pytest
46
pytest-cov
57
setuptools_scm

0 commit comments

Comments
 (0)