ggirelli / iFISH-probe-design

iFISH Probe Design: a Python3 package to build iFISH probes.
https://ggirelli.github.io/iFISH-probe-design/
MIT License
10 stars 6 forks source link

v2.1.1.post1 #84

Closed ggirelli closed 2 years ago

sourcery-ai[bot] commented 2 years ago

Sourcery Code Quality Report

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

Quality metrics Before After Change
Complexity 0.81 ⭐ 0.86 ⭐ 0.05 👎
Method Length 39.60 ⭐ 40.40 ⭐ 0.80 👎
Working memory 6.95 🙂 6.86 🙂 -0.09 👍
Quality 80.38% 80.73% 0.35% 👍
Other metrics Before After Change
Lines 135 139 4
Changed files Quality Before Quality After Quality Change
ifpd/init.py 95.67% ⭐ 92.85% ⭐ -2.82% 👎
ifpd/const.py 99.83% ⭐ 100.00% ⭐ 0.17% 👍
ifpd/scripts/arguments.py 75.36% ⭐ 75.36% ⭐ 0.00%
ifpd/scripts/ifpd.py 84.80% ⭐ 84.80% ⭐ 0.00%

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

File Function Complexity Length Working Memory Quality Recommendation
ifpd/scripts/arguments.py check_n_oligo 2 ⭐ 128 😞 12 😞 59.78% 🙂 Try splitting into smaller methods. Extract out complex expressions

Legend and Explanation

The emojis denote the absolute quality of the code:

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!