-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Update pyright configs comments #4618
Conversation
b05f8aa
to
2667e5c
Compare
2667e5c
to
df12ccb
Compare
// Avoid scanning Python files in generated folders | ||
"build", | ||
".tox", | ||
".eggs", | ||
"**/_vendor", // Vendored | ||
"setuptools/_distutils", // Vendored | ||
"setuptools/config/_validate_pyproject/**", // Auto-generated | ||
"setuptools/config/_validate_pyproject/**", | ||
// These are vendored | ||
"**/_vendor", | ||
"setuptools/_distutils", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Same comments as in mypy.ini
// FIXME: A handful of reportOperatorIssue spread throughout the codebase | ||
"reportOperatorIssue": "warning", | ||
// Deferred initialization (initialize_options/finalize_options) causes many "potentially None" issues | ||
// TODO: Fix with type-guards or by changing how it's initialized | ||
"reportArgumentType": "warning", // A lot of these are caused by jaraco.path.build's spec argument not being a Mapping https://github.com/jaraco/jaraco.path/pull/3 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This has been fixed upstream, so the comment doesn't apply anymore and those reportArgumentType
left are of setuptool's own making.
Thank you. |
Summary of changes
Config-only changes to make comments more up to date
Pull Request Checklist
newsfragments/
. (not user facing)(See documentation for details)