Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion codecov.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@ coverage:
target: 90
patch:
default:
informational: true
target: 100
codecov:
branch: main
Expand Down
3 changes: 1 addition & 2 deletions weblate/lang/tests.py
Original file line number Diff line number Diff line change
Expand Up @@ -275,7 +275,7 @@
)

def test_basic_languages(self) -> None:
heads_up = []

Check failure on line 278 in weblate/lang/tests.py

View workflow job for this annotation

GitHub Actions / mypy

Need type annotation for "heads_up" (hint: "heads_up: list[<type>] = ...")
for i, lang in enumerate(TEST_LANGUAGE_GROUPS):
with self.subTest(f"Testing the '{lang[0]}' language group", i=i):
self.run_test(lang, heads_up)
Expand Down Expand Up @@ -404,8 +404,7 @@
def test_setuplang(self) -> None:
call_command("setuplang")
self.assertTrue(Language.objects.exists())
with self.assertNumQueries(3):
call_command("setuplang")
call_command("setuplang")

def test_setuplang_noupdate(self) -> None:
call_command("setuplang", update=False)
Expand Down
Loading