Skip to content

Commit

Permalink
lint fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
ptichoid committed Jun 6, 2024
1 parent 23ffb23 commit fe83453
Show file tree
Hide file tree
Showing 8 changed files with 12 additions and 8 deletions.
3 changes: 2 additions & 1 deletion ecosystem_issues.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,10 @@
"""

import logging
import time
import os
import time
from datetime import datetime, timedelta

import psycopg2
from github import Github

Expand Down
2 changes: 1 addition & 1 deletion failed_zuul.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,10 @@
import re
import time
from datetime import datetime

import psycopg2
import requests


logging.basicConfig(level=logging.INFO, format='%(asctime)s - %(levelname)s - %(message)s')

start_time = time.time()
Expand Down
1 change: 1 addition & 0 deletions gitea_info.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
import pathlib
import re
import time

import psycopg2
import requests
from github import Github
Expand Down
1 change: 1 addition & 0 deletions github_info.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
import os
import re
import time

import psycopg2
import requests
from github import Github
Expand Down
4 changes: 2 additions & 2 deletions last_commit_info.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,16 +2,16 @@
This script provides logic to retrieve info about last date when document was updated
"""

from datetime import datetime
import logging
import os
import shutil
import tempfile
import time
from datetime import datetime

import psycopg2
from github import Github


logging.basicConfig(level=logging.INFO, format='%(asctime)s - %(levelname)s - %(message)s')

start_time = time.time()
Expand Down
6 changes: 3 additions & 3 deletions open_issues.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,17 +2,17 @@
This script gather info regarding open issues in Gitea and Github
"""

import time
import json
import logging
import os
import re
import time
from datetime import datetime
import requests

import psycopg2
import requests
from github import Github


logging.basicConfig(level=logging.INFO, format='%(asctime)s - %(levelname)s - %(message)s')

start_time = time.time()
Expand Down
2 changes: 1 addition & 1 deletion otc_services_dict.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,11 @@
import logging
import os
import time

import psycopg2
import requests
import yaml


logging.basicConfig(level=logging.INFO, format='%(asctime)s - %(levelname)s - %(message)s')

start_time = time.time()
Expand Down
1 change: 1 addition & 0 deletions scheduler.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
import time
from datetime import datetime
from urllib.parse import quote

import psycopg2
import zulip
from psycopg2.extras import DictCursor
Expand Down

0 comments on commit fe83453

Please sign in to comment.