Skip to content

Commit

Permalink
Merge pull request buildbot#7373 from pmisik/fix-ruff-manual-reformat
Browse files Browse the repository at this point in the history
Whitespace correction of commit "Manually fix string formatting after ruff"
  • Loading branch information
p12tic authored Jan 9, 2024
2 parents 23e8de6 + 0843e8a commit 6e72187
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion master/buildbot/db/changes.py
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ def addChange(

# verify that source is 'Change' for each property
for pv in properties.values():
assert pv[1] == 'Change', "properties must be qualified withsource 'Change'"
assert pv[1] == 'Change', "properties must be qualified with source 'Change'"

ch_tbl = self.db.model.changes

Expand Down
2 changes: 1 addition & 1 deletion master/buildbot/scripts/runner.py
Original file line number Diff line number Diff line change
Expand Up @@ -492,7 +492,7 @@ def postOptions(self):

if self['connect'] == 'pb':
if not self['master']:
raise usage.UsageError("master location must be specifiedfor 'pb' connections")
raise usage.UsageError("master location must be specified for 'pb' connections")
validateMasterOption(self['master'])


Expand Down
2 changes: 1 addition & 1 deletion master/buildbot/test/unit/test_stats_service.py
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ def checkEqual(self, new_storage_backends):
]
for s in new_storage_backends:
if s not in registeredStorageServices:
raise AssertionError("reconfigService failed.Not all storage services registered.")
raise AssertionError("reconfigService failed. Not all storage services registered.")


class TestInfluxDB(TestStatsServicesBase, logging.LoggingMixin):
Expand Down
2 changes: 1 addition & 1 deletion master/buildbot/util/croniter.py
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ class croniter:

MAX_VALUE_PER_INDEX = (60, 24, 31, 12, 7, 60)

bad_length = 'Exactly 5 or 6 columns has to be specified for iteratorexpression.'
bad_length = 'Exactly 5 or 6 columns has to be specified for iterator expression.'

def __init__(self, expr_format, start_time=time()):
if isinstance(start_time, datetime):
Expand Down

0 comments on commit 6e72187

Please sign in to comment.