diff --git a/integrations/unstructured/pyproject.toml b/integrations/unstructured/pyproject.toml index b5de6c66a..6811753d9 100644 --- a/integrations/unstructured/pyproject.toml +++ b/integrations/unstructured/pyproject.toml @@ -64,8 +64,11 @@ detached = true dependencies = ["black>=23.1.0", "mypy>=1.0.0", "ruff>=0.0.243"] [tool.hatch.envs.lint.scripts] typing = "mypy --install-types --non-interactive --explicit-package-bases {args:src/ tests}" -style = ["ruff check {args:.}", "black --check --diff {args:.}"] -fmt = ["black {args:.}", "ruff --fix {args:.}", "style"] +style = [ + "ruff check {args:. --exclude tests/}", + "black --check --diff {args:.}", +] +fmt = ["black {args:.}", "ruff --fix {args:. --exclude tests/}", "style"] all = ["style", "typing"] [tool.hatch.metadata]