Fix lint issues raised by Flake8

According to job: 
[ https://app.circleci.com/pipelines/github/josegonzalez/python-github-backup/30/workflows/74eb93f2-2505-435d-b728-03b3cc04c14a/jobs/23 ]

Failed on the following checks:
./github_backup/github_backup.py:20:1: F811 redefinition of unused 'logging' from line 14
./github_backup/github_backup.py:45:1: E302 expected 2 blank lines, found 1
./github_backup/github_backup.py:136:20: E251 unexpected spaces around keyword / parameter equals
This commit is contained in:
atinary-afoulon
2021-12-13 14:33:21 +01:00
committed by GitHub
parent f7f9ffd017
commit 64562f2460

View File

@@ -11,7 +11,6 @@ import datetime
import errno import errno
import getpass import getpass
import json import json
import logging
import os import os
import re import re
import select import select
@@ -42,6 +41,7 @@ FNULL = open(os.devnull, 'w')
def _get_log_date(): def _get_log_date():
return datetime.datetime.isoformat(datetime.datetime.now()) return datetime.datetime.isoformat(datetime.datetime.now())
def log_info(message): def log_info(message):
""" """
Log message (str) or messages (List[str]) to stdout Log message (str) or messages (List[str]) to stdout