Skip to content

Commit

Permalink
ci(typing): fix support pylance>=2024.9.1 (#3585)
Browse files Browse the repository at this point in the history
  • Loading branch information
dangotbanned authored Sep 10, 2024
1 parent 872c83c commit a171ce8
Showing 1 changed file with 20 additions and 3 deletions.
23 changes: 20 additions & 3 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -444,14 +444,31 @@ module = [
ignore_missing_imports = true

[tool.pyright]
enableExperimentalFeatures=true
extraPaths=["./tools"]
pythonPlatform="All"
pythonVersion="3.8"
reportTypedDictNotRequiredAccess="none"
reportIncompatibleMethodOverride="none"
reportUnusedExpression="none"
reportUnsupportedDunderAll="none"
include=[
"./altair/**/*.py",
".doc/*.py",
"./sphinxext/**/*.py",
"./doc/*.py",
"./tests/**/*.py",
"./tools/**/*.py",
]
]
ignore=[
"./altair/vegalite/v5/display.py",
"./altair/vegalite/v5/schema/",
"./altair/utils/core.py",
"./altair/utils/_dfi_types.py",
"./altair/_magics.py",
"./altair/jupyter/",
"./sphinxext/",
"./tests/test_jupyter_chart.py",
"./tests/utils/",
"./tests/test_magics.py",
"./tests/vegalite/v5/test_geo_interface.py",
"../../../**/Lib", # stdlib
]

0 comments on commit a171ce8

Please sign in to comment.