osmith has submitted this change. ( 
https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/43304?usp=email )

Change subject: smdpp/generate_all_test_certificates: use f-string
......................................................................

smdpp/generate_all_test_certificates: use f-string

Related: https://docs.astral.sh/ruff/rules/f-string/
Change-Id: I2671f03e5f35d1e71fb3f090e90a37961fae6a1d
---
M .ruff.toml
M smdpp/generate_all_test_certificates.py
2 files changed, 1 insertion(+), 2 deletions(-)

Approvals:
  pespin: Looks good to me, but someone else must approve
  fixeria: Looks good to me, approved
  Jenkins Builder: Verified




diff --git a/.ruff.toml b/.ruff.toml
index 8a24384..53bd7ed 100644
--- a/.ruff.toml
+++ b/.ruff.toml
@@ -21,5 +21,4 @@
   "SIM102",  # https://docs.astral.sh/ruff/rules/collapsible-if/
   "SIM103",  # https://docs.astral.sh/ruff/rules/needless-bool/
   "SIM118",  # https://docs.astral.sh/ruff/rules/in-dict-keys/
-  "UP032",   # https://docs.astral.sh/ruff/rules/f-string/
 ]
diff --git a/smdpp/generate_all_test_certificates.py 
b/smdpp/generate_all_test_certificates.py
index 3bc1733..a53c30e 100755
--- a/smdpp/generate_all_test_certificates.py
+++ b/smdpp/generate_all_test_certificates.py
@@ -597,4 +597,4 @@
     print("\nGenerated certificates in ./InvalidTestCases/:")
     for cert in certificates_generated:
         print(f"  • {cert}")
-    print("\nTotal: {} certificates 
generated".format(len(certificates_generated)))
+    print(f"\nTotal: {len(certificates_generated)} certificates generated")

--
To view, visit https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/43304?usp=email
To unsubscribe, or for help writing mail filters, visit 
https://gerrit.osmocom.org/settings?usp=email

Gerrit-MessageType: merged
Gerrit-Project: osmo-ttcn3-hacks
Gerrit-Branch: master
Gerrit-Change-Id: I2671f03e5f35d1e71fb3f090e90a37961fae6a1d
Gerrit-Change-Number: 43304
Gerrit-PatchSet: 2
Gerrit-Owner: osmith <[email protected]>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: fixeria <[email protected]>
Gerrit-Reviewer: osmith <[email protected]>
Gerrit-Reviewer: pespin <[email protected]>

Reply via email to