Format code with black and autopep8

This commit fixes the style issues introduced in b348a26 according to the output
from black and autopep8.

Details: https://deepsource.io/gh/GradienceTeam/Gradience/transform/468959f9-1d91-45d7-9f36-9658d67bfe62/
This commit is contained in:
deepsource-autofix[bot] 2022-09-13 20:20:32 +00:00 committed by GitHub
parent b348a269f8
commit 9313a6c52c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -2,10 +2,11 @@ from jinja2 import Environment, FileSystemLoader
import os
def modify_colors(scss_path, output_path, **vars):
env = Environment(
loader=FileSystemLoader(os.path.dirname(scss_path)),
)
template = env.get_template('_colors.txt')
with open(output_path, 'w', encoding='utf-8') as f:
template = env.get_template("_colors.txt")
with open(output_path, "w", encoding="utf-8") as f:
f.write(template.render(**vars))