Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(i18n): change localization attributes' defaults (#1866) #2056

Merged
merged 2 commits into from
May 8, 2023
Merged

Conversation

Middledot
Copy link
Member

New PR to fix codeconv workflow

Summary

EDIT: This PR makes it so that l10n attrs are by default MISSING to be more API consistent.
I'd call this a minor breaking change.

Information

  • This PR fixes an issue.
  • This PR adds something new (e.g. new method or parameters).
  • This PR is a breaking change (e.g. methods or parameters removed/renamed).
  • This PR is not a code change (e.g. documentation, README, typehinting,
    examples, ...).

Checklist

  • I have searched the open pull requests for duplicates.
  • If code changes were made then they have been tested.
    • I have updated the documentation to reflect the changes.
  • If type: ignore comments were used, a comment is also left explaining why.

* chore(i18n): make defaults for l10ns an empty dict

* chore(changelog): add entry

* fix(changlog): update entry

oops

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

* feat(i18n): None -> MISSING

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

* Apply suggestions from code review

adapt

Co-authored-by: plun1331 <49261529+plun1331@users.noreply.github.com>
Signed-off-by: Middledot <78228142+Middledot@users.noreply.github.com>

---------

Signed-off-by: Middledot <78228142+Middledot@users.noreply.github.com>
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: plun1331 <49261529+plun1331@users.noreply.github.com>
Co-authored-by: Lala Sabathil <lala@pycord.dev>
@codecov
Copy link

codecov bot commented May 8, 2023

Codecov Report

Merging #2056 (bb9df80) into master (32e7b67) will increase coverage by 0.00%.
The diff coverage is 6.25%.

Additional details and impacted files

Impacted file tree graph

@@           Coverage Diff           @@
##           master    #2056   +/-   ##
=======================================
  Coverage   33.23%   33.24%           
=======================================
  Files          97       97           
  Lines       19038    19039    +1     
=======================================
+ Hits         6328     6329    +1     
  Misses      12710    12710           
Flag Coverage Δ
macos-latest-3.10 33.22% <6.25%> (+<0.01%) ⬆️
macos-latest-3.11 33.22% <6.25%> (+<0.01%) ⬆️
macos-latest-3.8 33.23% <6.25%> (+<0.01%) ⬆️
macos-latest-3.9 33.23% <6.25%> (+<0.01%) ⬆️
ubuntu-latest-3.10 33.22% <6.25%> (+<0.01%) ⬆️
ubuntu-latest-3.11 33.22% <6.25%> (+<0.01%) ⬆️
ubuntu-latest-3.8 33.23% <6.25%> (+<0.01%) ⬆️
ubuntu-latest-3.9 33.23% <6.25%> (+<0.01%) ⬆️
windows-latest-3.10 ?
windows-latest-3.11 ?
windows-latest-3.8 33.23% <6.25%> (+<0.01%) ⬆️
windows-latest-3.9 ?

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

Impacted Files Coverage Δ
discord/commands/core.py 17.99% <0.00%> (ø)
discord/commands/options.py 17.12% <16.66%> (+0.57%) ⬆️

Continue to review full report in Codecov by Sentry.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 32e7b67...bb9df80. Read the comment docs.

@Lulalaby Lulalaby enabled auto-merge (squash) May 8, 2023 15:26
@Lulalaby Lulalaby merged commit a09e728 into master May 8, 2023
@Lulalaby Lulalaby deleted the i18n branch May 8, 2023 15:31
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