Shared Profiles - isort (original) (raw)

logo isort

Table of contents

As well as the built in profiles, you can define and share your own profiles.

All that's required is to create a Python package that exposes an entry point to a dictionary exposing profile settings under isort.profiles. An example is available within the isortrepo

Example .isort.cfg

[options.entry_points] isort.profiles = shared_profile=my_module:PROFILE