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

mkdocs #699

Merged
merged 2 commits into from
Sep 29, 2024
Merged

mkdocs #699

merged 2 commits into from
Sep 29, 2024

Conversation

DetachHead
Copy link
Owner

fixes #696

@DetachHead DetachHead merged commit c0fb571 into main Sep 29, 2024
19 checks passed
@DetachHead DetachHead deleted the mkdocs branch September 29, 2024 15:13
Copy link
Contributor

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
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

use mkdocs
1 participant