Skip to content

Fix i18n relative path + reformat using pre-commit#1740

Merged
JrooTJunior merged 2 commits intoaiogram:dev-3.xfrom
KatantDev:dev-3.x
Jan 1, 2026
Merged

Fix i18n relative path + reformat using pre-commit#1740
JrooTJunior merged 2 commits intoaiogram:dev-3.xfrom
KatantDev:dev-3.x

Conversation

@KatantDev
Copy link
Contributor

@KatantDev KatantDev commented Dec 8, 2025

Description

Fixed using string or relative path inside i18n class

Type of change

  • Bug fix (non-breaking change which fixes an issue)

How Has This Been Tested?

  • Added new test, that creates instance of I18n using relative path

Test Configuration:

  • Operating System: MacOS ARM64
  • Python version: Python 3.13.3

Checklist:

  • My code follows the style guidelines of this project
  • I have performed a self-review of my own code
  • I have made corresponding changes to the documentation
  • I have added tests that prove my fix is effective or that my feature works
  • New and existing unit tests pass locally with my changes

@github-actions github-actions bot added the 3.x Issue or PR for stable 3.x version label Dec 8, 2025
@github-actions
Copy link

github-actions bot commented Dec 8, 2025

✔️ Changelog found.

Thank you for adding a description of the changes

@codecov
Copy link

codecov bot commented Jan 1, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 100.00%. Comparing base (79ee135) to head (e8abd0d).
⚠️ Report is 2 commits behind head on dev-3.x.

Additional details and impacted files

Impacted file tree graph

@@            Coverage Diff            @@
##           dev-3.x     #1740   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files          591       591           
  Lines        13985     13985           
=========================================
  Hits         13985     13985           
Flag Coverage Δ
unittests 100.00% <100.00%> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

Files with missing lines Coverage Δ
aiogram/utils/i18n/core.py 100.00% <100.00%> (ø)
🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@JrooTJunior JrooTJunior merged commit 7201e82 into aiogram:dev-3.x Jan 1, 2026
41 of 42 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

3.x Issue or PR for stable 3.x version

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants