flake8: apply W rules (prefering W503)
This commit is contained in:
parent
c5db34a8e1
commit
2a2c5cb729
8 changed files with 35 additions and 31 deletions
|
|
@ -83,7 +83,7 @@ class RunRootTask(koji.tasks.BaseTaskHandler):
|
|||
|
||||
# path section are in form 'path%d' while order is important as some
|
||||
# paths can be mounted inside other mountpoints
|
||||
path_sections = [p for p in cp.sections() if re.match('path\d+', p)]
|
||||
path_sections = [p for p in cp.sections() if re.match(r'path\d+', p)]
|
||||
for section_name in sorted(path_sections, key=lambda x: int(x[4:])):
|
||||
try:
|
||||
self.config['paths'].append({
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue