Skip to content

Commit

Permalink
targest.py: silence jscpd at config section.
Browse files Browse the repository at this point in the history
  • Loading branch information
Akira25 committed Sep 20, 2023
1 parent f4a29d8 commit bf4bb41
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion roles/buildbot/files/targets.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,11 @@
from buildbot.plugins import *


# linter should not bother us with variable "schedulers" not defined. It it
# defined indeed and is an imported object
# pylint: disable=E0602

# jscpd:ignore-start
def targetsConfig(c, config):
c["schedulers"].append(
schedulers.Triggerable(name="dummy/targets", builderNames=["dummy/targets"])
Expand Down Expand Up @@ -105,7 +110,7 @@ def targetsConfig(c, config):
)

return c

# jscpd:ignore-end

# Passed by targetsFactory to AsyncBuildGenerator to be called for each arch.
def targetTriggerStep(target):
Expand Down

0 comments on commit bf4bb41

Please sign in to comment.