use black code format for locale/pick-complete-translations.py

This commit is contained in:
Hans-Christoph Steiner 2025-03-25 12:05:42 +01:00
parent eef237de85
commit 0cce48dc04
No known key found for this signature in database
GPG Key ID: 3E177817BA1B9BFA
2 changed files with 8 additions and 7 deletions

View File

@ -27,12 +27,14 @@ else:
active = set()
print('name locale translated approved error-free')
for locale in sorted(data, key=lambda locale: locale['code']):
print('%26s' % locale['name'],
print(
'%26s' % locale['name'],
'%8s' % locale['code'],
'%0.1f%%' % locale['translated_percent'],
'%0.1f%%' % locale['approved_percent'],
'%0.1f%%' % (100 - locale['failing_percent']),
sep='\t')
sep='\t',
)
if locale['translated_percent'] >= 90 and locale['failing'] < 5:
active.add(locale['code'])

View File

@ -42,7 +42,6 @@ force-exclude = '''(
| fdroidserver/nightly\.py
| fdroidserver/update\.py
| fdroidserver/vmtools\.py
| locale/pick-complete-translations\.py
| tests/config\.py
| tests/extra/manual-vmtools-test\.py
| tests/gradle-release-checksums\.py