Skip to content
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

Merged
merged 1 commit into from
Aug 30, 2024
Merged

Conversation

Avasam
Copy link
Contributor

@Avasam Avasam commented Aug 30, 2024

Summary of changes

Config-only changes to make comments more up to date

Pull Request Checklist

@Avasam Avasam force-pushed the Update-pyright-configs branch 2 times, most recently from b05f8aa to 2667e5c Compare August 30, 2024 14:53
@Avasam Avasam marked this pull request as ready for review August 30, 2024 14:54
@Avasam Avasam force-pushed the Update-pyright-configs branch from 2667e5c to df12ccb Compare August 30, 2024 14:54
Comment on lines +4 to +11
// 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",
Copy link
Contributor Author

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
Copy link
Contributor Author

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.

@abravalheri abravalheri merged commit bb05063 into pypa:main Aug 30, 2024
23 checks passed
@abravalheri
Copy link
Contributor

Thank you.

@Avasam Avasam deleted the Update-pyright-configs branch August 30, 2024 16:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants