Skip to content

silence warnings

silence warnings #26

GitHub Actions / Flake8 report (Python 3.11) succeeded Sep 19, 2023 in 0s

Flake8 report (Python 3.11) ✅

Tests failed

❌ flake8-3.11.xml

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

Test suite Passed Failed Skipped Time
flake8 31❌ 1000ms

❌ flake8

❌ base/PyNucleus_base/plot_utils.py
	217: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
	258: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/example1.py
	123:1 W391 blank line at end of file
❌ 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
	246: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
	25:1 F401 '.kernelsCy.FRACTIONAL' imported but unused
❌ nl/PyNucleus_nl/helpers.py
	229:9 E129 visually indented line with same indent as next logical line
❌ 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_fracLapl.py
	239:1 W391 blank line at end of file
❌ 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-3.11.xml

See this annotation in the file changed.

@github-actions github-actions / Flake8 report (Python 3.11)

flake8 ► base/PyNucleus_base/plot_utils.py

Failed test found in:
  flake8-3.11.xml
Error:
  217:19 F821 undefined name 'np'
Raw output
217:19 F821 undefined name 'np'

Check failure on line 0 in flake8-3.11.xml

See this annotation in the file changed.

@github-actions github-actions / Flake8 report (Python 3.11)

flake8 ► base/PyNucleus_base/solver_factory.py

Failed test found in:
  flake8-3.11.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-3.11.xml

See this annotation in the file changed.

@github-actions github-actions / Flake8 report (Python 3.11)

flake8 ► base/PyNucleus_base/utilsFem.py

Failed test found in:
  flake8-3.11.xml
Error:
  258:13 E722 do not use bare 'except'
Raw output
258:13 E722 do not use bare 'except'

Check failure on line 0 in flake8-3.11.xml

See this annotation in the file changed.

@github-actions github-actions / Flake8 report (Python 3.11)

flake8 ► base/setup.py

Failed test found in:
  flake8-3.11.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-3.11.xml

See this annotation in the file changed.

@github-actions github-actions / Flake8 report (Python 3.11)

flake8 ► drivers/brusselator.py

Failed test found in:
  flake8-3.11.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-3.11.xml

See this annotation in the file changed.

@github-actions github-actions / Flake8 report (Python 3.11)

flake8 ► drivers/brusselatorMovie.py

Failed test found in:
  flake8-3.11.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-3.11.xml

See this annotation in the file changed.

@github-actions github-actions / Flake8 report (Python 3.11)

flake8 ► drivers/example1.py

Failed test found in:
  flake8-3.11.xml
Error:
  123:1 W391 blank line at end of file
Raw output
123:1 W391 blank line at end of file

Check failure on line 0 in flake8-3.11.xml

See this annotation in the file changed.

@github-actions github-actions / Flake8 report (Python 3.11)

flake8 ► drivers/runNonlocal.py

Failed test found in:
  flake8-3.11.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-3.11.xml

See this annotation in the file changed.

@github-actions github-actions / Flake8 report (Python 3.11)

flake8 ► drivers/runParallelGMG.py

Failed test found in:
  flake8-3.11.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-3.11.xml

See this annotation in the file changed.

@github-actions github-actions / Flake8 report (Python 3.11)

flake8 ► drivers/variableOrder.py

Failed test found in:
  flake8-3.11.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-3.11.xml

See this annotation in the file changed.

@github-actions github-actions / Flake8 report (Python 3.11)

flake8 ► fem/PyNucleus_fem/factories.py

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