.isort.cfg

.isort.cfg

# See the menu of settings available here:
#   https://github.com/timothycrosley/isort/wiki/isort-Settings

[settings]
indent='    '
line_length=200
lines_after_imports=2
skip=migrations

isort.sh

#!/bin/bash

isort -rc .  # work
isort -rc -sp . .  # work
isort -rc -sp .isort.cfg .  # not work
isort -rc -sp ./.isort.cfg .  # work

Usage

Waring

  • THIRDPARTY Difference
    • pip install xxx
    • python setup.py install

References

[1] isort@TT4IT, isort — A Python utility / library to sort imports

results matching ""

    No results matching ""