plengauer/Thoth

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

Open

#3,837 opened on Jul 24, 2026

 (1 comment) (1 reaction) (2 assignees)Shell (13 forks)auto 404
good first issue

Repository metrics

Stars
 (160 stars)
PR merge metrics
 (PR metrics pending)

Description

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.

Contributor guide