changeset 8191:30818cc18058

chore(ruff): suppress py2/py3 compatibility code thought useless
author John Rouillard <rouilj@ieee.org>
date Wed, 11 Dec 2024 13:19:49 -0500
parents 569aff540a21
children b4d7f9358ba6
files roundup/rest.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/roundup/rest.py	Wed Dec 11 13:17:42 2024 -0500
+++ b/roundup/rest.py	Wed Dec 11 13:19:49 2024 -0500
@@ -55,7 +55,7 @@
 
 # Py3 compatible basestring
 try:
-    basestring
+    basestring  # noqa: B018
 except NameError:
     basestring = str
     unicode = str

Roundup Issue Tracker: http://roundup-tracker.org/