-
Notifications
You must be signed in to change notification settings - Fork 21
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
mkdocs #699
Merged
Merged
mkdocs #699
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
DetachHead
force-pushed
the
mkdocs
branch
2 times, most recently
from
September 29, 2024 14:01
4c9cc2d
to
1447142
Compare
Diff from mypy_primer, showing the effect of this PR on open source code: sympy (https://github.com/sympy/sympy)
- /tmp/mypy_primer/projects/sympy/sympy/solvers/ode/nonhomogeneous.py:58:5 - error: Return type, "tuple[Equality | Unknown | Relational | Unequality, list[Unknown]]", is partially unknown (reportUnknownParameterType)
+ /tmp/mypy_primer/projects/sympy/sympy/solvers/ode/nonhomogeneous.py:58:5 - error: Return type, "tuple[Equality | Unknown, list[Unknown]]", is partially unknown (reportUnknownParameterType)
- Type of "gsol" is "Equality | Unknown | Relational | Unequality" (reportUnknownVariableType)
+ Type of "gsol" is "Equality | Unknown" (reportUnknownVariableType)
- /tmp/mypy_primer/projects/sympy/sympy/solvers/ode/nonhomogeneous.py:123:12 - error: Return type, "tuple[Equality | Unknown | Relational | Unequality, list[Unknown]]", is partially unknown (reportUnknownVariableType)
+ /tmp/mypy_primer/projects/sympy/sympy/solvers/ode/nonhomogeneous.py:123:12 - error: Return type, "tuple[Equality | Unknown, list[Unknown]]", is partially unknown (reportUnknownVariableType)
- /tmp/mypy_primer/projects/sympy/sympy/solvers/ode/nonhomogeneous.py:126:5 - error: Return type, "Equality | Unknown | Relational | Unequality", is partially unknown (reportUnknownParameterType)
+ /tmp/mypy_primer/projects/sympy/sympy/solvers/ode/nonhomogeneous.py:126:5 - error: Return type, "Equality | Unknown", is partially unknown (reportUnknownParameterType)
- /tmp/mypy_primer/projects/sympy/sympy/solvers/ode/nonhomogeneous.py:174:12 - error: Return type, "Equality | Unknown | Relational | Unequality", is partially unknown (reportUnknownVariableType)
+ /tmp/mypy_primer/projects/sympy/sympy/solvers/ode/nonhomogeneous.py:174:12 - error: Return type, "Equality | Unknown", is partially unknown (reportUnknownVariableType)
- /tmp/mypy_primer/projects/sympy/sympy/solvers/ode/nonhomogeneous.py:252:5 - error: Return type, "Equality | Unknown | Relational | Unequality", is partially unknown (reportUnknownParameterType)
+ /tmp/mypy_primer/projects/sympy/sympy/solvers/ode/nonhomogeneous.py:252:5 - error: Return type, "Equality | Unknown", is partially unknown (reportUnknownParameterType)
- /tmp/mypy_primer/projects/sympy/sympy/solvers/ode/nonhomogeneous.py:275:12 - error: Return type, "Equality | Unknown | Relational | Unequality", is partially unknown (reportUnknownVariableType)
+ /tmp/mypy_primer/projects/sympy/sympy/solvers/ode/nonhomogeneous.py:275:12 - error: Return type, "Equality | Unknown", is partially unknown (reportUnknownVariableType)
- /tmp/mypy_primer/projects/sympy/sympy/solvers/ode/nonhomogeneous.py:424:5 - error: Return type, "Equality | Unknown | Relational | Unequality", is partially unknown (reportUnknownParameterType)
+ /tmp/mypy_primer/projects/sympy/sympy/solvers/ode/nonhomogeneous.py:424:5 - error: Return type, "Equality | Unknown", is partially unknown (reportUnknownParameterType)
- /tmp/mypy_primer/projects/sympy/sympy/solvers/ode/nonhomogeneous.py:488:12 - error: Return type, "Equality | Unknown | Relational | Unequality", is partially unknown (reportUnknownVariableType)
+ /tmp/mypy_primer/projects/sympy/sympy/solvers/ode/nonhomogeneous.py:488:12 - error: Return type, "Equality | Unknown", is partially unknown (reportUnknownVariableType)
- /tmp/mypy_primer/projects/sympy/sympy/solvers/ode/ode.py:1573:5 - error: Return type, "list[Equality | Unknown | Relational | Unequality] | list[list[Unknown] | Unknown] | Unknown | Equality | Relational | Unequality | list[list[Equality | Unknown | Relational | Unequality] | list[list[Unknown] | Unknown] | Unknown]", is partially unknown (reportUnknownParameterType)
+ /tmp/mypy_primer/projects/sympy/sympy/solvers/ode/ode.py:1573:5 - error: Return type, "list[Equality | Unknown] | list[list[Unknown] | Unknown] | Unknown | Equality | list[list[Equality | Unknown] | list[list[Unknown] | Unknown] | Unknown]", is partially unknown (reportUnknownParameterType)
- Type of "eq" is "list[Equality | Unknown | Relational | Unequality]" (reportUnknownVariableType)
+ Type of "eq" is "list[Equality | Unknown]" (reportUnknownVariableType)
- /tmp/mypy_primer/projects/sympy/sympy/solvers/ode/ode.py:1661:11 - error: Cannot access attribute "lhs" for class "list[Equality | Unknown | Relational | Unequality]"
+ /tmp/mypy_primer/projects/sympy/sympy/solvers/ode/ode.py:1661:11 - error: Cannot access attribute "lhs" for class "list[Equality | Unknown]"
- /tmp/mypy_primer/projects/sympy/sympy/solvers/ode/ode.py:1661:34 - error: Cannot access attribute "rhs" for class "list[Equality | Unknown | Relational | Unequality]"
+ /tmp/mypy_primer/projects/sympy/sympy/solvers/ode/ode.py:1661:34 - error: Cannot access attribute "rhs" for class "list[Equality | Unknown]"
- Type of "eq" is "list[list[Equality | Unknown | Relational | Unequality] | list[list[Unknown] | Unknown] | Unknown]" (reportUnknownVariableType)
+ Type of "eq" is "list[list[Equality | Unknown] | list[list[Unknown] | Unknown] | Unknown]" (reportUnknownVariableType)
- /tmp/mypy_primer/projects/sympy/sympy/solvers/ode/ode.py:1668:49 - error: Cannot access attribute "atoms" for class "list[Equality | Unknown | Relational | Unequality]"
+ /tmp/mypy_primer/projects/sympy/sympy/solvers/ode/ode.py:1668:49 - error: Cannot access attribute "atoms" for class "list[Equality | Unknown]"
- Type of "eq" is "list[list[Equality | Unknown | Relational | Unequality] | list[list[Unknown] | Unknown] | Unknown]" (reportUnknownVariableType)
+ Type of "eq" is "list[list[Equality | Unknown] | list[list[Unknown] | Unknown] | Unknown]" (reportUnknownVariableType)
- Type of "eq" is "list[Equality | Unknown | Relational | Unequality]" (reportUnknownVariableType)
+ Type of "eq" is "list[Equality | Unknown]" (reportUnknownVariableType)
- Type of "eqi" is "list[Equality | Unknown | Relational | Unequality] | list[list[Unknown] | Unknown] | Unknown" (reportUnknownVariableType)
+ Type of "eqi" is "list[Equality | Unknown] | list[list[Unknown] | Unknown] | Unknown" (reportUnknownVariableType)
- Argument type is "list[Equality | Unknown | Relational | Unequality] | list[list[Equality | Unknown | Relational | Unequality] | list[list[Unknown] | Unknown] | Unknown]" (reportUnknownArgumentType)
+ Argument type is "list[Equality | Unknown] | list[list[Equality | Unknown] | list[list[Unknown] | Unknown] | Unknown]" (reportUnknownArgumentType)
- Type of "eqi" is "Equality | Unknown | Relational | Unequality" (reportUnknownVariableType)
+ Type of "eqi" is "Equality | Unknown" (reportUnknownVariableType)
- Argument type is "list[list[Equality | Unknown | Relational | Unequality] | list[list[Unknown] | Unknown] | Unknown] | list[Equality | Unknown | Relational | Unequality]" (reportUnknownArgumentType)
+ Argument type is "list[list[Equality | Unknown] | list[list[Unknown] | Unknown] | Unknown] | list[Equality | Unknown]" (reportUnknownArgumentType)
- Argument type is "list[list[Equality | Unknown | Relational | Unequality] | list[list[Unknown] | Unknown] | Unknown] | list[Equality | Unknown | Relational | Unequality]" (reportUnknownArgumentType)
+ Argument type is "list[list[Equality | Unknown] | list[list[Unknown] | Unknown] | Unknown] | list[Equality | Unknown]" (reportUnknownArgumentType)
- Type of "eq" is "list[Equality | Unknown | Relational | Unequality] | list[list[Unknown] | Unknown] | Unknown | Equality | Relational | Unequality" (reportUnknownVariableType)
+ Type of "eq" is "list[Equality | Unknown] | list[list[Unknown] | Unknown] | Unknown | Equality" (reportUnknownVariableType)
- /tmp/mypy_primer/projects/sympy/sympy/solvers/ode/ode.py:1708:12 - error: Return type, "list[Equality | Unknown | Relational | Unequality] | list[list[Unknown] | Unknown] | Unknown | Equality | Relational | Unequality | list[list[Equality | Unknown | Relational | Unequality] | list[list[Unknown] | Unknown] | Unknown]", is partially unknown (reportUnknownVariableType)
+ /tmp/mypy_primer/projects/sympy/sympy/solvers/ode/ode.py:1708:12 - error: Return type, "list[Equality | Unknown] | list[list[Unknown] | Unknown] | Unknown | Equality | list[list[Equality | Unknown] | list[list[Unknown] | Unknown] | Unknown]", is partially unknown (reportUnknownVariableType)
- /tmp/mypy_primer/projects/sympy/sympy/solvers/ode/ode.py:1875:5 - error: Return type, "Equality | Unknown | Relational | Unequality | Add | Basic", is partially unknown (reportUnknownParameterType)
+ /tmp/mypy_primer/projects/sympy/sympy/solvers/ode/ode.py:1875:5 - error: Return type, "Equality | Unknown | Add | Basic", is partially unknown (reportUnknownParameterType)
- /tmp/mypy_primer/projects/sympy/sympy/solvers/ode/ode.py:1924:16 - error: Return type, "Equality | Unknown | Relational | Unequality", is partially unknown (reportUnknownVariableType)
+ /tmp/mypy_primer/projects/sympy/sympy/solvers/ode/ode.py:1924:16 - error: Return type, "Equality | Unknown", is partially unknown (reportUnknownVariableType)
- /tmp/mypy_primer/projects/sympy/sympy/solvers/ode/ode.py:1929:5 - error: Return type, "list[list[Unknown] | Unknown] | Unknown | Equality | Relational | Unequality | Add | Basic | Any", is partially unknown (reportUnknownParameterType)
+ /tmp/mypy_primer/projects/sympy/sympy/solvers/ode/ode.py:1929:5 - error: Return type, "list[list[Unknown] | Unknown] | Unknown | Equality | Add | Basic | Any", is partially unknown (reportUnknownParameterType)
- Type of "expr" is "Equality | Unknown | Relational | Unequality | Add | Basic" (reportUnknownVariableType)
+ Type of "expr" is "Equality | Unknown | Add | Basic" (reportUnknownVariableType)
- Type of "expr" is "Equality | Unknown | Relational | Unequality | Add | Basic | Any" (reportUnknownVariableType)
+ Type of "expr" is "Equality | Unknown | Add | Basic | Any" (reportUnknownVariableType)
... (truncated 4026 lines) ...
spack (https://github.com/spack/spack)
- /tmp/mypy_primer/projects/spack/var/spack/repos/builtin.mock/packages/conditional-provider/package.py:22: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/builtin.mock/packages/conditional-provider/package.py:22: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/builtin.mock/packages/conditional-virtual-dependency/package.py:18: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/builtin.mock/packages/conditional-virtual-dependency/package.py:19: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/builtin.mock/packages/conditional-virtual-dependency/package.py:18: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/builtin.mock/packages/conditional-virtual-dependency/package.py:19: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/builtin.mock/packages/conditionally-patch-dependency/package.py:19: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/builtin.mock/packages/conditionally-patch-dependency/package.py:19: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
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
fixes #696