Skip to content

Commit 436b287

Browse files
committed
stick to autopep8<1.7.0 with Python 2.7
1 parent c10f1e0 commit 436b287

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

requirements.txt

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,9 @@ GitPython==3.1.14; python_version >= '3.0' and python_version < '3.6'
88
GitPython; python_version >= '3.6' or python_version <= '3.0'
99

1010
# autopep8
11-
autopep8
11+
# stick to older autopep8 with Python 2.7, since autopep8 1.7.0 requires pycodestyle>=2.9.1 (which is Python 3 only)
12+
autopep8<1.7.0; python_version < '3.0'
13+
autopep8; python_version >= '3.0'
1214

1315
# PyYAML
1416
PyYAML

0 commit comments

Comments
 (0)