Skip to main content

Import Reformatter

Project description

Please cure my OCD

Sorts imports via length, cleans useless line breaks in them and
too much empty lines till begin of code

Usage

Don't.

Requirements

Your sanity...

If you're as lost as me

Backup at least, dont't trust me.

Quick Example

python ocd.py <path to .py file or folder>

Before

Before

After

After

Project details


Release history Release notifications | RSS feed

This version

1.0

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

ocd-import-1.0.tar.gz (3.2 kB view hashes)

Uploaded Source

Built Distribution

ocd_import-1.0-py3-none-any.whl (4.1 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page