Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings
This repository was archived by the owner on Dec 22, 2023. It is now read-only.

Commit 8fa3cea

Browse files
Merge pull request #659 from Python-World/feature/cleanup
Feature/cleanup
2 parents 9aef440 + c0297f9 commit 8fa3cea

File tree

131 files changed

+321
-231
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

131 files changed

+321
-231
lines changed

‎.mergify.yml

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -19,9 +19,3 @@ pull_request_rules:
1919
actions:
2020
merge:
2121
method: merge
22-
- name: automatic merge for deepsorce-autofix pull requests
23-
conditions:
24-
- author=deepsource-autofix[bot]
25-
actions:
26-
merge:
27-
method: merge

‎Scripts/API/Football Standings/main.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import os
2-
import requests
32
import sys
43

4+
import requests
55
from dotenv import load_dotenv
66

77
load_dotenv()

‎Scripts/API/GeoCode API/code.py

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,10 @@
1-
import urllib.request, urllib.parse, urllib.error
1+
import configparser
22
import json
33
import os
4+
import urllib.error
5+
import urllib.parse
6+
import urllib.request
47
import webbrowser
5-
import configparser
68

79
config = configparser.ConfigParser()
810
config.read("config.ini")

‎Scripts/API/Github Information/github_scraper.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
import sys
2+
23
import requests
34

45
# Function to call API for details of the User.

‎Scripts/API/Google Spreadsheet/create_sheet.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
1+
import argparse
2+
13
import gspread
2-
from oauth2client.service_account import ServiceAccountCredentials
34
import pandas as pd
4-
import argparse
5+
fromoauth2client.service_accountimport ServiceAccountCredentials
56

67

78
def auth_user():

‎Scripts/API/Google Spreadsheet/get_sheet.py

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,10 @@
1-
import gspread
2-
from oauth2client.service_account import ServiceAccountCredentials
3-
import pandas as pd
41
import argparse
52
import json
63

4+
import gspread
5+
import pandas as pd
6+
from oauth2client.service_account import ServiceAccountCredentials
7+
78

89
def auth_user():
910
# Define a authorized user with the credentials created.

‎Scripts/API/Google Translator/main.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
1-
from googletrans import LANGUAGES, Translator
21
from sys import exit
32

3+
from googletrans import LANGUAGES, Translator
4+
45
lang = LANGUAGES
56
translator = Translator()
67

‎Scripts/API/Random Album API/Random_Album_API/application.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
from flask import Flask, jsonify
2-
from Random_Album_API.views.api_view import RandomAlbumAPI, random_album
32
from Random_Album_API.shared_resources.exceptions import APIException
3+
from Random_Album_API.views.api_view import RandomAlbumAPI, random_album
44

55
app = Flask(__name__)
66
# Register the blueprint

‎Scripts/API/Random Album API/Random_Album_API/logics/app_logic.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
1-
import pandas as pd
21
import random
32

3+
import pandas as pd
4+
45

56
class GetRandomAlbum:
67
"""Class to get random album from dataset"""

‎Scripts/API/Random Album API/Random_Album_API/run_server.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
import os
2+
23
from Random_Album_API.application import app
34

45
if __name__ == "__main__":

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /