- 25 8月, 2020 1 次提交
-
-
由 Timothy Crosley 创作于
-
- 23 8月, 2020 11 次提交
-
-
由 Timothy Crosley 创作于
-
由 Timothy Crosley 创作于
-
由 Timothy Crosley 创作于
-
由 Timothy Crosley 创作于
-
由 Timothy Crosley 创作于
-
由 Timothy Crosley 创作于
-
由 Timothy Crosley 创作于
-
由 Timothy Crosley 创作于
-
由 Timothy Crosley 创作于
-
由 Timothy Crosley 创作于
-
由 Timothy Edmund Crosley 创作于
Extends git_hook to allow for a user-specified configuration file.
-
- 22 8月, 2020 9 次提交
-
-
由 Luca Di Sera 创作于
In `test_git_hook_uses_the_configuration_file_specified_in_settings_path`, `modified_file_path` incorrectly pointed to a file that was a sibling of the configuration file, such that the configuration file would have been found indepently of the `settings_file` configuration. `modified_file_path` now points to a file that lives one level higher than the configuration file.
-
由 Luca Di Sera 创作于
The behavior of the `git_hook` function was to search for a configuration file by starting from the directory containing the first staged file and moving upwards until a configuration file was found or a certain number of directories were checked. If the project configuration file is not stored in a directory that is a parent to each python file in the codebase, the `git_hook` function was unable to retrieve the file. For example, this might happen with a configuration such as the following: ``` git-root/ config/ .isort.cfg src/ ... ``` To allow for the `git_hook` function to support those project structures without breaking backwards compatibility, an optional argument, `settings_file`, was added to it. When `settings_file` is the empty string the function behaves as before. Otherwise, `settings_file` is considered a path to a valid configuration file that will be used for the hook's run. A test in `tests/test_hooks.py` was added to cover for this case. `README.md#Git hook` was modified to mention the new interface.
-
-
由 Timothy Crosley 创作于
-
由 Timothy Edmund Crosley 创作于
Issue/1389/ensure new line before comments bug
-
由 Timothy Crosley 创作于
-
由 Timothy Crosley 创作于
Fixed #1395: reverse_relative setting doesn't have any effect when combined with force_sort_within_sections.
-
由 Timothy Crosley 创作于
-
由 Timothy Crosley 创作于
-
- 18 8月, 2020 2 次提交
-
-
由 Tamas Szabo 创作于
-
由 Tamas Szabo 创作于
Changes existing test's configuration so it has no lines between sections. The default of 1 masks the error.
-
- 16 8月, 2020 2 次提交
-
-
由 Timothy Crosley 创作于
-
由 Timothy Crosley 创作于
-
- 15 8月, 2020 7 次提交
-
-
由 Timothy Crosley 创作于
-
-
由 Timothy Crosley 创作于
-
由 Timothy Edmund Crosley 创作于
Fix the first known party path expansion
-
-
由 Timothy Crosley 创作于
-
由 Timothy Edmund Crosley 创作于
Fix typo
-
- 14 8月, 2020 4 次提交
-
-
由 Krzysztof Jagiello 创作于
-
由 Abdullah Dursun 创作于
-
由 Timothy Crosley 创作于
-
由 Timothy Crosley 创作于
-
- 13 8月, 2020 4 次提交
-
-
由 Timothy Crosley 创作于
-
由 Timothy Crosley 创作于
-
由 Timothy Edmund Crosley 创作于
Bugfix #1321: --combine-as loses comment
-
由 Timothy Edmund Crosley 创作于
Bugfix #1375: --dont-order-by-type broken
-