From 66111fb427c40d44cebe49a55b65a0d9333e02cc Mon Sep 17 00:00:00 2001 From: tazlin Date: Sat, 29 Apr 2023 08:03:49 -0400 Subject: [PATCH] fix: exclude `build/` folder from linting This may be a placebo change, but it shouldn't harm anything either. --- pyproject.toml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml index c62f4703..fcfd7f71 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -70,12 +70,13 @@ exclude = ''' | \.tox | comfy_controlnet_preprocessors | facerestore + | build )/ ''' # If you change this, you probably need to also change [tool.mypy] below [tool.ruff] # XXX this isn't part of CI yet line-length=119 -exclude=["comfy_controlnet_preprocessors", "facerestore"] +exclude=["comfy_controlnet_preprocessors", "facerestore", "build"] ignore=[ "F401", # imported but unused "E402", # Module level import not at top of file