Skip to content
Merged
Changes from 1 commit
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
4 changes: 3 additions & 1 deletion pyrightconfig-strict.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,7 @@
"enableTypeIgnoreComments": false,
"reportUnnecessaryTypeIgnoreComment": true,
"reportMissingModuleSource": true,
"useLibraryCodeForTypes": false
"useLibraryCodeForTypes": false,
"reportPrivateUsage": false,
Copy link
Collaborator

Choose a reason for hiding this comment

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

I think we need to keep reportPrivateUsage in there. I think pyright is wrong for reporting them in stub files. Created an issue: microsoft/pyright#10992

From the test files, we will be able to fix this once pandas 3.0 is released, where there will be a pandas.api.typing.aliases which will be the supported way for people to import instead of using pandas._typing. One reason I introduced the aliases was to get around this particular warning.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Added back in 7d3c152

"reportUnknownLambdaType": false
}