From a8ff42bfa2680535c6afd9447f2a4f8f6e7b50a0 Mon Sep 17 00:00:00 2001 From: Sprite Date: Thu, 16 Jul 2026 13:46:54 +0000 Subject: [PATCH] [ACEM] llteacher x ruff Policy: Ruff 0.14.8 Fixed: 1 violations Original Violations: src/llteacher/management/commands/populate_test_database.py: F541 [*] f-string without any placeholders --> src/llteacher/management/commands/populate_test_database.py:652:27 | 650 | self.stdout.write(f"Submissions: {Submission.objects.count()}") 651 | 652 | self.stdout.write(f"\nTEST CREDENTIALS:") | ^^^^^^^^^^^^^^^^^^^^^^ 653 | self.stdout.write(f"All users have password: {DEFAULT_TEST_PASSWORD}") 654 | self.stdout.write("\nAdmin: admin") | help: Remove extraneous `f` prefix Found 1 error. [*] 1 fixable with the `--fix` option. Automated by ACEM - Initiative #25 --- src/llteacher/management/commands/populate_test_database.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/llteacher/management/commands/populate_test_database.py b/src/llteacher/management/commands/populate_test_database.py index ee56f13..aa90625 100644 --- a/src/llteacher/management/commands/populate_test_database.py +++ b/src/llteacher/management/commands/populate_test_database.py @@ -649,7 +649,7 @@ def print_summary(self): self.stdout.write(f"Messages: {Message.objects.count()}") self.stdout.write(f"Submissions: {Submission.objects.count()}") - self.stdout.write(f"\nTEST CREDENTIALS:") + self.stdout.write("\nTEST CREDENTIALS:") self.stdout.write(f"All users have password: {DEFAULT_TEST_PASSWORD}") self.stdout.write("\nAdmin: admin") self.stdout.write("Teachers: teacher1, teacher2")