Commit 1f08a736 by Bjorn Neergaard

ci: add flake8-broken-line and flake8-tidy-imports

parent 229bb817
......@@ -31,11 +31,13 @@ repos:
hooks:
- id: yesqa
additional_dependencies: &flake8_deps
- flake8-broken-line==0.4.0
- flake8-bugbear==21.9.2
- flake8-comprehensions==3.7.0
- flake8-no-pep420==1.2.0
- flake8-typing-imports==1.11.0
- flake8-quotes==3.3.1
- flake8-tidy-imports==4.5.0
- flake8-typing-imports==1.11.0
- repo: https://github.com/pycqa/isort
rev: 5.10.1
......
......@@ -10,8 +10,7 @@ def test_dependency_does_not_match_root_python_constraint(root, provider, repo):
add_to_repo(repo, "foo", "1.0.0", python="<3.5")
error = """The current project's Python requirement (>=3.6,<4.0) \
is not compatible with some of the required packages Python requirement:
error = """The current project's Python requirement (>=3.6,<4.0) is not compatible with some of the required packages Python requirement:
- foo requires Python <3.5, so it will not be satisfied for Python >=3.6,<4.0
Because no versions of foo match !=1.0.0
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment