Skip to content

Commit

Permalink
Merge pull request #1606 from qsantos/patch-1
Browse files Browse the repository at this point in the history
Fix description of config lookup
  • Loading branch information
timothycrosley authored Dec 9, 2020
2 parents 347a647 + a0fdec0 commit db8f55d
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 db8f55d

Please sign in to comment.