Skip to content

Conversation

@FlorianPfaff
Copy link
Owner

No description provided.

@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.77s
✅ JSON prettier 2 0 0 0 0.43s
✅ JSON v8r 2 0 0 3.35s
✅ MARKDOWN markdownlint 1 0 0 0 0.66s
✅ MARKDOWN markdown-table-formatter 1 0 0 0 0.26s
✅ PYTHON bandit 245 0 0 2.99s
✅ PYTHON black 245 2 0 0 5.64s
❌ PYTHON flake8 245 2 0 1.5s
✅ PYTHON isort 245 2 0 0 0.48s
✅ PYTHON mypy 245 0 0 3.61s
❌ PYTHON pylint 245 8 0 55.8s
❌ PYTHON ruff 245 2 2 0 0.04s
✅ REPOSITORY gitleaks yes no no 2.97s
✅ REPOSITORY git_diff yes no no 0.0s
✅ REPOSITORY secretlint yes no no 5.1s
✅ REPOSITORY syft yes no no 1.47s
✅ REPOSITORY trivy-sbom yes no no 1.1s
✅ REPOSITORY trufflehog yes no no 11.49s
✅ YAML prettier 9 1 0 0 0.63s
✅ YAML v8r 9 0 0 6.32s
✅ YAML yamllint 9 0 0 0.42s

Detailed Issues

❌ PYTHON / flake8 - 2 errors
pyrecest/distributions/cart_prod/se2_bingham_distribution.py:3:1: F401 'scipy.stats.multivariate_normal' imported but unused
pyrecest/distributions/cart_prod/se2_bingham_distribution.py:52:13: F821 undefined name 'BinghamDistribution'
❌ PYTHON / pylint - 8 errors
************* Module pyrecest.distributions.cart_prod.se2_bingham_distribution
pyrecest/distributions/cart_prod/se2_bingham_distribution.py:4:0: E0401: Unable to import 'pyrecest.distributions.cart_prod.abstract_se2_distribution' (import-error)
pyrecest/distributions/cart_prod/se2_bingham_distribution.py:4:0: E0611: No name 'abstract_se2_distribution' in module 'pyrecest.distributions.cart_prod' (no-name-in-module)
pyrecest/distributions/cart_prod/se2_bingham_distribution.py:35:8: W0107: Unnecessary pass statement (unnecessary-pass)
pyrecest/distributions/cart_prod/se2_bingham_distribution.py:30:24: W0613: Unused argument 'scalingFactor' (unused-argument)
pyrecest/distributions/cart_prod/se2_bingham_distribution.py:30:76: W0613: Unused argument 'samplesForMatching' (unused-argument)
pyrecest/distributions/cart_prod/se2_bingham_distribution.py:44:12: E0602: Undefined variable 'BinghamDistribution' (undefined-variable)
pyrecest/distributions/cart_prod/se2_bingham_distribution.py:52:8: W0107: Unnecessary pass statement (unnecessary-pass)
pyrecest/distributions/cart_prod/se2_bingham_distribution.py:3:0: W0611: Unused multivariate_normal imported from scipy.stats (unused-import)

-----------------------------------
Your code has been rated at 9.98/10
❌ PYTHON / ruff - 2 errors
F821 Undefined name `BinghamDistribution`
  --> pyrecest/distributions/cart_prod/se2_bingham_distribution.py:51:13
   |
49 |         Z = Z - Z[2]
50 |         M = M[:, order]
51 |         b = BinghamDistribution(Z, M)
   |             ^^^^^^^^^^^^^^^^^^^
52 |         return b
   |

Found 2 errors (1 fixed, 1 remaining).

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

@github-actions
Copy link

Test Results

380 tests  ±0   380 ✔️ ±0   3m 38s ⏱️ +35s
    1 suites ±0       0 💤 ±0 
    1 files   ±0       0 ±0 

Results for commit 1ff0635. ± Comparison against base commit 4f712f2.

@github-actions
Copy link

github-actions bot commented Sep 17, 2023

Test Results

    9 files      9 suites   1h 52m 38s ⏱️
  449 tests   449 ✅   0 💤 0 ❌
4 200 runs  3 519 ✅ 681 💤 0 ❌

Results for commit 5e85a89.

♻️ This comment has been updated with latest results.

@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/AbstractSE2Distribution branch from 1ff0635 to 36c354b Compare January 19, 2024 21:12
@FlorianPfaff FlorianPfaff force-pushed the main branch 5 times, most recently from 022c55e to bb9ada8 Compare June 14, 2024 20:52
@FlorianPfaff FlorianPfaff changed the title Added AbstractSE2Distribution Added SE2BinghamDistribution Apr 14, 2025
@FlorianPfaff FlorianPfaff force-pushed the feature/AbstractSE2Distribution branch from 36c354b to 5e85a89 Compare November 14, 2025 17:34
@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