wooyek/cookiecutter-django-app

View on GitHub

Showing 1 of 1 total issue

Function bootstrap_venv has a Cognitive Complexity of 8 (exceeds 5 allowed). Consider refactoring.
Open

def bootstrap_venv():
# On Windows current python3 may just be python or not available from PATH
python = sys.executable or 'python3'
if PEW_AVAILABLE:
print("-------> Python Env Wrapper: Bootstrapping virtual environment")
Severity: Minor
Found in hooks/post_gen_project.py - About 45 mins to fix
Severity
Category
Status
Source
Language