rewrite imports

This commit is contained in:
Kiryl
2021-10-05 14:01:05 +03:00
parent 236233fff1
commit 943b1f0754
12 changed files with 53 additions and 64 deletions

View File

@@ -1,6 +1,5 @@
import argparse
import os
import argparse
def parse_args():
parser = argparse.ArgumentParser(description="Utility for folders's clean up.")

View File

@@ -1,8 +1,7 @@
import argparse
import os
import subprocess
import sys
import argparse
import subprocess
def parse_args():
parser = argparse.ArgumentParser(description="Utility for checking installed packages.")

View File

@@ -1,7 +1,8 @@
import re
from webcolors import html4_hex_to_names, hex_to_rgb, rgb_to_name, rgb_percent_to_hex, rgb_to_hex, css3_names_to_hex
from colorsys import hls_to_rgb
from webcolors import html4_hex_to_names, hex_to_rgb, rgb_to_name, rgb_percent_to_hex, rgb_to_hex, css3_names_to_hex
def closest_colour_rgb(requested_color):

View File

@@ -1,5 +1,5 @@
import logging
import os
import logging
class BookLogger:
@@ -8,7 +8,6 @@ class BookLogger:
logging_format='%(asctime)s - %(levelname)s - %(message)s'):
"""
Method for Logger configuration. Logger will write to file.
:param name: name of the Logger.
:param attr_name: name of attribute that will be added to self.
:param filename: name of the log file.