hhatto / autopep8

A tool that automatically formats Python code to conform to the PEP 8 style guide.
https://pypi.org/project/autopep8/
MIT License
4.54k stars 291 forks source link

add packaging as a dependency #703

Closed asottile closed 11 months ago

asottile commented 11 months ago

resolves #702

paugier commented 11 months ago

Hum, do we really need to add this dependency just to check if pycodestyle.missing_whitespace_around_operator exists?

https://github.com/hhatto/autopep8/pull/699 was simpler and does not introduce this dependency.

hhatto commented 11 months ago

@asottile @paugier I mistakenly thought the 'packaging' module was a standard module. I've made corrections to incorporate pull-request #699 and released version 2.0.4.