pythondotorg icon indicating copy to clipboard operation
pythondotorg copied to clipboard

unused import in sourcecode

Open vignesh7056 opened this issue 1 year ago • 5 comments

downloads/tests/test_views.py

from rest_framework.authtoken.models import Token

this is an unused import can be removed

vignesh7056 avatar Mar 26 '23 10:03 vignesh7056

I remove it and pushed the code and opened a pull request.Could you guide me as to run any tests.

Anuraag-CH avatar May 12 '23 19:05 Anuraag-CH

ok give me the pr link

vignesh7056 avatar May 13 '23 03:05 vignesh7056

its a good practise to give a description for pull request. in this case " refactored source code by removing un used import belongs to "x" module to reduce the technical debt and increase readability of sourcce code."

vignesh7056 avatar May 13 '23 03:05 vignesh7056

Can I work on this issue, if its not resolved it yet?

sahanasurapureddy avatar Nov 19 '23 02:11 sahanasurapureddy

There's already a PR at https://github.com/python/pythondotorg/pull/2272

hugovk avatar Nov 19 '23 05:11 hugovk

Fixed by https://github.com/python/pythondotorg/pull/2272.

hugovk avatar Sep 14 '24 14:09 hugovk