From 7d83930bea7fa49d8e2d827697637063fc3c693c Mon Sep 17 00:00:00 2001 From: Christian Clauss Date: Mon, 22 Aug 2022 00:30:20 +0200 Subject: [PATCH 1/3] Lint on the current version of Python --- .github/workflows/lint.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index c9efc0cf8..7f3a22c6c 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -7,11 +7,11 @@ jobs: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 - - name: Set up Python 3.9 - uses: actions/setup-python@v2 + - uses: actions/checkout@v3 + - name: Set up Python + uses: actions/setup-python@v4 with: - python-version: 3.9 + python-version: 3.x - name: Install dependencies run: | python -m pip install --upgrade pip From fcb4dde338110aa34c9c76e0d52f2aa090e6c409 Mon Sep 17 00:00:00 2001 From: Christian Clauss Date: Mon, 22 Aug 2022 00:32:40 +0200 Subject: [PATCH 2/3] .pre-commit-config.yaml: python3.10 --- .pre-commit-config.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 2ad4e02ff..eece56e04 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -1,5 +1,5 @@ default_language_version: - python: python3.9 + python: python3.10 repos: - repo: https://github.com/pre-commit/pre-commit-hooks From d8dfeae7fece1861635a51f83289256c1da74d31 Mon Sep 17 00:00:00 2001 From: Christian Clauss Date: Mon, 22 Aug 2022 00:34:27 +0200 Subject: [PATCH 3/3] Update tox.ini --- tox.ini | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tox.ini b/tox.ini index 07ddc767f..f7300da20 100644 --- a/tox.ini +++ b/tox.ini @@ -11,7 +11,7 @@ commands = py{36,37,38,39,310}: pytest --cov=graphene graphene --cov-report=term --cov-report=xml examples {posargs} [testenv:pre-commit] -basepython = python3.9 +basepython = python3.10 deps = pre-commit>=2.16,<3 setenv = @@ -20,14 +20,14 @@ commands = pre-commit run --all-files --show-diff-on-failure [testenv:mypy] -basepython = python3.9 +basepython = python3.10 deps = mypy>=0.950,<1 commands = mypy graphene [testenv:flake8] -basepython = python3.9 +basepython = python3.10 deps = flake8>=4,<5 commands =