Update to recent hacking

With the switch to testing on Python 3.12, a more recent version of
hacking is needed.

Fix a few instances of "E275 missing whitespace after keyword" which
seems to be a recent addition to the nit-picking.

Change-Id: I2cb1066b75622147b1bd8cb9378cdd3b9931ad17
This commit is contained in:
Jeremy Stanley
2024-09-28 01:32:08 +00:00
parent 287f8d5063
commit c4878c9474
2 changed files with 4 additions and 4 deletions

View File

@@ -94,7 +94,7 @@ class PTGDataBase():
def add_etherpad(self, track, etherpad):
if etherpad == 'auto':
if track in self.data['etherpads']:
del(self.data['etherpads'][track])
del self.data['etherpads'][track]
else:
self.data['etherpads'][track] = etherpad
self.save()
@@ -102,7 +102,7 @@ class PTGDataBase():
def add_url(self, track, url):
if url == 'none':
if track in self.data['urls']:
del(self.data['urls'][track])
del self.data['urls'][track]
else:
self.data['urls'][track] = url
self.save()
@@ -239,7 +239,7 @@ class PTGDataBase():
self.save()
def motd_del(self, num):
del(self.data['motd'][int(num) - 1])
del self.data['motd'][int(num) - 1]
self.save()
def motd_clean(self):

View File

@@ -1,2 +1,2 @@
hacking>=3.0,<4.1.0 # Apache-2.0
hacking>=7,<8 # Apache-2.0
stestr>=2.0.0 # Apache-2.0