Skip to content

Commit

Permalink
PEP-8 compliancy
Browse files Browse the repository at this point in the history
fix line too long, and remove extra empty lines and unused module repo

Signed-off-by: David Rozé <[email protected]>
  • Loading branch information
david-baylibre committed Feb 16, 2024
1 parent 1a47e62 commit b5be8e0
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 4 deletions.
2 changes: 1 addition & 1 deletion repo_resource/common.py
Original file line number Diff line number Diff line change
Expand Up @@ -160,7 +160,7 @@ def init(self):
try:
# Google's repo prints a lot of information to stdout.
# Concourse expects every logs to be emitted to stderr:
# https://concourse-ci.org/implementing-resource-types.html#implementing-resource-types
# https://concourse-ci.org/implementing-resource-types.html#implementing-resource-types # noqa: E501
with redirect_stdout(sys.stderr):
repo_cmd = [
'--no-pager', 'init', '--quiet', '--manifest-url',
Expand Down
3 changes: 0 additions & 3 deletions repo_resource/test_in.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,15 +10,12 @@
import unittest
from pathlib import Path

import repo

from . import check
from . import common
from . import in_


class TestIn(unittest.TestCase):

def setUp(self):
self.demo_manifests_source = {
'source': {
Expand Down

0 comments on commit b5be8e0

Please sign in to comment.