avendesora / pythonbible

A python library for validating, parsing, normalizing scripture references and retrieving scripture texts (for open source and public domain versions)
https://docs.python.bible
MIT License
58 stars 11 forks source link

update develop with the latest from main #39

Closed avendesora closed 3 years ago

sourcery-ai[bot] commented 3 years ago

Sourcery Code Quality Report

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

Quality metrics Before After Change
Complexity 0.14 ⭐ 0.42 ⭐ 0.28 👎
Method Length 39.46 ⭐ 50.17 ⭐ 10.71 👎
Working memory 6.01 ⭐ 6.17 ⭐ 0.16 👎
Quality 84.72% 84.05% -0.67% 👎
Other metrics Before After Change
Lines 1379 1941 562
Changed files Quality Before Quality After Quality Change
pythonbible/init.py 81.99% ⭐ 81.99% ⭐ 0.00%
pythonbible/regular_expressions.py 48.88% 😞 48.09% 😞 -0.79% 👎
tests/conftest.py 97.67% ⭐ 96.91% ⭐ -0.76% 👎
tests/test_parser.py 90.11% ⭐ 89.05% ⭐ -1.06% 👎

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

File Function Complexity Length Working Memory Quality Recommendation
tests/conftest.py book_alternative_names_verbum 0 ⭐ 641 ⛔ 3 ⭐ 66.79% 🙂 Try splitting into smaller methods
tests/conftest.py book_alternative_names 0 ⭐ 630 ⛔ 3 ⭐ 66.80% 🙂 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!