Skip to content

Commit 34baff8

Browse files
committed
Run in virtualenv
1 parent 0b58257 commit 34baff8

File tree

2 files changed

+7
-3
lines changed

2 files changed

+7
-3
lines changed

.circleci/config.yml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,9 @@ jobs:
1010
python3 -m venv ~/venv
1111
. ~/venv/bin/activate
1212
pip install -e .[dev]
13-
- run: make lint
13+
- run: |
14+
. ~/venv/bin/activate
15+
make lint
1416
1517
test:
1618
working_directory: ~/project
@@ -22,7 +24,9 @@ jobs:
2224
python3 -m venv ~/venv
2325
. ~/venv/bin/activate
2426
pip install -e .[dev]
25-
- run: make test
27+
- run: |
28+
. ~/venv/bin/activate
29+
make test
2630
2731
workflows:
2832
version: 2

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
author_email="[email protected]",
1515
packages=find_packages(exclude=["tests"]),
1616
install_requires=["python-language-server", "black", "toml"],
17-
extras_require={"dev": ["isort", "flake8", "pytest"]},
17+
extras_require={"dev": ["isort", "flake8", "pytest", "mypy", "pytest"]},
1818
entry_points={"pyls": ["pyls_black = pyls_black.plugin"]},
1919
classifiers=(
2020
"Programming Language :: Python :: 3",

0 commit comments

Comments
 (0)