Open sourcery-ai[bot] opened 4 years ago
Merging this PR leaves code quality unchanged.
Quality metrics | Before | After | Change |
---|---|---|---|
Complexity | 2.12 | 2.12 | 0.00 |
Method Length | 43.53 | 43.53 | 0.00 |
Quality | 8.81 | 8.81 | 0.00 |
Other metrics | Before | After | Change |
---|---|---|---|
Lines | 287 | 287 | 0 |
Changed files | Quality Before | Quality After | Quality Change |
---|---|---|---|
pytube/extract.py | 8.81 | 8.81 | 0.00 |
Here are some functions in these files that still need a tune-up:
File | Function | Complexity | Length | Overall | Recommendation |
---|---|---|---|---|---|
pytube/extract.py | apply_descrambler | 5 | 210.59 | 5.59 | Split out functionality |
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.
Pull Request #100 refactored by Sourcery.
Since the original Pull Request was opened as a fork in a contributor's repository, we are unable to create a Pull Request branching from it.
To incorporate these changes, you can either:
Merge this Pull Request instead of the original, or
Ask your contributor to locally incorporate these commits and push them to the original Pull Request
Incorporate changes via command line
NOTE: As code is pushed to the original Pull Request, Sourcery will re-run and update (force-push) this Pull Request with new refactorings as necessary. If Sourcery finds no refactorings at any point, this Pull Request will be closed automatically.
See our documentation here.
Run Sourcery locally
Reduce the feedback loop during development by using the Sourcery editor plugin: