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

stdlib included in auto-imports #655

Merged
merged 5 commits into from
Sep 10, 2024
Merged

Conversation

beauxq
Copy link
Contributor

@beauxq beauxq commented Sep 7, 2024

addresses #649

This comment has been minimized.

@DetachHead DetachHead self-assigned this Sep 8, 2024

This comment has been minimized.

This comment has been minimized.

@beauxq
Copy link
Contributor Author

beauxq commented Sep 8, 2024

There's still one more unit test that I don't understand well what's going on.

@DetachHead DetachHead marked this pull request as ready for review September 10, 2024 11:33
beauxq and others added 5 commits September 10, 2024 21:49
…em all in an array and only do it in the language server but not the cli
to test what they're supposed to be testing more specifically
Copy link
Contributor

Diff from mypy_primer, showing the effect of this PR on open source code:

spack (https://github.com/spack/spack)
-   /tmp/mypy_primer/projects/spack/var/spack/repos/tutorial/packages/netlib-lapack/package.py:59:5 - error: Result of call expression is of type "((pkg: PackageBase) -> None)" and is not used; assign to variable "_" if this is intentional (reportUnusedCallResult)
+   /tmp/mypy_primer/projects/spack/var/spack/repos/tutorial/packages/netlib-lapack/package.py:59:5 - error: Result of call expression is of type "(pkg: PackageBase) -> None" and is not used; assign to variable "_" if this is intentional (reportUnusedCallResult)
-   /tmp/mypy_primer/projects/spack/var/spack/repos/tutorial/packages/netlib-lapack/package.py:60:5 - error: Result of call expression is of type "((pkg: PackageBase) -> None)" and is not used; assign to variable "_" if this is intentional (reportUnusedCallResult)
+   /tmp/mypy_primer/projects/spack/var/spack/repos/tutorial/packages/netlib-lapack/package.py:60:5 - error: Result of call expression is of type "(pkg: PackageBase) -> None" and is not used; assign to variable "_" if this is intentional (reportUnusedCallResult)
-   /tmp/mypy_primer/projects/spack/var/spack/repos/tutorial/packages/netlib-lapack/package.py:61:5 - error: Result of call expression is of type "((pkg: PackageBase) -> None)" and is not used; assign to variable "_" if this is intentional (reportUnusedCallResult)
+   /tmp/mypy_primer/projects/spack/var/spack/repos/tutorial/packages/netlib-lapack/package.py:61:5 - error: Result of call expression is of type "(pkg: PackageBase) -> None" and is not used; assign to variable "_" if this is intentional (reportUnusedCallResult)

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