Skip to content

Conversation

@FlorianPfaff
Copy link
Owner

No description provided.

@github-actions
Copy link

github-actions bot commented Sep 17, 2023

Test Results

0 tests   0 ✅  0s ⏱️
0 suites  0 💤
0 files    0 ❌

Results for commit 3227c12.

♻️ This comment has been updated with latest results.

@github-actions
Copy link

github-actions bot commented Sep 17, 2023

MegaLinter analysis: Error

Descriptor Linter Files Fixed Errors Warnings Elapsed time
✅ ACTION actionlint 5 0 0 0.13s
✅ COPYPASTE jscpd yes no no 5.55s
✅ JSON prettier 2 0 0 0 0.54s
✅ JSON v8r 2 0 0 2.29s
✅ MARKDOWN markdownlint 1 0 0 0 0.68s
✅ MARKDOWN markdown-table-formatter 1 0 0 0 0.25s
✅ PYTHON bandit 246 0 0 2.97s
⚠️ PYTHON black 246 2 1 0 5.65s
❌ PYTHON flake8 246 1 0 1.49s
✅ PYTHON isort 246 3 0 0 0.47s
❌ PYTHON mypy 246 1 0 0.28s
❌ PYTHON pylint 246 3 0 57.31s
❌ PYTHON ruff 246 3 6 0 0.07s
✅ REPOSITORY gitleaks yes no no 3.38s
✅ REPOSITORY git_diff yes no no 0.01s
✅ REPOSITORY secretlint yes no no 4.72s
✅ REPOSITORY syft yes no no 1.4s
✅ REPOSITORY trivy-sbom yes no no 1.13s
✅ REPOSITORY trufflehog yes no no 10.82s
✅ YAML prettier 9 1 0 0 0.64s
✅ YAML v8r 9 0 0 6.23s
✅ YAML yamllint 9 0 0 0.49s

Detailed Issues

❌ PYTHON / flake8 - 1 error
pyrecest/distributions/circle/circular_grid_distribution.py:5:2: E999 SyntaxError: invalid syntax
❌ PYTHON / mypy - 1 error
pyrecest/distributions/circle/circular_grid_distribution.py:9: error: Invalid syntax  [syntax]
Found 1 error in 1 file (errors prevented further checking)
❌ PYTHON / pylint - 3 errors
************* Module pyrecest.distributions.circle.circular_grid_distribution
pyrecest/distributions/circle/circular_grid_distribution.py:5:1: E0001: Parsing failed: 'invalid syntax (pyrecest.distributions.circle.circular_grid_distribution, line 5)' (syntax-error)
************* Module pyrecest.tests.distributions.test_circular_grid_distribution
pyrecest/tests/distributions/test_circular_grid_distribution.py:3:0: E0001: Cannot import 'pyrecest.distributions.circle.circular_grid_distribution' due to 'invalid syntax (pyrecest.distributions.circle.circular_grid_distribution, line 5)' (syntax-error)
pyrecest/tests/distributions/test_circular_grid_distribution.py:3:0: E0611: No name 'circular_grid_distribution' in module 'pyrecest.distributions.circle' (no-name-in-module)

-----------------------------------
Your code has been rated at 9.98/10
❌ PYTHON / ruff - 6 errors
invalid-syntax: Expected ')', found newline
  --> pyrecest/distributions/circle/circular_grid_distribution.py:8:11
   |
 6 |     array,
 7 |     ceil,
 8 |     floor,
   |           ^
 9 |     import,
10 |     isclose,
   |

invalid-syntax: Unexpected indentation
  --> pyrecest/distributions/circle/circular_grid_distribution.py:9:1
   |
 7 |     ceil,
 8 |     floor,
 9 |     import,
   | ^^^^
10 |     isclose,
11 |     linspace,
   |

invalid-syntax: Expected an import name
  --> pyrecest/distributions/circle/circular_grid_distribution.py:9:11
   |
 7 |     ceil,
 8 |     floor,
 9 |     import,
   |           ^
