Skip to content

Commit e145df1

Browse files
committed
tests: apply ruff format to run_build.py
Generated with Claude Code (https://claude.ai/code) Signed-off-by: Adrian Reber <areber@redhat.com>
1 parent 1d3d3ff commit e145df1

1 file changed

Lines changed: 5 additions & 5 deletions

File tree

tests/ci/run_build.py

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -237,15 +237,15 @@ def build_srpm_and_rpm(
237237
# if more than one docs related file are modified then
238238
# build the docs.spec just once
239239
# START OF LOGIC FOR DOCS
240-
if 'components/admin/docs/SPECS/docs.spec' == spec:
240+
if "components/admin/docs/SPECS/docs.spec" == spec:
241241
if docs_spec_executed:
242242
continue
243243
docs_spec_executed = True
244-
elif not docs_spec_executed and \
245-
('docs/recipes/install/' in spec
246-
or 'components/admin/docs/SOURCES/' in spec):
244+
elif not docs_spec_executed and (
245+
"docs/recipes/install/" in spec or "components/admin/docs/SOURCES/" in spec
246+
):
247247
docs_spec_executed = True
248-
spec = 'components/admin/docs/SPECS/docs.spec'
248+
spec = "components/admin/docs/SPECS/docs.spec"
249249
# END OF LOGIC FOR DOCS
250250
# START OF LOGIC FOR TESTS
251251
elif "components/admin/test-suite/SPECS/tests.spec" == spec:

0 commit comments

Comments
 (0)