Skip to content

Fixed lint

Fixed lint #6

Triggered via push February 15, 2024 19:32
Status Failure
Total duration 2h 34m 56s
Artifacts 1

build.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

11 errors and 4 warnings
Failed example:: src/sage/algebras/quatalg/quaternion_algebra.py#L2146
Failed example:: Exception raised: Traceback (most recent call last): File "/sage/src/sage/doctest/forker.py", line 712, in _run self.compile_and_execute(example, compiler, test.globs) File "/sage/src/sage/doctest/forker.py", line 1147, in compile_and_execute exec(compiled, globs) File "<doctest sage.algebras.quatalg.quaternion_algebra.QuaternionOrder.isomorphism_to[3]>", line 1, in <module> iso = O0.isomorphism_to(O1) ^^^^^^^^^^^^^^^^^^^^^ File "/sage/src/sage/algebras/quatalg/quaternion_algebra.py", line 2303, in isomorphism_to for alpha in [1] + Q.gens(): ~~~~^~~~~~~~~~ TypeError: can only concatenate list (not "tuple") to list
Failed example:: src/sage/algebras/quatalg/quaternion_algebra.py#L2147
Failed example:: Exception raised: Traceback (most recent call last): File "/sage/src/sage/doctest/forker.py", line 712, in _run self.compile_and_execute(example, compiler, test.globs) File "/sage/src/sage/doctest/forker.py", line 1147, in compile_and_execute exec(compiled, globs) File "<doctest sage.algebras.quatalg.quaternion_algebra.QuaternionOrder.isomorphism_to[4]>", line 1, in <module> iso NameError: name 'iso' is not defined
Failed example:: src/sage/algebras/quatalg/quaternion_algebra.py#L2154
Failed example:: Exception raised: Traceback (most recent call last): File "/sage/src/sage/doctest/forker.py", line 712, in _run self.compile_and_execute(example, compiler, test.globs) File "/sage/src/sage/doctest/forker.py", line 1147, in compile_and_execute exec(compiled, globs) File "<doctest sage.algebras.quatalg.quaternion_algebra.QuaternionOrder.isomorphism_to[5]>", line 1, in <module> iso(Integer(1)) ^^^ NameError: name 'iso' is not defined
Failed example:: src/sage/algebras/quatalg/quaternion_algebra.py#L2156
Failed example:: Exception raised: Traceback (most recent call last): File "/sage/src/sage/doctest/forker.py", line 712, in _run self.compile_and_execute(example, compiler, test.globs) File "/sage/src/sage/doctest/forker.py", line 1147, in compile_and_execute exec(compiled, globs) File "<doctest sage.algebras.quatalg.quaternion_algebra.QuaternionOrder.isomorphism_to[6]>", line 1, in <module> iso(i) ^^^ NameError: name 'iso' is not defined
Failed example:: src/sage/algebras/quatalg/quaternion_algebra.py#L2158
Failed example:: Got: Traceback (most recent call last): File "/sage/src/sage/doctest/forker.py", line 712, in _run self.compile_and_execute(example, compiler, test.globs) File "/sage/src/sage/doctest/forker.py", line 1147, in compile_and_execute exec(compiled, globs) File "<doctest sage.algebras.quatalg.quaternion_algebra.QuaternionOrder.isomorphism_to[7]>", line 1, in <module> iso(i/Integer(3)) ^^^ NameError: name 'iso' is not defined
Failed example:: src/sage/algebras/quatalg/quaternion_algebra.py#L2165
Failed example:: Exception raised: Traceback (most recent call last): File "/sage/src/sage/doctest/forker.py", line 712, in _run self.compile_and_execute(example, compiler, test.globs) File "/sage/src/sage/doctest/forker.py", line 1147, in compile_and_execute exec(compiled, globs) File "<doctest sage.algebras.quatalg.quaternion_algebra.QuaternionOrder.isomorphism_to[8]>", line 1, in <module> gamma = O0.isomorphism_to(O1, conjugator=True); gamma ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/sage/src/sage/algebras/quatalg/quaternion_algebra.py", line 2303, in isomorphism_to for alpha in [1] + Q.gens(): ~~~~^~~~~~~~~~ TypeError: can only concatenate list (not "tuple") to list
Failed example:: src/sage/algebras/quatalg/quaternion_algebra.py#L2167
Failed example:: Got: False
Failed example:: src/sage/algebras/quatalg/quaternion_algebra.py#L2169
Failed example:: Got: False
Failed example:: src/sage/algebras/quatalg/quaternion_algebra.py#L2171
Failed example:: Exception raised: Traceback (most recent call last): File "/sage/src/sage/doctest/forker.py", line 712, in _run self.compile_and_execute(example, compiler, test.globs) File "/sage/src/sage/doctest/forker.py", line 1147, in compile_and_execute exec(compiled, globs) File "<doctest sage.algebras.quatalg.quaternion_algebra.QuaternionOrder.isomorphism_to[11]>", line 1, in <module> O1.unit_ideal() == ~gamma * O0 * gamma ^^^^^^ TypeError: bad operand type for unary ~: 'function'
Failed example:: src/sage/algebras/quatalg/quaternion_algebra.py#L2187
Failed example:: Exception raised: Traceback (most recent call last): File "/sage/src/sage/doctest/forker.py", line 712, in _run self.compile_and_execute(example, compiler, test.globs) File "/sage/src/sage/doctest/forker.py", line 1147, in compile_and_execute exec(compiled, globs) File "<doctest sage.algebras.quatalg.quaternion_algebra.QuaternionOrder.isomorphism_to[18]>", line 1, in <module> iso = O0.isomorphism_to(O1); iso ^^^^^^^^^^^^^^^^^^^^^ File "/sage/src/sage/algebras/quatalg/quaternion_algebra.py", line 2303, in isomorphism_to for alpha in [1] + Q.gens(): ~~~~^~~~~~~~~~ TypeError: can only concatenate list (not "tuple") to list
build
Process completed with exit code 1.
get_ci_fixes
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/upload-artifact@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
build
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/download-artifact@v3, jakebailey/pyright-action@v1, codecov/codecov-action@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
Warning: Variable 'pi_def' referenced here was set only in doctest marked '# needs sage.libs.pari sage.symbolic': src/sage/interfaces/gp.py#L799
Variable 'pi_def' referenced here was set only in doctest marked '# needs sage.libs.pari sage.symbolic'
Warning: Variable 'b' referenced here was set only in doctest marked '# needs numpy': src/sage/matrix/matrix1.pyx#L729
Variable 'b' referenced here was set only in doctest marked '# needs numpy'

Artifacts

Produced during runtime
Name Size
upstream Expired
167 KB