Skip to content

fix: improve error message for non-PEP 621 pyproject.toml#1080

Merged
jkowalleck merged 1 commit into
mainfrom
fea/better-error-message-pyproject2component
Jul 23, 2026
Merged

fix: improve error message for non-PEP 621 pyproject.toml#1080
jkowalleck merged 1 commit into
mainfrom
fea/better-error-message-pyproject2component

Conversation

@jkowalleck

@jkowalleck jkowalleck commented Jul 23, 2026

Copy link
Copy Markdown
Member

Description

improved error message when pyproject is malformed or invalid

Resolves or fixes issue: #1079

AI Tool Disclosure

  • My contribution does not include any AI-generated content
  • My contribution includes AI-generated content, as disclosed below:
    • AI Tools: [e.g. GitHub CoPilot, ChatGPT, JetBrains Junie etc.]
    • LLMs and versions: [e.g. GPT-4.1, Claude Haiku 4.5, Gemini 2.5 Pro etc.]
    • Prompts: [Summarize the key prompts or instructions given to the AI tools]

Affirmation

Signed-off-by: Jan Kowalleck <jan.kowalleck@gmail.com>
@jkowalleck
jkowalleck requested a review from a team as a code owner July 23, 2026 12:55
@jkowalleck jkowalleck added the bug Something isn't working label Jul 23, 2026
@codacy-production

codacy-production Bot commented Jul 23, 2026

Copy link
Copy Markdown

Not up to standards ⛔

🟢 Issues 0 issues

Results:
0 new issues

View in Codacy

🟢 Metrics 0 complexity · 0 duplication

Metric Results
Complexity 0 (≤ 20 complexity)
Duplication 0

View in Codacy

🔴 Coverage 0.00% diff coverage · +0.00% coverage variation

Metric Results
Coverage variation +0.00% coverage variation (-1.00%)
Diff coverage 0.00% diff coverage (80.00%)

View coverage diff in Codacy

Coverage variation details
Coverable lines Covered lines Coverage
Common ancestor commit (b830c67) 1152 1117 96.96%
Head commit (61e4fbb) 1152 (+0) 1117 (+0) 96.96% (+0.00%)

Coverage variation is the difference between the coverage for the head and common ancestor commits of the pull request branch: <coverage of head commit> - <coverage of common ancestor commit>

Diff coverage details
Coverable lines Covered lines Diff coverage
Pull request (#1080) 1 0 0.00%

Diff coverage is the percentage of lines that are covered by tests out of the coverable lines that the pull request added or modified: <covered lines added or modified>/<coverable lines added or modified> * 100%

NEW Get contextual insights on your PRs based on Codacy's metrics, along with PR and Jira context, without leaving GitHub. Enable AI reviewer
TIP This summary will be updated as you push new changes.

@jkowalleck
jkowalleck merged commit 6715bd9 into main Jul 23, 2026
39 of 40 checks passed
@jkowalleck
jkowalleck deleted the fea/better-error-message-pyproject2component branch July 23, 2026 13:15
@jkowalleck

Copy link
Copy Markdown
Member Author

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant