Skip to content

Commit

Permalink
dev env: add upper version constraint for isort to keep compatibility…
Browse files Browse the repository at this point in the history
  • Loading branch information
fphammerle committed Feb 3, 2023
1 parent 20812fa commit 84f192d
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 6 deletions.
5 changes: 4 additions & 1 deletion Pipfile
Expand Up @@ -4,7 +4,7 @@ verify_ssl = true
name = "pypi"

[packages]
switchbot-mqtt = {editable = true,path = "."}
switchbot-mqtt = {editable = true, path = "."}

[dev-packages]
black = "*"
Expand All @@ -14,6 +14,9 @@ pylint-import-requirements = "*"
pytest = "*"
pytest-cov = "*"

# python3.7 compatibility
# https://github.com/PyCQA/isort/commit/47cedf3583f338e8ce9c906fc95c9fee6c57404d
isort = "<5.12"
# mypy on python<3.8
typed-ast = {markers = "python_version < '3.8'"}
# > File "[...]/lib/python3.10/site-packages/_pytest/_code/code.py", line 60, in <module>
Expand Down
10 changes: 5 additions & 5 deletions Pipfile.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 84f192d

Please sign in to comment.