autopep8 automatically formats Python code to conform to the PEP 8 style guide. It uses the pycodestyle utility to determine what parts of the code need to be formatted. autopep8 is capable of fixing most of the formatting issues that can be reported by pycodestyle. Correct deprecated or non-idiomatic Python code (via lib2to3). Use this for making Python 2.7 code more compatible with Python 3. Put a blank line between a class docstring and its first method declaration. Remove blank lines between a function declaration and its docstring.

Features

  • Normalize files with mixed line endings
  • By default autopep8 only makes whitespace changes
  • autopep8 can also use pyproject.toml
  • Broad spectrum testing is available
  • autopep8 is capable of fixing most of the formatting issues
  • It uses the pycodestyle utility to determine what parts of the code need formatting

Project Samples

Project Activity

See All Activity >

Categories

Data Formats

License

MIT License

Follow autopep8

autopep8 Web Site

Other Useful Business Software
Jscrambler: Pioneering Client-Side Protection Platform Icon
Jscrambler: Pioneering Client-Side Protection Platform

Jscrambler offers an exclusive blend of cutting-edge first-party JavaScript obfuscation and state-of-the-art third-party tag protection.

Jscrambler is the leader in Client-Side Protection and Compliance. We were the first to merge advanced polymorphic JavaScript obfuscation with fine-grained third-party tag protection in a unified Client-Side Protection and Compliance Platform. Our integrated solution ensures a robust defense against current and emerging client-side cyber threats, data leaks, and IP theft, empowering software development and digital teams to innovate securely. With Jscrambler, businesses adopt a unified, future-proof client-side security policy all while achieving compliance with emerging security standards including PCI DSS v4.0. Trusted by digital leaders worldwide, Jscrambler gives businesses the freedom to innovate securely.
Learn More
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of autopep8!

Additional Project Details

Operating Systems

Windows

Programming Language

Python

Related Categories

Python Data Formats Software

Registered

2022-02-11