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

Skip to content

Conversation

@Anselmoo
Copy link
Owner

@Anselmoo Anselmoo commented Nov 24, 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:


  • Does your submission pass tests?
  • Have you lint your code locally prior to submission? Fixed:
  • This PR is for a new feature, not a bug fix.

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?

@Anselmoo Anselmoo added this to the Refactoring Code milestone Nov 24, 2022
@github-actions github-actions bot added python Pull requests that update Python code testings labels Nov 24, 2022
@sourcery-ai
Copy link
Contributor

sourcery-ai bot commented Nov 24, 2022

Sourcery Code Quality Report

✅  Merging this PR will increase code quality in the affected files by 0.21%.

Quality metrics Before After Change
Complexity 0.00 ⭐ 0.00 ⭐ 0.00
Method Length 57.78 ⭐ 57.14 ⭐ -0.64 👍
Working memory 5.10 ⭐ 5.09 ⭐ -0.01 👍
Quality 85.76% 85.97% 0.21% 👍
Other metrics Before After Change
Lines 523 540 17
Changed files Quality Before Quality After Quality Change
spectrafit/plugins/test/test_notebook.py 85.73% ⭐ 85.85% ⭐ 0.12% 👍
spectrafit/utilities/test/test_transformer.py 86.79% ⭐ 88.16% ⭐ 1.37% 👍

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

File Function Complexity Length Working Memory Quality Recommendation
spectrafit/plugins/test/test_notebook.py args_out_fixture 0 ⭐ 158 😞 5 ⭐ 73.74% 🙂 Try splitting into smaller methods
spectrafit/plugins/test/test_notebook.py TestSpectraFitNotebook.test_export_df 0 ⭐ 150 😞 4 ⭐ 77.19% ⭐ Try splitting into smaller methods

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!

@sonarqubecloud
Copy link

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 Nov 24, 2022

Codecov Report

Merging #501 (42d4981) into main (d294a8a) will increase coverage by 0.34%.
The diff coverage is 100.00%.

@@            Coverage Diff             @@
##             main     #501      +/-   ##
==========================================
+ Coverage   98.86%   99.19%   +0.34%     
==========================================
  Files          27       27              
  Lines        2444     2455      +11     
==========================================
+ Hits         2416     2435      +19     
+ Misses         28       20       -8     
Impacted Files Coverage Δ
spectrafit/plugins/test/test_notebook.py 100.00% <100.00%> (ø)
spectrafit/utilities/test/test_transformer.py 100.00% <100.00%> (ø)
spectrafit/plugins/notebook.py 99.69% <0.00%> (+1.27%) ⬆️
spectrafit/utilities/transformer.py 94.12% <0.00%> (+23.53%) ⬆️

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

@Anselmoo Anselmoo merged commit 3548dfb into main Nov 24, 2022
@Anselmoo Anselmoo deleted the develop branch November 24, 2022 19:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

python Pull requests that update Python code testings

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant