Expand type checking to mypy strict files (#165697)

Expands Pyrefly type checking to check the files outlined in the mypy-strict.ini configuration file:

Pull Request resolved: https://github.com/pytorch/pytorch/pull/165697
Approved by: https://github.com/ezyang
This commit is contained in:
Maggie Moss
2025-10-18 04:34:41 +00:00
committed by PyTorch MergeBot
parent 9095a9dfae
commit f02e3947f6
42 changed files with 89 additions and 11 deletions

View File

@ -60,6 +60,7 @@ class SegmentGenerator:
df[time_col_name] = pd.to_datetime(df[time_col_name], unit="s", utc=True)
# get unique cmd names
# pyrefly: ignore # bad-argument-type
unique_cmds_df = pd.DataFrame(df[cmd_col_name].unique(), columns=[cmd_col_name])
# get all detected python cmds