WeblateOrg / weblate

Web based localization tool with tight version control integration.
https://weblate.org/
GNU General Public License v3.0
4.52k stars 998 forks source link

chore(flags): simplify flags storage #11924

Closed nijel closed 3 months ago

nijel commented 3 months ago

Proposed changes

Checklist

Other information

codecov[bot] commented 3 months ago

Codecov Report

Attention: Patch coverage is 72.50000% with 11 lines in your changes missing coverage. Please review.

Project coverage is 90.61%. Comparing base (6aee586) to head (126e591). Report is 4215 commits behind head on main.

Files with missing lines Patch % Lines
weblate/checks/flags.py 72.50% 8 Missing and 3 partials :warning:
Additional details and impacted files [![Impacted file tree graph](https://app.codecov.io/gh/WeblateOrg/weblate/pull/11924/graphs/tree.svg?width=650&height=150&src=pr&token=9rzx9QBq35&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=WeblateOrg)](https://app.codecov.io/gh/WeblateOrg/weblate/pull/11924?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=WeblateOrg) ```diff @@ Coverage Diff @@ ## main #11924 +/- ## ========================================== - Coverage 90.82% 90.61% -0.21% ========================================== Files 554 577 +23 Lines 57306 58822 +1516 Branches 9122 9393 +271 ========================================== + Hits 52046 53300 +1254 - Misses 3640 3829 +189 - Partials 1620 1693 +73 ``` | [Files with missing lines](https://app.codecov.io/gh/WeblateOrg/weblate/pull/11924?dropdown=coverage&src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=WeblateOrg) | Coverage Δ | | |---|---|---| | [weblate/checks/flags.py](https://app.codecov.io/gh/WeblateOrg/weblate/pull/11924?src=pr&el=tree&filepath=weblate%2Fchecks%2Fflags.py&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=WeblateOrg#diff-d2VibGF0ZS9jaGVja3MvZmxhZ3MucHk=) | `86.72% <72.50%> (-1.48%)` | :arrow_down: | ... and [332 files with indirect coverage changes](https://app.codecov.io/gh/WeblateOrg/weblate/pull/11924/indirect-changes?src=pr&el=tree-more&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=WeblateOrg)