BoboTiG / python-mss

An ultra fast cross-platform multiple screenshots module in pure Python using ctypes.
https://pypi.org/project/mss/
MIT License
1.01k stars 93 forks source link

tests: expand Python versions to 3.9 and 3.10 #193

Closed BoboTiG closed 4 years ago

sourcery-ai[bot] commented 4 years ago

Sourcery Code Quality Report

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

Quality metrics Before After Change
Complexity 2.20 ⭐ 2.20 ⭐ 0.00
Method Length 69.60 🙂 70.00 🙂 0.40 👎
Working memory 8.00 🙂 8.00 🙂 0.00
Quality 75.65% 75.58% -0.07% 👎
Other metrics Before After Change
Lines 73 74 1
Changed files Quality Before Quality After Quality Change
mss/tests/test_third_party.py 75.65% ⭐ 75.58% ⭐ -0.07% 👎

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

File Function Complexity Length Working Memory Quality Recommendation
mss/tests/test_third_party.py test_pil_bgra 3 ⭐ 95 🙂 11 😞 64.81% 🙂 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!

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