plengauer/Thoth

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

Chiusa

#3837 aperta il 24 lug 2026

 (1 commento) (1 reazione) (2 assegnatari)Shell (13 fork)auto 404
good first issue

Metriche repository

Star
 (160 stelle)
Metriche merge PR
 (Metriche PR in attesa)

Descrizione

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.

Guida contributor