Browse Source

fix black: workaround pipenv unexpectedly adding marker "python_version < '3.8'"

https://github.com/fphammerle/switchbot-mqtt/pull/7/checks?check_run_id=784220574#step:7:11
Fabian Peter Hammerle 3 years ago
parent
commit
d222cbe64e
2 changed files with 4 additions and 2 deletions
  1. 2 0
      Pipfile
  2. 2 2
      Pipfile.lock

+ 2 - 0
Pipfile

@@ -25,6 +25,8 @@ pathlib2 = {version = "*", markers="python_version < '3.6'"}
 # python3.8 compatibility
 # workaround https://github.com/WanzenBug/pylint-import-requirements/issues/17
 importlib-metadata = "*"
+# workaround pipenv unexpectedly adding marker "python_version < '3.8'"
+typed-ast = "*"
 
 [requires]
 python_version = "3"

+ 2 - 2
Pipfile.lock

@@ -1,7 +1,7 @@
 {
     "_meta": {
         "hash": {
-            "sha256": "434215627faf07abdfe5fa8f157dd6a417ebbddc87b6200c15fd38e1643c198b"
+            "sha256": "0aa6286b8436c819681eb7a32676e5163af9a562d2340a69854743d51089c421"
         },
         "pipfile-spec": 6,
         "requires": {
@@ -335,7 +335,7 @@
                 "sha256:fc0fea399acb12edbf8a628ba8d2312f583bdbdb3335635db062fa98cf71fca4",
                 "sha256:fe460b922ec15dd205595c9b5b99e2f056fd98ae8f9f56b888e7a17dc2b757e7"
             ],
-            "markers": "implementation_name == 'cpython' and python_version < '3.8'",
+            "index": "pypi",
             "version": "==1.4.1"
         },
         "typing-extensions": {