Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@Anselmoo
Copy link
Owner

@Anselmoo Anselmoo commented Dec 1, 2022

All PR-Submissions:


  • Have you followed the guidelines in our Contributing document?
  • Have you checked to ensure there aren't other open
    Pull Requests for the same
    update/change?

New ✨✨ Feature-Submissions:


Changes to ⚙️ Core-Features:


  • Have you added an explanation of what your changes do and why you'd like
    us to include them?
  • Have you written new tests for your core changes, as applicable?
  • Have you successfully run tests with your changes locally?

@sourcery-ai
Copy link
Contributor

sourcery-ai bot commented Dec 1, 2022

Sourcery Code Quality Report

❌  Merging this PR will decrease code quality in the affected files by 0.02%.

Quality metrics Before After Change
Complexity 11.20 🙂 11.20 🙂 0.00
Method Length 53.28 ⭐ 53.34 ⭐ 0.06 👎
Working memory 7.82 🙂 7.82 🙂 0.00
Quality 65.66% 🙂 65.64% 🙂 -0.02% 👎
Other metrics Before After Change
Lines 402 402 0
Changed files Quality Before Quality After Quality Change
spectrafit/report.py 65.66% 🙂 65.64% 🙂 -0.02% 👎

Here are some functions in these files that still need a tune-up:

File Function Complexity Length Working Memory Quality Recommendation
spectrafit/report.py fit_report_as_dict 33 ⛔ 345 ⛔ 14 😞 20.13% ⛔ Refactor to reduce nesting. Try splitting into smaller methods. Extract out complex expressions
spectrafit/report.py _extracted_gof_from_results 19 😞 213 ⛔ 12 😞 36.66% 😞 Refactor to reduce nesting. Try splitting into smaller methods. Extract out complex expressions

Legend and Explanation

The emojis denote the absolute quality of the code:

  • ⭐ excellent
  • 🙂 good
  • 😞 poor
  • ⛔ very poor

The 👍 and 👎 indicate whether the quality has improved or gotten worse with this pull request.


Please see our documentation here for details on how these metrics are calculated.

We are actively working on this report - lots more documentation and extra metrics to come!

Help us improve this quality report!

@github-actions github-actions bot added codespaces Everything connected to GitHub's Codespaces python Pull requests that update Python code labels Dec 1, 2022
@Anselmoo Anselmoo enabled auto-merge (squash) December 1, 2022 07:21
@sonarqubecloud
Copy link

sonarqubecloud bot commented Dec 1, 2022

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
0.0% 0.0% Duplication

@codecov
Copy link

codecov bot commented Dec 1, 2022

Codecov Report

Merging #508 (ac1e8b3) into main (46bd83a) will increase coverage by 0.13%.
The diff coverage is 100.00%.

@@            Coverage Diff             @@
##             main     #508      +/-   ##
==========================================
+ Coverage   99.31%   99.43%   +0.13%     
==========================================
  Files          27       27              
  Lines        2453     2453              
==========================================
+ Hits         2436     2439       +3     
+ Misses         17       14       -3     
Impacted Files Coverage Δ
spectrafit/report.py 96.08% <100.00%> (+1.48%) ⬆️

📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more

@Anselmoo Anselmoo disabled auto-merge December 1, 2022 08:50
@Anselmoo Anselmoo merged commit c9c5a64 into main Dec 1, 2022
@Anselmoo Anselmoo deleted the Anselmoo/issue507 branch December 1, 2022 08:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

codespaces Everything connected to GitHub's Codespaces python Pull requests that update Python code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Codespaces-Feature]: Update devcontainer format [Codespaces-Feature]: container for SpectraFit release

1 participant