10 |     isclose,
11 |     linspace,
   |

invalid-syntax: Expected one or more symbol names after import
  --> pyrecest/distributions/circle/circular_grid_distribution.py:9:12
   |
 7 |     ceil,
 8 |     floor,
 9 |     import,
   |            ^
10 |     isclose,
11 |     linspace,
   |

invalid-syntax: Expected a statement
  --> pyrecest/distributions/circle/circular_grid_distribution.py:14:1
   |
12 |     maximum,
13 |     mod,
14 | )
   | ^
15 | from pyrecest.backend import numpy as np
16 | from pyrecest.backend import pi, round, sin, sqrt, sum, where
   |

invalid-syntax: Expected a statement
  --> pyrecest/distributions/circle/circular_grid_distribution.py:14:2
   |
12 |     maximum,
13 |     mod,
14 | )
   |  ^
15 | from pyrecest.backend import numpy as np
16 | from pyrecest.backend import pi, round, sin, sqrt, sum, where
   |

Found 6 errors.
⚠️ PYTHON / black - 1 error
error: cannot format pyrecest/distributions/circle/circular_grid_distribution.py: Cannot parse: 5:0: import numpy as np
reformatted pyrecest/tests/distributions/test_circular_grid_distribution.py
reformatted pyrecest/tests/distributions/test_spherical_harmonics_distribution_complex.py

Oh no! 💥 💔 💥
2 files reformatted, 243 files left unchanged, 1 file failed to reformat.

See detailed reports in MegaLinter artifacts

Your project could benefit from a custom flavor, which would allow you to run only the linters you need, and thus improve runtime performances. (Skip this info by defining FLAVOR_SUGGESTIONS: false)

  • Documentation: Custom Flavors
  • Command: npx mega-linter-runner@9.1.0 --custom-flavor-setup --custom-flavor-linters PYTHON_PYLINT,PYTHON_BLACK,PYTHON_FLAKE8,PYTHON_ISORT,PYTHON_BANDIT,PYTHON_MYPY,PYTHON_RUFF,ACTION_ACTIONLINT,COPYPASTE_JSCPD,JSON_V8R,JSON_PRETTIER,MARKDOWN_MARKDOWNLINT,MARKDOWN_MARKDOWN_TABLE_FORMATTER,REPOSITORY_GIT_DIFF,REPOSITORY_GITLEAKS,REPOSITORY_SECRETLINT,REPOSITORY_SYFT,REPOSITORY_TRIVY_SBOM,REPOSITORY_TRUFFLEHOG,YAML_PRETTIER,YAML_YAMLLINT,YAML_V8R

MegaLinter is graciously provided by OX Security

@FlorianPfaff FlorianPfaff force-pushed the main branch 3 times, most recently from 9b9c4f0 to a089dfc Compare September 29, 2023 12:45
@FlorianPfaff FlorianPfaff force-pushed the feature/CircularGridDistribution branch from 849285a to 2939f97 Compare January 19, 2024 21:20
@FlorianPfaff FlorianPfaff force-pushed the main branch 5 times, most recently from 022c55e to bb9ada8 Compare June 14, 2024 20:52
@FlorianPfaff FlorianPfaff force-pushed the feature/CircularGridDistribution branch 2 times, most recently from 091bc57 to 223c48b Compare March 19, 2025 18:15
@FlorianPfaff FlorianPfaff force-pushed the feature/CircularGridDistribution branch from 223c48b to 5d4a087 Compare March 27, 2025 18:53
@FlorianPfaff FlorianPfaff force-pushed the feature/CircularGridDistribution branch from 5d4a087 to 3227c12 Compare November 14, 2025 17:39
@FlorianPfaff FlorianPfaff force-pushed the main branch 3 times, most recently from cbbee9b to 22baafb Compare December 1, 2025 20:52
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.

2 participants