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 f07e1b2.

♻️ 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 6.08s
✅ JSON prettier 2 0 0 0 0.44s
✅ JSON v8r 2 0 0 3.05s
✅ MARKDOWN markdownlint 1 0 0 0 0.68s
✅ MARKDOWN markdown-table-formatter 1 0 0 0 0.23s
✅ PYTHON bandit 245 0 0 3.04s
✅ PYTHON black 245 2 0 0 5.72s
❌ PYTHON flake8 245 2 0 1.52s
✅ PYTHON isort 245 2 0 0 0.48s
✅ PYTHON mypy 245 0 0 3.72s
❌ PYTHON pylint 245 9 0 58.51s
❌ PYTHON ruff 245 2 2 0 0.07s
✅ REPOSITORY gitleaks yes no no 3.11s
✅ REPOSITORY git_diff yes no no 0.01s
✅ REPOSITORY secretlint yes no no 4.83s
✅ REPOSITORY syft yes no no 1.42s
✅ REPOSITORY trivy-sbom yes no no 1.08s
✅ REPOSITORY trufflehog yes no no 10.77s
✅ YAML prettier 9 1 0 0 0.67s
✅ YAML v8r 9 0 0 6.16s
✅ YAML yamllint 9 0 0 0.52s

Detailed Issues

❌ PYTHON / flake8 - 2 errors
pyrecest/tests/distributions/test_toroidal_fourier_distribution.py:92:9: E741 ambiguous variable name 'l'
pyrecest/tests/distributions/test_toroidal_fourier_distribution.py:115:15: F821 undefined name 'HypertoroidalWrappedNormalDistribution'
❌ PYTHON / pylint - 9 errors
************* Module pyrecest.tests.distributions.test_toroidal_fourier_distribution
pyrecest/tests/distributions/test_toroidal_fourier_distribution.py:3:0: E0401: Unable to import 'pyrecest.distributions.hypertorus.toroidal_fourier_distribution' (import-error)
pyrecest/tests/distributions/test_toroidal_fourier_distribution.py:3:0: E0611: No name 'toroidal_fourier_distribution' in module 'pyrecest.distributions.hypertorus' (no-name-in-module)
pyrecest/tests/distributions/test_toroidal_fourier_distribution.py:5:0: E0401: Unable to import 'pyrecest.distributions.hypertorus.hypertoroidal_fourier_distribution' (import-error)
pyrecest/tests/distributions/test_toroidal_fourier_distribution.py:5:0: E0611: No name 'hypertoroidal_fourier_distribution' in module 'pyrecest.distributions.hypertorus' (no-name-in-module)
pyrecest/tests/distributions/test_toroidal_fourier_distribution.py:58:59: E1121: Too many positional arguments for method call (too-many-function-args)
pyrecest/tests/distributions/test_toroidal_fourier_distribution.py:59:68: E1121: Too many positional arguments for method call (too-many-function-args)
pyrecest/tests/distributions/test_toroidal_fourier_distribution.py:60:61: E1121: Too many positional arguments for method call (too-many-function-args)
pyrecest/tests/distributions/test_toroidal_fourier_distribution.py:61:70: E1121: Too many positional arguments for method call (too-many-function-args)
pyrecest/tests/distributions/test_toroidal_fourier_distribution.py:69:14: E0602: Undefined variable 'HypertoroidalWrappedNormalDistribution' (undefined-variable)

-----------------------------------
Your code has been rated at 9.95/10
❌ PYTHON / ruff - 2 errors
E741 Ambiguous variable name: `l`
  --> pyrecest/tests/distributions/test_toroidal_fourier_distribution.py:93:9
   |
91 |         )
92 |         tfd_sqrt = ToroidalFourierDistribution.from_distribution(tvm, [45, 49], "sqrt")
93 |         l = [0.3, 0.3]
   |         ^
94 |         r = [1.5, 1.5]
95 |         np.testing.assert_allclose(
   |

F821 Undefined name `HypertoroidalWrappedNormalDistribution`
   --> pyrecest/tests/distributions/test_toroidal_fourier_distribution.py:116:15
    |
114 |         mu = [1, 3]
115 |         C = [[9, 0.3], [0.3, 2]]
116 |         twn = HypertoroidalWrappedNormalDistribution(mu, C)
    |               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
117 |         tfd = ToroidalFourierDistribution.from_distribution(twn, 9, "identity")
118 |         twn_conv = tfd.to_twn()
    |

Found 2 errors.

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 [email protected] --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/ToroidalFourierDistribution branch 2 times, most recently from 0b53f7e to dd6a730 Compare January 19, 2024 21:19
@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/ToroidalFourierDistribution branch from dd6a730 to f07e1b2 Compare November 14, 2025 17:40
@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