1
0
mirror of https://github.com/checktheroads/hyperglass synced 2024-05-11 05:55:08 +00:00

refactor logzero → loguru; docstrings

This commit is contained in:
checktheroads
2019-12-29 23:57:39 -07:00
parent 1049bb3a4f
commit ea3a08b28a
24 changed files with 299 additions and 279 deletions

View File

@@ -1,6 +1,5 @@
"""
Renders Jinja2 & Sass templates for use by the front end application
"""
"""Renders Jinja2 & Sass templates for use by the front end application."""
# Standard Library Imports
import json
import subprocess
@@ -8,15 +7,14 @@ from pathlib import Path
# Third Party Imports
import jinja2
from logzero import logger as log
# Project Imports
from hyperglass.configuration import frontend_networks
from hyperglass.configuration import frontend_devices
from hyperglass.configuration import frontend_networks
from hyperglass.configuration import frontend_params
from hyperglass.configuration import logzero_config # NOQA: F401
from hyperglass.configuration import params
from hyperglass.exceptions import HyperglassError
from hyperglass.util import log
# Module Directories
working_directory = Path(__file__).resolve().parent