RockProfile / devfaq.com

Source code for the devfaq.com site.
MIT License
0 stars 0 forks source link

Added helper method for identifyig subdomain #5

Closed petermcd closed 2 years ago

petermcd commented 2 years ago

Implemented a feature to identify the subdomain.

sourcery-ai[bot] commented 2 years ago

Sourcery Code Quality Report

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

Quality metrics Before After Change
Complexity 0.00 ⭐ 0.00 ⭐ 0.00
Method Length 88.00 🙂 92.50 🙂 4.50 👎
Working memory 4.95 ⭐ 5.00 ⭐ 0.05 👎
Quality 75.66% 75.37% -0.29% 👎
Other metrics Before After Change
Lines 161 163 2
Changed files Quality Before Quality After Quality Change
devfaq/settings.py 74.67% 🙂 74.57% 🙂 -0.10% 👎
devfaq/urls.py 94.51% ⭐ 90.57% ⭐ -3.94% 👎

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

File Function Complexity Length Working Memory Quality Recommendation

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!