Skip to content

Conversation

@gpauloski
Copy link
Collaborator

Description

Click v8.2.0 changed the return code of the "help" output when no args are passed to be 2 rather than 0. We now check the error code based on the version of Click.

Fixes N/A

Type of Change

  • Breaking Change (fix or enhancement which changes existing semantics of the public interface)
  • Enhancement (new features or improvements to existing functionality)
  • Bug (fixes for a bug or issue)
  • Internal (refactoring, style changes, testing, optimizations)
  • Documentation update (changes to documentation or examples)
  • Package (dependencies, versions, package metadata)
  • Development (CI workflows, pre-commit, linters, templates)
  • Security (security related changes)

Testing

Tests pass.

Pull Request Checklist

Please confirm the PR meets the following requirements.

  • Tags added to PR (e.g., breaking, bug, enhancement, internal, documentation, package, development, security).
  • Code changes pass pre-commit (e.g., mypy, ruff, etc.).
  • Tests have been added to show the fix is effective or that the new feature works.
  • New and existing unit tests pass locally with the changes.
  • Docs have been updated and reviewed if relevant.

@gpauloski gpauloski added the internal Refactoring, style changes, testing, or code optimizations label May 14, 2025
@gpauloski gpauloski force-pushed the click-error-codes branch from b71944d to 6836cd2 Compare May 14, 2025 14:09
@gpauloski gpauloski merged commit 18bfb9e into main May 14, 2025
12 checks passed
@gpauloski gpauloski deleted the click-error-codes branch May 14, 2025 14:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

internal Refactoring, style changes, testing, or code optimizations

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants