Skip to content

Commit b188ed9

Browse files
authored
Add python 3.11 support to test environment (#1213)
* update testenv mypy * add python ver 3.11
1 parent 1430dec commit b188ed9

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

.github/workflows/test.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ jobs:
1818
strategy:
1919
fail-fast: false
2020
matrix:
21-
python-version: [ '3.6', '3.7', '3.8', '3.9' ]
21+
python-version: [ '3.6', '3.7', '3.8', '3.9', '3.11' ]
2222

2323
steps:
2424
- uses: actions/checkout@v3

tox.ini

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,8 +44,9 @@ commands = black --check --diff {[base]linting_targets} --exclude __pycache__
4444
[testenv:mypy]
4545
basepython = python3
4646
skip_install = true
47-
deps = mypy == 0.812
48-
commands = mypy atlassian/
47+
deps =
48+
mypy>=0.812
49+
commands = mypy --install-types --non-interactive atlassian/
4950

5051
[testenv:bandit]
5152
basepython = python3

0 commit comments

Comments
 (0)