From 5e3c77edddaac034ecb67f039489b80420bef829 Mon Sep 17 00:00:00 2001 From: Krzysztof Magusiak Date: Mon, 23 Jan 2023 22:21:40 +0100 Subject: [PATCH] Update configuration and add python 3.11 --- .github/workflows/lint-test.yaml | 2 +- .github/workflows/python-publish.yaml | 2 +- .vscode/settings.json | 8 ++++++++ 3 files changed, 10 insertions(+), 2 deletions(-) diff --git a/.github/workflows/lint-test.yaml b/.github/workflows/lint-test.yaml index 4fdb357..73a8b64 100644 --- a/.github/workflows/lint-test.yaml +++ b/.github/workflows/lint-test.yaml @@ -28,7 +28,7 @@ jobs: strategy: matrix: # lowest, common (defaut ubuntu LTS), newest - python-version: ["3.8", "3.10"] + python-version: ["3.8", "3.10", "3.11"] steps: - uses: actions/checkout@v2 - name: Set up Python ${{ matrix.python-version }} diff --git a/.github/workflows/python-publish.yaml b/.github/workflows/python-publish.yaml index b954b0a..fdb899b 100644 --- a/.github/workflows/python-publish.yaml +++ b/.github/workflows/python-publish.yaml @@ -28,7 +28,7 @@ jobs: - name: Set up Python uses: actions/setup-python@v2 with: - python-version: '3.10' + python-version: '3.11' - name: Install dependencies run: | python -m pip install --upgrade pip diff --git a/.vscode/settings.json b/.vscode/settings.json index ebe7c49..c806ce1 100644 --- a/.vscode/settings.json +++ b/.vscode/settings.json @@ -1,4 +1,12 @@ { + "python.formatting.blackArgs": [ + "--skip-string-normalization", + "--line-length", + "100" + ], + "python.formatting.provider": "black", + "python.linting.flake8Enabled": true, + "python.linting.mypyEnabled": true, "python.testing.pytestArgs": [ "tests" ],