Pipfile 1.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748
  1. [[source]]
  2. url = "https://pypi.org/simple"
  3. verify_ssl = true
  4. name = "pypi"
  5. [packages]
  6. acpi-backlight = {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. # python3.10 compatibility
  18. # > File "[...]/lib/python3.10/site-packages/mypy/main.py", line 11, in <module>
  19. # > from typing_extensions import Final, NoReturn
  20. # > ModuleNotFoundError: No module named 'typing_extensions'
  21. typing-extensions = "*"
  22. # mypy on python<3.8
  23. typed-ast = {markers = "python_version < '3.8'"}
  24. # > File "[...]/lib/python3.10/site-packages/_pytest/_code/code.py", line 60, in <module>
  25. # > from exceptiongroup import BaseExceptionGroup
  26. # > ModuleNotFoundError: No module named 'exceptiongroup'
  27. exceptiongroup = {markers = "python_version < '3.11'"}
  28. # > File "[...]/lib/python3.10/site-packages/_pytest/config/findpaths.py", line 71, in load_config_dict_from_file
  29. # > import tomli as tomllib
  30. # > ModuleNotFoundError: No module named 'tomli'
  31. tomli = {markers = "python_version < '3.11'"}
  32. # > File "[...]/lib/python3.10/site-packages/astroid/decorators.py", line 16, in <module>
  33. # > import wrapt
  34. # > ModuleNotFoundError: No module named 'wrapt'
  35. wrapt = "*"
  36. # remove `"markers": "python_version >= '3.11'"` to workaround:
  37. # > File "[...]/lib/python3.7/site-packages/pylint/lint/parallel.py", line 13, in <module>
  38. # > import dill
  39. # > ModuleNotFoundError: No module named 'dill'
  40. dill = {markers = "python_version >= '0'"}
  41. [requires]
  42. python_version = "3"
  43. # Pipfile syntax: https://github.com/pypa/pipfile#pipfile