Skip to content
Open
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
8 changes: 8 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -373,3 +373,11 @@ exclude_lines = [
# Don't complain about abstract methods, they aren't run
"@(abc\\.)?abstractmethod",
]

[tool.pyrefly]

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

do we need to also install the dependency in dev deps?

# Walk up from each importing file's directory to the config root to resolve imports,
# matching how Python puts a script's own directory on sys.path at runtime. This lets
# example scripts that import sibling helper modules next to them (e.g.
# examples/hf_ptq/example_utils, cast_mxfp4_to_nvfp4) type-check without listing each
# example directory in search-path.
enable-fallback-search-path = true