a-luna / vigorish

MLB data web scraper, Python CLI application
https://aaronluna.dev/projects/vigorish
MIT License
2 stars 2 forks source link

add season start, end dates for 2022 #868

Closed a-luna closed 2 years ago

sourcery-ai[bot] commented 2 years ago

Sourcery Code Quality Report

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

Quality metrics Before After Change
Complexity 1.60 ⭐ 1.60 ⭐ 0.00
Method Length 150.33 😞 165.67 😞 15.34 👎
Working memory 7.20 🙂 7.20 🙂 0.00
Quality 68.05% 🙂 67.81% 🙂 -0.24% 👎
Other metrics Before After Change
Lines 138 151 13
Changed files Quality Before Quality After Quality Change
src/vigorish/setup/populate_seasons.py 68.05% 🙂 67.81% 🙂 -0.24% 👎

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

File Function Complexity Length Working Memory Quality Recommendation
src/vigorish/setup/populate_seasons.py add_mlb_seasons 2 ⭐ 462 ⛔ 10 😞 48.45% 😞 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!