jeffwright13 / pytest-fold

A Pytest plugin to make console output more manageable when there are multiple failed tests
MIT License
12 stars 2 forks source link

Renamed TUI files. #35

Closed jeffwright13 closed 2 years ago

sourcery-ai[bot] commented 2 years ago

Sourcery Code Quality Report

Merging this PR leaves code quality unchanged.

Quality metrics Before After Change
Complexity 19.15 😞 19.15 😞 0.00
Method Length 91.50 🙂 91.50 🙂 0.00
Working memory 8.70 🙂 8.70 🙂 0.00
Quality 52.32% 🙂 52.32% 🙂 0.00%
Other metrics Before After Change
Lines 262 262 0
Changed files Quality Before Quality After Quality Change
pytest_fold/plugin.py 52.32% 🙂 52.32% 🙂 0.00%

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

File Function Complexity Length Working Memory Quality Recommendation
pytest_fold/plugin.py pytest_configure 42 ⛔ 256 ⛔ 11 😞 24.72% ⛔ Refactor to reduce nesting. Try splitting into smaller methods. Extract out complex expressions
pytest_fold/plugin.py pytest_configure.tee_write 9 🙂 204 😞 8 🙂 53.59% 🙂 Try splitting into smaller methods

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!