KOSASIH / ExoGenesis

Expected 2 blank lines FLK-E302
Style
Minor
2 months ago3 months old
expected 2 blank lines, found 1
 1import requests
 2from bs4 import BeautifulSoup
 3
 4def code_guardian(query): 5    url = f"https://www.google.com/search?q={query}"
 6    response = requests.get(url)
 7    soup = BeautifulSoup(response.text, 'html.parser')
expected 2 blank lines, found 1
 1import boto3
 2
 3def deploy_project(project_name, region, bucket_name, zip_file_path): 4    # Create an S3 client
 5    s3 = boto3.client('s3', region_name=region)
 6
expected 2 blank lines, found 1
 1import unittest
 2
 3def runUnitTests(): 4    test_suite = unittest.TestSuite()
 5
 6    # Add tests to the test suite
expected 2 blank lines, found 1
 1import os
 2import subprocess
 3
 4def install_dependencies(): 5    """
 6    Installs project dependencies listed in the package.json or requirements.txt file.
 7    """
expected 2 blank lines, found 1
 2from azure.devops.v5_1.work_item_tracking.models import Wiql
 3from msrest.authentication import BasicAuthentication
 4
 5def exportDataToCSV(organization_url, personal_access_token, project_name, query_id): 6    # Create a connection to the Azure DevOps organization
 7    credentials = BasicAuthentication('', personal_access_token)
 8    connection = Connection(base_url=organization_url, creds=credentials)