Skip to content

Fix Ruff lint failure in currency conversion - #4

Draft
harshitkrhere wants to merge 2 commits into
mainfrom
copilot/fix-lint-job-failure
Draft

harshitkrhere wants to merge 2 commits into
mainfrom
copilot/fix-lint-job-failure

Conversation

@harshitkrhere

@harshitkrhere harshitkrhere commented Nov 23, 2026 •

Copy link
Copy Markdown
Member

What this changes

Combines the nested numeric-currency condition in ConvertCurrency.apply to satisfy Ruff SIM102 without changing conversion behavior.

How it was checked

  • ruff check . && ruff format --check .
  • mypy
  • pytest — targeted ConvertCurrency test passed
  • Docs and CHANGELOG.md updated, when users will notice the change

Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
@harshitkrhere harshitkrhere changed the title [WIP] Fix failing GitHub Actions job lint Fix Ruff lint failure in currency conversion Nov 23, 2026

This branch has not been deployed

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants