Skip to content

Instantly share code, notes, and snippets.

@AlexWaygood
Created March 6, 2026 16:48
Show Gist options
  • Select an option

  • Save AlexWaygood/0ebb567eeed7dbf058a5f4345a1cec0e to your computer and use it in GitHub Desktop.

Select an option

Save AlexWaygood/0ebb567eeed7dbf058a5f4345a1cec0e to your computer and use it in GitHub Desktop.
{"version": 1, "file_mapping": {"main.py": "main.py", "pyproject.toml": "pyproject.toml"}}
from typing import reveal_type
x = [None, None]
reveal_type(x)
x.append(42)
[project]
name = "sandbox"
version = "0.1.0"
requires-python = ">=3.10"
dependencies = []
[tool.zuban]
pretty = true
check_untyped_defs = true
[tool.mypy]
color_output = true
pretty = true
check_untyped_defs = true
[tool.pyright]
reportWildcardImportFromLibrary = false
reportSelfClsParameterName = false
reportUnusedExpression = false
[tool.ty]
[tool.ty.rules]
undefined-reveal = "ignore"
[tool.pycroscope]
import_paths = ["."]
[tool.pyrefly]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment