amogorkon / justuse

Just use() code from anywhere - a functional import alternative with advanced features like inline version checks, autoreload, module globals injection before import and more.
MIT License
49 stars 8 forks source link

0.7.1 Release #467

Closed greyblue9 closed 2 years ago

greyblue9 commented 2 years ago

Fixes setup.py

sourcery-ai[bot] commented 2 years ago

Sourcery Code Quality Report

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

Quality metrics Before After Change
Complexity 2.52 ⭐ 2.52 ⭐ 0.00
Method Length 168.50 😞 168.75 😞 0.25 πŸ‘Ž
Working memory 10.09 😞 10.09 😞 0.00
Quality 55.57% πŸ™‚ 55.56% πŸ™‚ -0.01% πŸ‘Ž
Other metrics Before After Change
Lines 281 282 1
Changed files Quality Before Quality After Quality Change
setup.py 54.15% πŸ™‚ 54.07% πŸ™‚ -0.08% πŸ‘Ž
src/use/init.py 55.78% πŸ™‚ 55.78% πŸ™‚ 0.00%

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

File Function Complexity Length Working Memory Quality Recommendation

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!

codecov-commenter commented 2 years ago

Codecov Report

Merging #467 (ceb7465) into main (c1b83a0) will not change coverage. The diff coverage is 100.0000%.

Impacted file tree graph

@@             Coverage Diff             @@
##               main       #467   +/-   ##
===========================================
  Coverage   69.1929%   69.1929%           
===========================================
  Files            12         12           
  Lines          1623       1623           
  Branches        340        340           
===========================================
  Hits           1123       1123           
  Misses          394        394           
  Partials        106        106           
Impacted Files Coverage Ξ”
setup.py 100.0000% <ΓΈ> (ΓΈ)
src/use/__init__.py 86.4078% <100.0000%> (ΓΈ)

Impacted file tree graph