Skip to content

Commit

Permalink
chore(ci): update mypy to latest version (backport #3825) (#3830)
Browse files Browse the repository at this point in the history
* chore(ci): update mypy to latest version (#3825)

(cherry picked from commit 02af90f)

# Conflicts:
#	ddtrace/profiling/profiler.py
#	mypy.ini

* Apply suggestions from code review

* Apply suggestions from code review

Co-authored-by: Brett Langdon <brett.langdon@datadoghq.com>
  • Loading branch information
mergify[bot] and brettlangdon committed Jun 21, 2022
1 parent 098098d commit 7a1c280
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 1 deletion.
9 changes: 9 additions & 0 deletions mypy.ini
Expand Up @@ -17,3 +17,12 @@ ignore_errors = true

[mypy-ddtrace.vendor.*]
ignore_errors = true

[mypy-ddtrace.profiling.exporter.pprof_pb2]
ignore_errors = true

[mypy-ddtrace.profiling.exporter.pprof_pre312_pb2]
ignore_errors = true

[mypy-ddtrace.profiling.exporter.pprof_pre319_pb2]
ignore_errors = true
2 changes: 1 addition & 1 deletion riotfile.py
Expand Up @@ -134,7 +134,7 @@ def select_pys(min_version=MIN_PYTHON_VERSION, max_version=MAX_PYTHON_VERSION):
command="mypy {cmdargs}",
create=True,
pkgs={
"mypy": "<0.960",
"mypy": latest,
"types-attrs": latest,
"types-docutils": latest,
"types-protobuf": latest,
Expand Down

0 comments on commit 7a1c280

Please sign in to comment.