Debian Codegraph @

docs/howto/shared_profiles.md

raw
1 # Shared profiles
2
3 As well as the [built in
4 profiles](../configuration/profiles.md), you
5 can define and share your own profiles.
6
7 All that's required is to create a Python package that exposes an entry point to
8 a dictionary exposing profile settings under `isort.profiles`. An example is
9 available [within the `isort`
10 repo](https://github.com/PyCQA/isort/tree/main/example_shared_isort_profile)
11
12 ## Example `.isort.cfg`
13
14 ```
15 [options.entry_points]
16 isort.profiles =
17 shared_profile=my_module:PROFILE
18 ```