Skip to content

Commit 9102529

Browse files
committed
Fix missing astpretty dependency
Running the following in a clean virtualenv: ``` pip install flake8 flake8-expression-complexity flake8 ``` Results in an error like the following: ``` File ".../lib/python3.6/site-packages/flake8_expression_complexity/utils/complexity.py", line 5, in <module> from astpretty import pprint ModuleNotFoundError: No module named 'astpretty' ``` This change adds `astpretty` and `flake8` as requirements for this package, fixing this error.
1 parent 2aad586 commit 9102529

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ def get_long_description() -> str:
4444
version=get_version(),
4545
author='Ilya Lebedev',
4646
author_email='[email protected]',
47-
install_requires=['setuptools'],
47+
install_requires=['astpretty', 'flake8', 'setuptools'],
4848
entry_points={
4949
'flake8.extension': [
5050
'ECE = flake8_expression_complexity.checker:ExpressionComplexityChecker',

0 commit comments

Comments
 (0)