Skip to content

Commit

Permalink
Pin flake8 to >= 4.0.0 and < 5.0.0 (#272)
Browse files Browse the repository at this point in the history
  • Loading branch information
sjperkins authored Aug 2, 2022
1 parent 29c463c commit 4c29845
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions HISTORY.rst
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ History

X.Y.Z (YYYY-MM-DD)
------------------
* Pin flake8 to >= 4.0.0 and < 5.0.0 (:pr:`272`)
* Document Fused RIME (:pr:`270`)
* Add Multiton, LazyProxy and LazyProxyMultiton patterns (:pr:`269`)

Expand Down
3 changes: 2 additions & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,10 +31,11 @@
"astropy": ["astropy >= 4.0"],
"python-casacore": ["python-casacore >= 3.4.0"],
"ducc0": ["ducc0 >= 0.9.0"],
"testing": ["pytest", "flaky", "pytest-flake8 >= 1.0.6"],
"testing": ["pytest", "flaky", "pytest-flake8 >= 1.0.6", "flake8 >= 4.0.0, < 5.0.0"],
}

with open(str(Path("africanus", "install", "extras_require.py")), "w") as f:
f.write("# flake8: noqa")
f.write("extras_require = {\n")
for k, v in extras_require.items():
f.write(" '%s': %s,\n" % (k, v))
Expand Down

0 comments on commit 4c29845

Please sign in to comment.