Skip to content

fixes #61#64

Merged
davanstrien merged 3 commits intomainfrom
csv-newline-fix
Apr 27, 2021
Merged

fixes #61#64
davanstrien merged 3 commits intomainfrom
csv-newline-fix

Conversation

@davanstrien
Copy link
Owner

fixes #61

@sourcery-ai
Copy link
Contributor

sourcery-ai bot commented Apr 27, 2021

Sourcery Code Quality Report

Merging this PR leaves code quality unchanged.

Quality metrics Before After Change
Complexity 0.97 ⭐ 0.97 ⭐ 0.00
Method Length 40.64 ⭐ 40.64 ⭐ 0.00
Working memory 8.53 🙂 8.53 🙂 0.00
Quality 76.03% 76.03% 0.00%
Other metrics Before After Change
Lines 194 194 0
Changed files Quality Before Quality After Quality Change
src/flyswot/inference.py 76.03% ⭐ 76.03% ⭐ 0.00%

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

File Function Complexity Length Working Memory Quality Recommendation
src/flyswot/inference.py predict_directory 1 ⭐ 192 😞 15 😞 50.15% 🙂 Try splitting into smaller methods. Extract out complex expressions
src/flyswot/inference.py print_table 4 ⭐ 106 🙂 10 😞 64.21% 🙂 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!

Let us know what you think of it by mentioning @sourcery-ai in a comment.

@davanstrien davanstrien merged commit 29e4abd into main Apr 27, 2021
@davanstrien davanstrien deleted the csv-newline-fix branch April 27, 2021 10:37
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.

check csv output doesn't have blank lines

1 participant