plengauer/Thoth

[MegaLinter][valid] Python: needs a black + isort pass across all 5 files

已关闭

#3,837 创建于 2026年7月24日

 (1 条评论) (1 个反应) (2 位负责人)Shell (13 个派生)auto 404
good first issue

仓库指标

星标
 (160 个星标)
PR 合并指标
 (PR 指标待抓取)

描述

From the 2026-07-24 Analyze run. Classified as a valid finding (bucket 1), trivially auto-fixable.

black flags all 5 Python files in the repo as unformatted:

  • demos/injection_deep_python/script.py
  • actions/instrument/job/sdk_factory.py
  • src/usr/share/opentelemetry_shell/agent.instrumentation.python/deep.py
  • src/usr/share/opentelemetry_shell/sdk.py
  • src/usr/share/opentelemetry_shell/opentelemetry_shell_sdk.py

isort flags import ordering issues in the same 5 files (sdk.py twice — looks like two separate import blocks in that file).

Running black . and isort . (the repo already has .isort.cfg configured with profile = black, so they should agree) should clear essentially all of this in one commit.

贡献者指南