clean ups #154
Report (Linux clang Python 3.10) ✅
Report | Passed | Failed | Skipped | Time |
---|---|---|---|---|
cython-lint-Linux-clang-3.10.xml | 61❌ | 1000ms | ||
flake8-Linux-clang-3.10.xml | 33❌ | 1000ms | ||
test-results-Linux-clang-3.10.xml | 5❌ | 2s |
❌ cython-lint-Linux-clang-3.10.xml
61 tests were completed in 1000ms with 0 passed, 61 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
cython-lint | 61❌ | 1000ms |
❌ cython-lint
❌ /home/runner/work/PyNucleus/PyNucleus/base/PyNucleus_base/tupleDict.pyx
460:13 E741 ambiguous variable name 'l'
❌ /home/runner/work/PyNucleus/PyNucleus/base/PyNucleus_base/solvers.pyx
56:38 dangerous default value!
❌ /home/runner/work/PyNucleus/PyNucleus/base/PyNucleus_base/SSS_LinearOperator_COMPLEX.pxi
291:49 E127 continuation line over-indented for visual indent
❌ /home/runner/work/PyNucleus/PyNucleus/base/PyNucleus_base/SSS_LinearOperator_{SCALAR}.pxi
367:17 E741 ambiguous variable name 'l'
❌ /home/runner/work/PyNucleus/PyNucleus/base/PyNucleus_base/CSR_LinearOperator_COMPLEX.pxi
285:46 E127 continuation line over-indented for visual indent
❌ /home/runner/work/PyNucleus/PyNucleus/base/PyNucleus_base/sparseGraph.pyx
64:41 E741 ambiguous variable name 'l'
❌ /home/runner/work/PyNucleus/PyNucleus/base/PyNucleus_base/IJOperator_{SCALAR}.pxi
37:9 E741 ambiguous variable name 'I'
❌ /home/runner/work/PyNucleus/PyNucleus/base/PyNucleus_base/IJOperator_REAL.pxi
37:9 E741 ambiguous variable name 'I'
❌ /home/runner/work/PyNucleus/PyNucleus/base/PyNucleus_base/ip_norm.pyx
261:23 E741 ambiguous variable name 'I'
❌ /home/runner/work/PyNucleus/PyNucleus/base/PyNucleus_base/IJOperator_COMPLEX.pxi
37:9 E741 ambiguous variable name 'I'
❌ /home/runner/work/PyNucleus/PyNucleus/base/PyNucleus_base/io.pyx
42:58 E741 ambiguous variable name 'I'
❌ /home/runner/work/PyNucleus/PyNucleus/base/PyNucleus_base/CSR_LinearOperator_REAL.pxi
285:46 E127 continuation line over-indented for visual indent
❌ /home/runner/work/PyNucleus/PyNucleus/base/PyNucleus_base/SSS_LinearOperator_REAL.pxi
291:49 E127 continuation line over-indented for visual indent
❌ /home/runner/work/PyNucleus/PyNucleus/base/PyNucleus_base/opt_true_mkl_trisolve.pxi
62:13 E722 do not use bare 'except'
❌ /home/runner/work/PyNucleus/PyNucleus/base/PyNucleus_base/tupleDict_INDEX.pxi
39:9 E741 ambiguous variable name 'l'
❌ /home/runner/work/PyNucleus/PyNucleus/base/PyNucleus_base/linalg.pyx
821:5 E741 ambiguous variable name 'l'
❌ /home/runner/work/PyNucleus/PyNucleus/base/PyNucleus_base/tupleDict_{VALUE}.pxi
39:9 E741 ambiguous variable name 'l'
❌ /home/runner/work/PyNucleus/PyNucleus/base/PyNucleus_base/solver_ichol.pxi
27:13 E722 do not use bare 'except'
❌ /home/runner/work/PyNucleus/PyNucleus/base/PyNucleus_base/linear_operators.pyx
730:13 E741 ambiguous variable name 'l'
❌ /home/runner/work/PyNucleus/PyNucleus/base/PyNucleus_base/opt_false_mkl_trisolve.pxi
27:13 E722 do not use bare 'except'
❌ /home/runner/work/PyNucleus/PyNucleus/metisCy/PyNucleus_metisCy/parmetisCy.pyx
45:161 E501 line too long (183 > 160 characters)
❌ /home/runner/work/PyNucleus/PyNucleus/fem/PyNucleus_fem/scalar_coefficient_stiffness_1D_P1.pxi
20:20 E741 ambiguous variable name 'I'
❌ /home/runner/work/PyNucleus/PyNucleus/fem/PyNucleus_fem/scalar_coefficient_stiffness_2D_P1.pxi
21:20 E741 ambiguous variable name 'I'
❌ /home/runner/work/PyNucleus/PyNucleus/fem/PyNucleus_fem/scalar_coefficient_stiffness_1D_P2.pxi
20:20 E741 ambiguous variable name 'I'
❌ /home/runner/work/PyNucleus/PyNucleus/fem/PyNucleus_fem/splitting.pyx
143:161 E501 line too long (163 > 160 characters)
❌ /home/runner/work/PyNucleus/PyNucleus/fem/PyNucleus_fem/repartitioner.pyx
168:56 dangerous default value!
❌ /home/runner/work/PyNucleus/PyNucleus/fem/PyNucleus_fem/boundaryLayerCy.pyx
28:5 pointless string statement
❌ /home/runner/work/PyNucleus/PyNucleus/fem/PyNucleus_fem/scalar_coefficient_stiffness_3D_P1.pxi
21:20 E741 ambiguous variable name 'I'
❌ /home/runner/work/PyNucleus/PyNucleus/fem/PyNucleus_fem/functions.pyx
258:14 E741 ambiguous variable name 'l'
❌ /home/runner/work/PyNucleus/PyNucleus/fem/PyNucleus_fem/DoFMaps.pyx
50:9 E741 ambiguous variable name 'l'
❌ /home/runner/work/PyNucleus/PyNucleus/fem/PyNucleus_fem/scalar_coefficient_stiffness_2D_P2.pxi
21:20 E741 ambiguous variable name 'I'
❌ /home/runner/work/PyNucleus/PyNucleus/fem/PyNucleus_fem/meshOverlaps.pyx
92:9 E741 ambiguous variable name 'l'
❌ /home/runner/work/PyNucleus/PyNucleus/fem/PyNucleus_fem/algebraicOverlaps.pyx
13:45 'INTERIOR' imported but unused
❌ /home/runner/work/PyNucleus/PyNucleus/fem/PyNucleus_fem/femCy.pyx
8:35 'sinh' imported but unused
❌ /home/runner/work/PyNucleus/PyNucleus/fem/PyNucleus_fem/scalar_coefficient_stiffness_3D_P2.pxi
21:20 E741 ambiguous variable name 'I'
❌ /home/runner/work/PyNucleus/PyNucleus/fem/PyNucleus_fem/quadrature.pyx
39:9 E741 ambiguous variable name 'I'
❌ /home/runner/work/PyNucleus/PyNucleus/fem/PyNucleus_fem/meshCy.pyx
407:17 E741 ambiguous variable name 'l'
❌ /home/runner/work/PyNucleus/PyNucleus/multilevelSolver/PyNucleus_multilevelSolver/restriction_1D_P1_P3.pxi
9:42 E127 continuation line over-indented for visual indent
❌ /home/runner/work/PyNucleus/PyNucleus/multilevelSolver/PyNucleus_multilevelSolver/restriction_1D_P2_P3.pxi
9:42 E127 continuation line over-indented for visual indent
❌ /home/runner/work/PyNucleus/PyNucleus/nl/PyNucleus_nl/kernelNormalization.pxd
88:1 W391 blank line at end of file
❌ /home/runner/work/PyNucleus/PyNucleus/nl/PyNucleus_nl/nonlocalAssembly_REAL.pxi
157:13 E741 ambiguous variable name 'I'
❌ /home/runner/work/PyNucleus/PyNucleus/nl/PyNucleus_nl/fractionalLaplacian2D.pxd
52:1 W391 blank line at end of file
❌ /home/runner/work/PyNucleus/PyNucleus/nl/PyNucleus_nl/fractionalOrders.pyx
870:23 E741 ambiguous variable name 'I'
❌ /home/runner/work/PyNucleus/PyNucleus/nl/PyNucleus_nl/fractionalLaplacian2D.pyx
12:36 'INDEX' imported but unused
❌ /home/runner/work/PyNucleus/PyNucleus/nl/PyNucleus_nl/twoPointFunctions.pyx
15:36 'INDEX' imported but unused
❌ /home/runner/work/PyNucleus/PyNucleus/nl/PyNucleus_nl/clusterMethodCy.pyx
34:55 dangerous default value!
❌ /home/runner/work/PyNucleus/PyNucleus/nl/PyNucleus_nl/nonlocalOperator_COMPLEX.pxi
122:21 E741 ambiguous variable name 'l'
❌ /home/runner/work/PyNucleus/PyNucleus/nl/PyNucleus_nl/kernelNormalization.pyx
419:1 W391 blank line at end of file
❌ /home/runner/work/PyNucleus/PyNucleus/nl/PyNucleus_nl/nonlocalOperator_REAL.pxi
122:21 E741 ambiguous variable name 'l'
❌ /home/runner/work/PyNucleus/PyNucleus/nl/PyNucleus_nl/nonlocalAssembly_{SCALAR}.pxi
157:13 E741 ambiguous variable name 'I'
❌ /home/runner/work/PyNucleus/PyNucleus/nl/PyNucleus_nl/fractionalLaplacian1D.pyx
8:49 'pow' imported but unused
❌ /home/runner/work/PyNucleus/PyNucleus/nl/PyNucleus_nl/nonlocalOperator.pxd
74:1 W391 blank line at end of file
❌ /home/runner/work/PyNucleus/PyNucleus/nl/PyNucleus_nl/nonlocalOperator.pyx
41:13 E741 ambiguous variable name 'l'
❌ /home/runner/work/PyNucleus/PyNucleus/nl/PyNucleus_nl/interactionDomains.pyx
226:13 E741 ambiguous variable name 'l'
❌ /home/runner/work/PyNucleus/PyNucleus/nl/PyNucleus_nl/nonlocalAssembly_COMPLEX.pxi
157:13 E741 ambiguous variable name 'I'
❌ /home/runner/work/PyNucleus/PyNucleus/nl/PyNucleus_nl/fractionalLaplacian1D.pxd
51:1 W391 blank line at end of file
❌ /home/runner/work/PyNucleus/PyNucleus/nl/PyNucleus_nl/nonlocalOperator_{SCALAR}.pxi
122:21 E741 ambiguous variable name 'l'
❌ /home/runner/work/PyNucleus/PyNucleus/nl/PyNucleus_nl/kernelsCy.pyx
13:34 'mydot' imported but unused
❌ /home/runner/work/PyNucleus/PyNucleus/nl/PyNucleus_nl/kernelsCy.pxd
121:1 W391 blank line at end of file
❌ /home/runner/work/PyNucleus/PyNucleus/nl/PyNucleus_nl/nonlocalAssembly.pyx
20:58 'Product_DoFMap' imported but unused
❌ /home/runner/work/PyNucleus/PyNucleus/nl/PyNucleus_nl/bitset.pyx
61:9 E741 ambiguous variable name 'l'
❌ flake8-Linux-clang-3.10.xml
33 tests were completed in 1000ms with 0 passed, 33 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
flake8 | 33❌ | 1000ms |
❌ flake8
❌ base/PyNucleus_base/plot_utils.py
216:19 F821 undefined name 'np'
❌ base/PyNucleus_base/solver_factory.py
59:161 E501 line too long (206 > 160 characters)
❌ base/PyNucleus_base/utilsFem.py
107:13 E722 do not use bare 'except'
❌ base/setup.py
23:5 F401 'scipy' imported but unused
❌ drivers/brusselator.py
220:5 E741 ambiguous variable name 'I'
❌ drivers/brusselatorMovie.py
36:1 E722 do not use bare 'except'
❌ drivers/runNonlocal.py
10:1 F401 'PyNucleus.DIRICHLET' imported but unused
❌ drivers/runParallelGMG.py
285:161 E501 line too long (161 > 160 characters)
❌ drivers/variableOrder.py
18:1 F401 'PyNucleus.nl.fractionalOrders.smoothedLeftRightFractionalOrder' imported but unused
❌ examples/example1.py
123:1 W391 blank line at end of file
❌ examples/example2.py
124:1 W391 blank line at end of file
❌ examples/example3.py
97:1 W391 blank line at end of file
❌ fem/PyNucleus_fem/factories.py
12:1 F401 '.functions.real' imported but unused
❌ fem/PyNucleus_fem/mesh.py
253:21 E741 ambiguous variable name 'l'
❌ fem/PyNucleus_fem/meshConstruction.py
279:13 E129 visually indented line with same indent as next logical line
❌ multilevelSolver/PyNucleus_multilevelSolver/connectors.py
14:1 F401 'PyNucleus_base.myTypes.TAG' imported but unused
❌ multilevelSolver/PyNucleus_multilevelSolver/geometricMG.py
11:1 F401 'PyNucleus_base.utilsFem.getLoggingTimer' imported but unused
❌ multilevelSolver/PyNucleus_multilevelSolver/hierarchies.py
19:1 F401 '.levels.SPARSITY_PATTERN' imported but unused
❌ multilevelSolver/PyNucleus_multilevelSolver/levels.py
264:161 E501 line too long (181 > 160 characters)
❌ nl/PyNucleus_nl/discretizedProblems.py
10:1 F401 'PyNucleus_base.performanceLogger.PLogger' imported but unused
❌ nl/PyNucleus_nl/helpers.py
9:1 F401 'PyNucleus_base.utilsFem.getLoggingTimer' imported but unused
❌ nl/PyNucleus_nl/kernels.py
27:1 F401 '.kernelsCy.ComplexKernel' imported but unused
❌ nl/PyNucleus_nl/nonlocalProblems.py
12:1 F401 'PyNucleus_fem.mesh.box' imported but unused
❌ nl/PyNucleus_nl/operatorInterpolation.py
141:9 E731 do not assign a lambda expression, use a def
❌ packageTools/PyNucleus_packageTools/__init__.py
147:13 E722 do not use bare 'except'
❌ tests/bitArray.py
14:5 E741 ambiguous variable name 'I'
❌ tests/drift.py
44:17 E741 ambiguous variable name 'l'
❌ tests/drivers_base.py
8:1 F401 'mpi4py.MPI' imported but unused
❌ tests/test_base.py
8:1 F403 'from drivers_base import *' used; unable to detect undefined names
❌ tests/test_drivers_intFracLapl.py
224:1 E302 expected 2 blank lines, found 1
❌ tests/test_h2finiteHorizon.py
12:1 F401 'PyNucleus.nl.fractionalOrders.leftRightFractionalOrder' imported but unused
❌ tests/test_kernels.py
141:1 E305 expected 2 blank lines after class or function definition, found 1
❌ tests/test_nearField.py
382:1 E303 too many blank lines (4)
❌ test-results-Linux-clang-3.10.xml
5 tests were completed in 2s with 0 passed, 5 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
pytest | 5❌ | 2s |
❌ pytest
❌ tests.test_base
../../../.local/lib/python3.10/site-packages/_pytest/runner.py:341: in from_call
❌ tests.test_fracLapl
../../../.local/lib/python3.10/site-packages/_pytest/runner.py:341: in from_call
❌ tests.test_h2finiteHorizon
../../../.local/lib/python3.10/site-packages/_pytest/runner.py:341: in from_call
❌ tests.test_kernels
../../../.local/lib/python3.10/site-packages/_pytest/runner.py:341: in from_call
❌ tests.test_nearField
../../../.local/lib/python3.10/site-packages/_pytest/runner.py:341: in from_call
Annotations
Check failure on line 0 in cython-lint-Linux-clang-3.10.xml
github-actions / Report (Linux clang Python 3.10)
cython-lint ► /home/runner/work/PyNucleus/PyNucleus/base/PyNucleus_base/tupleDict.pyx
Failed test found in:
cython-lint-Linux-clang-3.10.xml
Error:
460:13 E741 ambiguous variable name 'l'
Raw output
460:13 E741 ambiguous variable name 'l'
Check failure on line 0 in cython-lint-Linux-clang-3.10.xml
github-actions / Report (Linux clang Python 3.10)
cython-lint ► /home/runner/work/PyNucleus/PyNucleus/base/PyNucleus_base/solvers.pyx
Failed test found in:
cython-lint-Linux-clang-3.10.xml
Error:
56:38 dangerous default value!
Raw output
56:38 dangerous default value!
Check failure on line 0 in cython-lint-Linux-clang-3.10.xml
github-actions / Report (Linux clang Python 3.10)
cython-lint ► /home/runner/work/PyNucleus/PyNucleus/base/PyNucleus_base/SSS_LinearOperator_COMPLEX.pxi
Failed test found in:
cython-lint-Linux-clang-3.10.xml
cython-lint-Linux-clang-3.10.xml
Error:
291:49 E127 continuation line over-indented for visual indent
Raw output
291:49 E127 continuation line over-indented for visual indent
Check failure on line 0 in cython-lint-Linux-clang-3.10.xml
github-actions / Report (Linux clang Python 3.10)
cython-lint ► /home/runner/work/PyNucleus/PyNucleus/base/PyNucleus_base/SSS_LinearOperator_{SCALAR}.pxi
Failed test found in:
cython-lint-Linux-clang-3.10.xml
Error:
367:17 E741 ambiguous variable name 'l'
Raw output
367:17 E741 ambiguous variable name 'l'
Check failure on line 0 in cython-lint-Linux-clang-3.10.xml
github-actions / Report (Linux clang Python 3.10)
cython-lint ► /home/runner/work/PyNucleus/PyNucleus/base/PyNucleus_base/CSR_LinearOperator_COMPLEX.pxi
Failed test found in:
cython-lint-Linux-clang-3.10.xml
cython-lint-Linux-clang-3.10.xml
Error:
285:46 E127 continuation line over-indented for visual indent
Raw output
285:46 E127 continuation line over-indented for visual indent
Check failure on line 0 in cython-lint-Linux-clang-3.10.xml
github-actions / Report (Linux clang Python 3.10)
cython-lint ► /home/runner/work/PyNucleus/PyNucleus/base/PyNucleus_base/sparseGraph.pyx
Failed test found in:
cython-lint-Linux-clang-3.10.xml
Error:
64:41 E741 ambiguous variable name 'l'
Raw output
64:41 E741 ambiguous variable name 'l'
Check failure on line 0 in cython-lint-Linux-clang-3.10.xml
github-actions / Report (Linux clang Python 3.10)
cython-lint ► /home/runner/work/PyNucleus/PyNucleus/base/PyNucleus_base/IJOperator_{SCALAR}.pxi
Failed test found in:
cython-lint-Linux-clang-3.10.xml
cython-lint-Linux-clang-3.10.xml
cython-lint-Linux-clang-3.10.xml
Error:
37:9 E741 ambiguous variable name 'I'
Raw output
37:9 E741 ambiguous variable name 'I'
Check failure on line 0 in cython-lint-Linux-clang-3.10.xml
github-actions / Report (Linux clang Python 3.10)
cython-lint ► /home/runner/work/PyNucleus/PyNucleus/base/PyNucleus_base/ip_norm.pyx
Failed test found in:
cython-lint-Linux-clang-3.10.xml
Error:
261:23 E741 ambiguous variable name 'I'
Raw output
261:23 E741 ambiguous variable name 'I'
Check failure on line 0 in cython-lint-Linux-clang-3.10.xml
github-actions / Report (Linux clang Python 3.10)
cython-lint ► /home/runner/work/PyNucleus/PyNucleus/base/PyNucleus_base/io.pyx
Failed test found in:
cython-lint-Linux-clang-3.10.xml
Error:
42:58 E741 ambiguous variable name 'I'
Raw output
42:58 E741 ambiguous variable name 'I'
Check failure on line 0 in cython-lint-Linux-clang-3.10.xml
github-actions / Report (Linux clang Python 3.10)
cython-lint ► /home/runner/work/PyNucleus/PyNucleus/base/PyNucleus_base/opt_true_mkl_trisolve.pxi
Failed test found in:
cython-lint-Linux-clang-3.10.xml
Error:
62:13 E722 do not use bare 'except'
Raw output
62:13 E722 do not use bare 'except'
Check failure on line 0 in cython-lint-Linux-clang-3.10.xml
github-actions / Report (Linux clang Python 3.10)
cython-lint ► /home/runner/work/PyNucleus/PyNucleus/base/PyNucleus_base/tupleDict_INDEX.pxi
Failed test found in:
cython-lint-Linux-clang-3.10.xml
cython-lint-Linux-clang-3.10.xml
Error:
39:9 E741 ambiguous variable name 'l'
Raw output
39:9 E741 ambiguous variable name 'l'