Skip to content

Github Action changes #135

Github Action changes

Github Action changes #135

GitHub Actions / Flake8 report (Linux, gcc, Python 3.10) succeeded Nov 27, 2023 in 1s

Flake8 report (Linux, gcc, Python 3.10) ✅

Tests failed

❌ flake8-Linux-gcc-3.10.xml

29 tests were completed in 1000ms with 0 passed, 29 failed and 0 skipped.

Test suite Passed Failed Skipped Time
flake8 29❌ 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
❌ 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_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)

Annotations

Check failure on line 0 in flake8-Linux-gcc-3.10.xml

See this annotation in the file changed.

@github-actions github-actions / Flake8 report (Linux, gcc, Python 3.10)

flake8 ► base/PyNucleus_base/plot_utils.py

Failed test found in:
  flake8-Linux-gcc-3.10.xml
Error:
  216:19 F821 undefined name 'np'
Raw output
216:19 F821 undefined name 'np'

Check failure on line 0 in flake8-Linux-gcc-3.10.xml

See this annotation in the file changed.

@github-actions github-actions / Flake8 report (Linux, gcc, Python 3.10)

flake8 ► base/PyNucleus_base/solver_factory.py

Failed test found in:
  flake8-Linux-gcc-3.10.xml
Error:
  59:161 E501 line too long (206 > 160 characters)
Raw output
59:161 E501 line too long (206 > 160 characters)

Check failure on line 0 in flake8-Linux-gcc-3.10.xml

See this annotation in the file changed.

@github-actions github-actions / Flake8 report (Linux, gcc, Python 3.10)

flake8 ► base/PyNucleus_base/utilsFem.py

Failed test found in:
  flake8-Linux-gcc-3.10.xml
Error:
  107:13 E722 do not use bare 'except'
Raw output
107:13 E722 do not use bare 'except'

Check failure on line 0 in flake8-Linux-gcc-3.10.xml

See this annotation in the file changed.

@github-actions github-actions / Flake8 report (Linux, gcc, Python 3.10)

flake8 ► base/setup.py

Failed test found in:
  flake8-Linux-gcc-3.10.xml
Error:
  23:5 F401 'scipy' imported but unused
Raw output
23:5 F401 'scipy' imported but unused

Check failure on line 0 in flake8-Linux-gcc-3.10.xml

See this annotation in the file changed.

@github-actions github-actions / Flake8 report (Linux, gcc, Python 3.10)

flake8 ► drivers/brusselator.py

Failed test found in:
  flake8-Linux-gcc-3.10.xml
Error:
  220:5 E741 ambiguous variable name 'I'
Raw output
220:5 E741 ambiguous variable name 'I'

Check failure on line 0 in flake8-Linux-gcc-3.10.xml

See this annotation in the file changed.

@github-actions github-actions / Flake8 report (Linux, gcc, Python 3.10)

flake8 ► drivers/brusselatorMovie.py

Failed test found in:
  flake8-Linux-gcc-3.10.xml
Error:
  36:1 E722 do not use bare 'except'
Raw output
36:1 E722 do not use bare 'except'

Check failure on line 0 in flake8-Linux-gcc-3.10.xml

See this annotation in the file changed.

@github-actions github-actions / Flake8 report (Linux, gcc, Python 3.10)

flake8 ► drivers/runNonlocal.py

Failed test found in:
  flake8-Linux-gcc-3.10.xml
Error:
  10:1 F401 'PyNucleus.DIRICHLET' imported but unused
Raw output
10:1 F401 'PyNucleus.DIRICHLET' imported but unused

Check failure on line 0 in flake8-Linux-gcc-3.10.xml

See this annotation in the file changed.

@github-actions github-actions / Flake8 report (Linux, gcc, Python 3.10)

flake8 ► drivers/runParallelGMG.py

Failed test found in:
  flake8-Linux-gcc-3.10.xml
Error:
  285:161 E501 line too long (161 > 160 characters)
Raw output
285:161 E501 line too long (161 > 160 characters)

Check failure on line 0 in flake8-Linux-gcc-3.10.xml

See this annotation in the file changed.

@github-actions github-actions / Flake8 report (Linux, gcc, Python 3.10)

flake8 ► drivers/variableOrder.py

Failed test found in:
  flake8-Linux-gcc-3.10.xml
Error:
  18:1 F401 'PyNucleus.nl.fractionalOrders.smoothedLeftRightFractionalOrder' imported but unused
Raw output
18:1 F401 'PyNucleus.nl.fractionalOrders.smoothedLeftRightFractionalOrder' imported but unused

Check failure on line 0 in flake8-Linux-gcc-3.10.xml

See this annotation in the file changed.

@github-actions github-actions / Flake8 report (Linux, gcc, Python 3.10)

flake8 ► fem/PyNucleus_fem/factories.py

Failed test found in:
  flake8-Linux-gcc-3.10.xml
Error:
  12:1 F401 '.functions.real' imported but unused
Raw output
12:1 F401 '.functions.real' imported but unused

Check failure on line 0 in flake8-Linux-gcc-3.10.xml

See this annotation in the file changed.

@github-actions github-actions / Flake8 report (Linux, gcc, Python 3.10)

flake8 ► fem/PyNucleus_fem/mesh.py

Failed test found in:
  flake8-Linux-gcc-3.10.xml
Error:
  253:21 E741 ambiguous variable name 'l'
Raw output
253:21 E741 ambiguous variable name 'l'