Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
---
changeKind: internal
packages:
- "@typespec/http-client-python"
---

Update mypy and pylint configuration to target Python 3.10
2 changes: 1 addition & 1 deletion packages/http-client-python/eng/scripts/ci/mypy.ini
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# global configurations
[mypy]
python_version = 3.9
python_version = 3.10
# Exclude mypy check for sub client tests
exclude = .*/clientinitialization/.*\.py

Expand Down
2 changes: 1 addition & 1 deletion packages/http-client-python/eng/scripts/ci/pylintrc
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[MASTER]
py-version=3.9
py-version=3.10
ignore-patterns=test_*,conftest,setup
reports=no

Expand Down
2 changes: 1 addition & 1 deletion packages/http-client-python/eng/scripts/ci/run_pylint.py
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ def _single_dir_pylint(mod):
"--load-plugins=pylint_guidelines_checker",
"--output-format=parseable",
"--recursive=y",
"--py-version=3.9",
"--py-version=3.10",
str(inner_class.absolute()),
]
)
Expand Down