1
0
mirror of https://github.com/home-assistant/supervisor.git synced 2026-02-14 23:19:37 +00:00

Migrate to python 3.8 (#1824)

* Migrate to python 3.8

* Fix tests on Py38

* cleanup tests

Co-authored-by: Paulus Schoutsen <balloob@gmail.com>
This commit is contained in:
Pascal Vizeli
2020-07-13 22:26:41 +02:00
committed by GitHub
parent 7f4284f2af
commit bdfcf1a2df
13 changed files with 38 additions and 43 deletions

View File

@@ -1,4 +1,4 @@
FROM mcr.microsoft.com/vscode/devcontainers/python:0-3.7
FROM mcr.microsoft.com/vscode/devcontainers/python:0-3.8
WORKDIR /workspaces

View File

@@ -16,7 +16,7 @@
"python.linting.pylintEnabled": true,
"python.linting.enabled": true,
"python.formatting.provider": "black",
"python.formatting.blackArgs": ["--target-version", "py37"],
"python.formatting.blackArgs": ["--target-version", "py38"],
"editor.formatOnPaste": false,
"editor.formatOnSave": true,
"editor.formatOnType": true,