Skip to content

Commit

Permalink
Fix description of config lookup
Browse files Browse the repository at this point in the history
  • Loading branch information
qsantos authored Dec 8, 2020
1 parent 347a647 commit a0fdec0
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions docs/configuration/config_files.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ isort supports various standard config formats to allow customizations to be int
When applying configurations, isort looks for the closest supported config file, in the order files are listed below.
You can manually specify the settings file or path by setting `--settings-path` from the command-line. Otherwise, isort will
traverse up to 25 parent directories until it finds a suitable config file.
Note that isort will not leave a git or Mercurial repository (checking for a `.git` or `.hg` directory).
As soon as it finds a file, it stops looking. The config file search is done relative to the current directory if `isort .`
or a file stream is passed in, or relative to the first path passed in if multiple paths are passed in.
isort **never** merges config files together due to the confusion it can cause.
Expand Down

0 comments on commit a0fdec0

Please sign in to comment.