Skip to content

Commit

Permalink
fix: exclude build/ folder from linting
Browse files Browse the repository at this point in the history
This may be a placebo change, but it shouldn't harm anything either.
  • Loading branch information
tazlin committed Apr 29, 2023
1 parent f18630c commit 66111fb
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 66111fb

Please sign in to comment.