diff --git a/requirements.txt b/requirements.txt index 3e416110..a68d9c48 100644 --- a/requirements.txt +++ b/requirements.txt @@ -7,7 +7,7 @@ attrs==19.1.0 better-exceptions-fork==0.2.1.post6 black==19.10b0 bpylist2==2.0.3 -pycodestyle==2.3.1 +pycodestyle<2.6.0,>=2.5.0 certifi==2019.3.9 Click==7.0 colorama==0.4.1 diff --git a/setup.py b/setup.py index cc531a30..16f9becb 100755 --- a/setup.py +++ b/setup.py @@ -62,7 +62,7 @@ setup( "Topic :: Software Development :: Libraries :: Python Modules", ], install_requires=[ - "pycodestyle==2.3.1", # needed by bpylist==2.0.3 + "pycodestyle<2.6.0,>=2.5.0'", # needed by bpylist==2.0.3 "pyobjc>=6.0.1", "Click>=7", "PyYAML>=5.1.2",