Skip to content
GitLab
探索
项目
群组
代码片段
项目
群组
代码片段
/
帮助
帮助
支持
社区论坛
快捷键
?
提交反馈
登录
切换导航
菜单
打开侧边栏
ExternalRepo
isort
提交
21b50979
提交
21b50979
编辑于
4年前
作者:
Timothy Crosley
浏览文件
操作
下载
电子邮件补丁
差异文件
black
上级
669a6c36
main
ci/general-ci-improvements
ci/release-workflow
dependabot/pip/black-24.3.0
dependabot/pip/idna-3.7
dependabot/pip/jinja2-3.1.4
hotfix-5.11.5
issue/1208-namespace-import-from-support
issue/1566
issue/1582-dont-follow-links
issue/1596
issue/1612
issue/1639
issue/1792-fix-literal-sort-at-top
prepare-release-6.0.0
5.13.2
5.13.1
5.13.0
5.12.0
5.11.5
5.11.4
5.11.3
5.11.2
5.11.1
5.11.0
5.10.1
5.10.0
5.9.3
5.9.2
5.9.1
5.9.0
5.8.0
5.7.0
v5.11.3
无相关合并请求
变更
1
Hide whitespace changes
Inline
Side-by-side
显示
1 个更改的文件
isort/main.py
+3
-1
isort/main.py
有
3 个添加
和
1 个删除
+3
-1
isort/main.py
+
3
-
1
浏览文件 @
21b50979
...
...
@@ -147,7 +147,9 @@ def iter_source_code(
for
path
in
paths
:
if
os
.
path
.
isdir
(
path
):
for
dirpath
,
dirnames
,
filenames
in
os
.
walk
(
path
,
topdown
=
True
,
followlinks
=
config
.
follow_links
):
for
dirpath
,
dirnames
,
filenames
in
os
.
walk
(
path
,
topdown
=
True
,
followlinks
=
config
.
follow_links
):
base_path
=
Path
(
dirpath
)
for
dirname
in
list
(
dirnames
):
full_path
=
base_path
/
dirname
...
...
This diff is collapsed.
Click to expand it.
编辑
预览
支持
Markdown
0%
请重试
或
添加新附件
.
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录
菜单
探索
项目
群组
代码片段