Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 0a0848b

Browse files
Various updates (#49)
- Drop 3.6 support - 3.11-dev -> 3.11 - Configure pyanalyze in pyproject.toml - Update black and pyanalyze
1 parent f902921 commit 0a0848b

3 files changed

Lines changed: 13 additions & 12 deletions

File tree

.github/workflows/test.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ jobs:
99
runs-on: ubuntu-latest
1010
strategy:
1111
matrix:
12-
python-version: [3.6, 3.7, 3.8, 3.9, "3.10", "3.11-dev"]
12+
python-version: [3.7, 3.8, 3.9, "3.10", "3.11"]
1313

1414
steps:
1515
- uses: actions/checkout@v1

pyproject.toml

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,11 @@ exclude = '''
1212
preview = true
1313
skip_magic_trailing_comma = true
1414

15+
[tool.pyanalyze]
16+
missing_parameter_annotation = true
17+
missing_return_annotation = true
18+
incompatible_override = true
19+
1520
[build-system]
16-
requires = [
17-
"setuptools>=42",
18-
"wheel"
19-
]
21+
requires = ["setuptools>=42", "wheel"]
2022
build-backend = "setuptools.build_meta"

tox.ini

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -11,21 +11,20 @@ commands =
1111

1212
[testenv:black]
1313
deps =
14-
black == 22.8.0
14+
black == 22.12.0
1515
commands =
1616
black --check .
1717

1818
[testenv:pyanalyze]
1919
deps =
20-
pyanalyze == 0.7.0
20+
pyanalyze == 0.8.0
2121
commands =
22-
python -m pyanalyze -e missing_return_annotation -e missing_parameter_annotation autotyping
22+
python -m pyanalyze --config pyproject.toml -v autotyping
2323

2424
[gh-actions]
2525
python =
26-
3.6: py36
2726
3.7: py37
2827
3.8: py38
29-
3.9: py39, black, pyanalyze
30-
3.10: py310
31-
3.11-dev: py311
28+
3.9: py39
29+
3.10: py310, black, pyanalyze
30+
3.11: py311

0 commit comments

Comments
 (0)