Skip to content

Commit

Permalink
pycodestyle changes
Browse files Browse the repository at this point in the history
  • Loading branch information
Acribbs committed Oct 29, 2024
1 parent 272a7a6 commit 7895bf3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
4 changes: 1 addition & 3 deletions cgatcore/pipeline/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -185,6 +185,7 @@ def loadData(infile, outfile):
# Expose the S3Mapper instance if it's needed elsewhere
s3_mapper = S3Mapper()


# Add S3-related utility functions
def configure_s3(aws_access_key_id=None, aws_secret_access_key=None, region_name=None):
"""
Expand All @@ -199,9 +200,6 @@ def configure_s3(aws_access_key_id=None, aws_secret_access_key=None, region_name
)
s3_mapper.s3.S3 = session.resource('s3')

# You can add more S3-related utility functions here as needed

# Add any other pipeline-related imports or functionality here

# Add a docstring for the module
__doc__ = """
Expand Down
2 changes: 1 addition & 1 deletion cgatcore/remote/file_handler.py
Original file line number Diff line number Diff line change
Expand Up @@ -106,4 +106,4 @@ def wrapped_func(*args, **kwargs):


# The @follows decorator doesn't directly handle files, so we can use it as is
s3_follows = follows
s3_follows = follows

0 comments on commit 7895bf3

Please sign in to comment.