Pipfile 1.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243
  1. [[source]]
  2. url = "https://pypi.org/simple"
  3. verify_ssl = true
  4. name = "pypi"
  5. [packages]
  6. switchbot-mqtt = {editable = true, path = "."}
  7. [dev-packages]
  8. black = "*"
  9. mypy = "*"
  10. pylint = "*"
  11. pylint-import-requirements = "*"
  12. pytest = "*"
  13. pytest-cov = "*"
  14. # python3.7 compatibility
  15. # https://github.com/PyCQA/isort/commit/47cedf3583f338e8ce9c906fc95c9fee6c57404d
  16. isort = "<5.12"
  17. # mypy on python<3.8
  18. typed-ast = {markers = "python_version < '3.8'"}
  19. # > File "[...]/lib/python3.10/site-packages/_pytest/_code/code.py", line 60, in <module>
  20. # > from exceptiongroup import BaseExceptionGroup
  21. # > ModuleNotFoundError: No module named 'exceptiongroup'
  22. exceptiongroup = {markers = "python_version < '3.11'"}
  23. # > File "[...]/lib/python3.10/site-packages/_pytest/config/findpaths.py", line 71, in load_config_dict_from_file
  24. # > import tomli as tomllib
  25. # > ModuleNotFoundError: No module named 'tomli'
  26. tomli = {markers = "python_version < '3.11'"}
  27. # > File "[...]/lib/python3.10/site-packages/astroid/decorators.py", line 16, in <module>
  28. # > import wrapt
  29. # > ModuleNotFoundError: No module named 'wrapt'
  30. wrapt = "*"
  31. # remove `"markers": "python_version >= '3.11'"` to workaround:
  32. # > File "[...]/lib/python3.7/site-packages/pylint/lint/parallel.py", line 13, in <module>
  33. # > import dill
  34. # > ModuleNotFoundError: No module named 'dill'
  35. dill = {markers = "python_version >= '0'"}
  36. [requires]
  37. python_version = "3"
  38. # Pipfile syntax: https://github.com/pypa/pipfile#pipfile