Skip to content

Commit 5173f3a

Browse files
committed
misc(black): Fixed codding style
1 parent b62efb5 commit 5173f3a

3 files changed

Lines changed: 6 additions & 3 deletions

File tree

imagequant/libimagequant_build.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@
33
from cffi import FFI
44
from distutils import ccompiler
55

6-
76
_ROOT = os.path.abspath(os.path.dirname(__file__))
87
_LIBIMAGEQUANT_H = os.path.join(_ROOT, "libimagequant.h")
98
_LIBIMAGEQUANT_SRC = [

noxfile.py

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
import nox
22

3-
43
PYTHON_FILES = [
54
"imagequant",
65
"setup.py",
@@ -21,6 +20,12 @@ def lint(session):
2120
)
2221

2322

23+
@nox.session(reuse_venv=True)
24+
def black_fix(session):
25+
session.install("black")
26+
session.run("black", *PYTHON_FILES)
27+
28+
2429
@nox.session(python=["3.10", "3.11", "3.12", "3.13", "3.14"], reuse_venv=True)
2530
def test(session):
2631
session.install("setuptools", "pytest")

setup.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@
55

66
from setuptools import setup, find_packages
77

8-
98
long_description = ""
109
if os.path.isfile("README.rst"):
1110
long_description = open("README.rst", "r", encoding="utf-8").read()

0 commit comments

Comments
 (0)