jazzband / django-silk

Silky smooth profiling for Django

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Should we consider requirement `autopep8` only as development only?

sshishov opened this issue · comments

Currently installing django-silk will install autopep8, which will install other libraries...

In my opinion it is not required for the functionality and therefore should not be required on production like environment (which is our development machine). It is only required for development of this library or for PR creation, no?

In my opinion on end user machine only "required" for functionality libraries should be installed

While in most libraries, autopep8 is used only in the build/test steps, in django-silk, autopep8 is used in the production environment https://github.com/albertyw/django-silk/blob/master/silk/code_generation/django_test_client.py which is used to generate test code to replay a request. Therefore, autopep8 must be installed as a dependency of django-silk.