plengauer/Thoth

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

Fermée

#3 837 ouverte le 24 juil. 2026

 (1 commentaire) (1 réaction) (2 personnes assignées)Shell (13 forks)auto 404
good first issue

Métriques du dépôt

Stars
 (160 étoiles)
Métriques de merge PR
 (Métriques PR en attente)

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.

Guide contributeur