From bb18c832a5927c828356c6e90da6a7e8e22af081 Mon Sep 17 00:00:00 2001 From: Sriniketh J Date: Sat, 31 May 2025 02:40:28 +0530 Subject: [PATCH] build!: modify lint:fmt to lint:format --- CONTRIBUTING.md | 2 +- integrations/amazon_bedrock/pyproject.toml | 2 +- integrations/amazon_sagemaker/pyproject.toml | 2 +- integrations/anthropic/pyproject.toml | 2 +- integrations/astra/pyproject.toml | 2 +- integrations/azure_ai_search/pyproject.toml | 2 +- integrations/chroma/pyproject.toml | 2 +- integrations/cohere/pyproject.toml | 2 +- integrations/deepeval/pyproject.toml | 2 +- integrations/elasticsearch/pyproject.toml | 2 +- integrations/fastembed/pyproject.toml | 2 +- integrations/github/pyproject.toml | 2 +- integrations/google_ai/pyproject.toml | 2 +- integrations/google_vertex/pyproject.toml | 2 +- integrations/instructor_embedders/pyproject.toml | 2 +- integrations/jina/pyproject.toml | 2 +- integrations/langfuse/pyproject.toml | 2 +- integrations/llama_cpp/pyproject.toml | 2 +- integrations/mcp/pyproject.toml | 2 +- integrations/meta_llama/pyproject.toml | 2 +- integrations/mistral/pyproject.toml | 2 +- integrations/mongodb_atlas/pyproject.toml | 2 +- integrations/nvidia/pyproject.toml | 2 +- integrations/ollama/pyproject.toml | 2 +- integrations/openrouter/pyproject.toml | 2 +- integrations/opensearch/pyproject.toml | 2 +- integrations/optimum/pyproject.toml | 2 +- integrations/pgvector/pyproject.toml | 2 +- integrations/pinecone/pyproject.toml | 2 +- integrations/qdrant/pyproject.toml | 2 +- integrations/ragas/pyproject.toml | 2 +- integrations/snowflake/pyproject.toml | 2 +- integrations/stackit/pyproject.toml | 2 +- integrations/unstructured/pyproject.toml | 2 +- integrations/weaviate/pyproject.toml | 2 +- integrations/weights_and_biases_weave/pyproject.toml | 2 +- 36 files changed, 36 insertions(+), 36 deletions(-) diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index e0ba3d0368..70ddecaa0d 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -204,7 +204,7 @@ $ hatch run lint:all If you see Hatch reporting problems, you can try fixing them with: ```console -$ hatch run lint:fmt +$ hatch run lint:format ``` You can also run the code formatter and the static checker separated: diff --git a/integrations/amazon_bedrock/pyproject.toml b/integrations/amazon_bedrock/pyproject.toml index faf9e19d7d..72f90d2d31 100644 --- a/integrations/amazon_bedrock/pyproject.toml +++ b/integrations/amazon_bedrock/pyproject.toml @@ -68,7 +68,7 @@ dependencies = ["pip", "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 check --fix {args:.}", "style"] +format = ["black {args:.}", "ruff check --fix {args:.}", "style"] all = ["style", "typing"] [tool.black] diff --git a/integrations/amazon_sagemaker/pyproject.toml b/integrations/amazon_sagemaker/pyproject.toml index 02fdaca259..5ba0a49989 100644 --- a/integrations/amazon_sagemaker/pyproject.toml +++ b/integrations/amazon_sagemaker/pyproject.toml @@ -69,7 +69,7 @@ dependencies = ["pip", "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 check --fix {args:.}", "style"] +format = ["black {args:.}", "ruff check --fix {args:.}", "style"] all = ["style", "typing"] [tool.black] diff --git a/integrations/anthropic/pyproject.toml b/integrations/anthropic/pyproject.toml index 0b03b519c2..a823ce62a3 100644 --- a/integrations/anthropic/pyproject.toml +++ b/integrations/anthropic/pyproject.toml @@ -68,7 +68,7 @@ typing = "mypy --install-types --non-interactive --explicit-package-bases {args: style = ["ruff check {args:.}", "black --check --diff {args:.}"] -fmt = ["black {args:.}", "ruff check --fix {args:.}", "style"] +format = ["black {args:.}", "ruff check --fix {args:.}", "style"] all = ["style", "typing"] diff --git a/integrations/astra/pyproject.toml b/integrations/astra/pyproject.toml index 0b310924ae..2800786a5a 100644 --- a/integrations/astra/pyproject.toml +++ b/integrations/astra/pyproject.toml @@ -65,7 +65,7 @@ dependencies = ["pip", "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 check --fix {args:.}", "style"] +format = ["black {args:.}", "ruff check --fix {args:.}", "style"] all = ["style", "typing"] [tool.hatch.metadata] diff --git a/integrations/azure_ai_search/pyproject.toml b/integrations/azure_ai_search/pyproject.toml index 80e72513b6..59b35ba85a 100644 --- a/integrations/azure_ai_search/pyproject.toml +++ b/integrations/azure_ai_search/pyproject.toml @@ -65,7 +65,7 @@ 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:src/}", "black --check --diff {args:.}"] -fmt = ["black {args:.}", "ruff check --fix {args:.}", "style"] +format = ["black {args:.}", "ruff check --fix {args:.}", "style"] all = ["style", "typing"] [tool.hatch.metadata] diff --git a/integrations/chroma/pyproject.toml b/integrations/chroma/pyproject.toml index 57e6438d8b..73b55d4896 100644 --- a/integrations/chroma/pyproject.toml +++ b/integrations/chroma/pyproject.toml @@ -72,7 +72,7 @@ dependencies = [ [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 check --fix {args:.}", "style"] +format = ["black {args:.}", "ruff check --fix {args:.}", "style"] all = ["style", "typing"] [tool.hatch.metadata] diff --git a/integrations/cohere/pyproject.toml b/integrations/cohere/pyproject.toml index 30cd41b6fe..126fa8eeee 100644 --- a/integrations/cohere/pyproject.toml +++ b/integrations/cohere/pyproject.toml @@ -69,7 +69,7 @@ style = [ "ruff check {args:.}", "black --check --diff {args:.}", ] -fmt = ["black {args:.}", "ruff check --fix {args:}", "style"] +format = ["black {args:.}", "ruff check --fix {args:}", "style"] all = ["style", "typing"] [tool.black] diff --git a/integrations/deepeval/pyproject.toml b/integrations/deepeval/pyproject.toml index 734e441b8b..77615d235c 100644 --- a/integrations/deepeval/pyproject.toml +++ b/integrations/deepeval/pyproject.toml @@ -60,7 +60,7 @@ dependencies = ["pip", "black>=23.1.0", "mypy>=1.0.0", "ruff>=0.0.243"] [tool.hatch.envs.lint.scripts] typing = "mypy --install-types --non-interactive {args:src/}" style = ["ruff check {args:.}", "black --check --diff {args:.}"] -fmt = ["black {args:.}", "ruff check --fix {args:.}", "style"] +format = ["black {args:.}", "ruff check --fix {args:.}", "style"] all = ["style", "typing"] [tool.black] diff --git a/integrations/elasticsearch/pyproject.toml b/integrations/elasticsearch/pyproject.toml index 8975f3d11c..fbe11f1301 100644 --- a/integrations/elasticsearch/pyproject.toml +++ b/integrations/elasticsearch/pyproject.toml @@ -72,7 +72,7 @@ dependencies = ["pip", "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 check --fix {args:}", "style"] +format = ["black {args:.}", "ruff check --fix {args:}", "style"] all = ["style", "typing"] [tool.hatch.metadata] diff --git a/integrations/fastembed/pyproject.toml b/integrations/fastembed/pyproject.toml index f9bb1e5ec8..5e8aaeefd2 100644 --- a/integrations/fastembed/pyproject.toml +++ b/integrations/fastembed/pyproject.toml @@ -66,7 +66,7 @@ dependencies = ["pip", "black>=23.1.0", "mypy>=1.0.0", "ruff>=0.0.243", "numpy"] [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 check --fix {args:.}", "style"] +format = ["black {args:.}", "ruff check --fix {args:.}", "style"] all = ["style", "typing"] [tool.black] diff --git a/integrations/github/pyproject.toml b/integrations/github/pyproject.toml index 48ea0034db..cf3451a897 100644 --- a/integrations/github/pyproject.toml +++ b/integrations/github/pyproject.toml @@ -71,7 +71,7 @@ style = [ "ruff check {args:}", "black --check --diff {args:.}", ] -fmt = ["black {args:.}", "ruff check --fix {args:}", "style"] +format = ["black {args:.}", "ruff check --fix {args:}", "style"] all = ["style", "typing"] [tool.black] diff --git a/integrations/google_ai/pyproject.toml b/integrations/google_ai/pyproject.toml index 5128aa8af0..3bf715726d 100644 --- a/integrations/google_ai/pyproject.toml +++ b/integrations/google_ai/pyproject.toml @@ -66,7 +66,7 @@ dependencies = ["pip", "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 check --fix {args:.}", "style"] +format = ["black {args:.}", "ruff check --fix {args:.}", "style"] all = ["style", "typing"] [tool.black] diff --git a/integrations/google_vertex/pyproject.toml b/integrations/google_vertex/pyproject.toml index 9722b6a7db..b2d4998355 100644 --- a/integrations/google_vertex/pyproject.toml +++ b/integrations/google_vertex/pyproject.toml @@ -66,7 +66,7 @@ dependencies = ["pip", "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 check --fix {args:.}", "style"] +format = ["black {args:.}", "ruff check --fix {args:.}", "style"] all = ["style", "typing"] [tool.black] diff --git a/integrations/instructor_embedders/pyproject.toml b/integrations/instructor_embedders/pyproject.toml index 83824ae17e..a68bbfd0e1 100644 --- a/integrations/instructor_embedders/pyproject.toml +++ b/integrations/instructor_embedders/pyproject.toml @@ -90,7 +90,7 @@ dependencies = ["pip", "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 check --fix {args:}", "style"] +format = ["black {args:.}", "ruff check --fix {args:}", "style"] all = ["style", "typing"] [tool.coverage.run] diff --git a/integrations/jina/pyproject.toml b/integrations/jina/pyproject.toml index 78d41c535a..a6540c0a3d 100644 --- a/integrations/jina/pyproject.toml +++ b/integrations/jina/pyproject.toml @@ -62,7 +62,7 @@ dependencies = ["pip", "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 check --fix {args:}", "style"] +format = ["black {args:.}", "ruff check --fix {args:}", "style"] all = ["style", "typing"] [tool.black] diff --git a/integrations/langfuse/pyproject.toml b/integrations/langfuse/pyproject.toml index e9c57e7fd2..e2049661dc 100644 --- a/integrations/langfuse/pyproject.toml +++ b/integrations/langfuse/pyproject.toml @@ -73,7 +73,7 @@ dependencies = [ [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 check --fix {args:}", "style"] +format = ["black {args:.}", "ruff check --fix {args:}", "style"] all = ["style", "typing"] [tool.hatch.metadata] diff --git a/integrations/llama_cpp/pyproject.toml b/integrations/llama_cpp/pyproject.toml index 27d5859d2c..635a57a658 100644 --- a/integrations/llama_cpp/pyproject.toml +++ b/integrations/llama_cpp/pyproject.toml @@ -73,7 +73,7 @@ dependencies = ["pip", "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 check --fix {args:.}", "style"] +format = ["black {args:.}", "ruff check --fix {args:.}", "style"] all = ["style", "typing"] [tool.hatch.metadata] diff --git a/integrations/mcp/pyproject.toml b/integrations/mcp/pyproject.toml index d88c9271f3..0e971a17e3 100644 --- a/integrations/mcp/pyproject.toml +++ b/integrations/mcp/pyproject.toml @@ -86,7 +86,7 @@ dependencies = [ [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 check --fix {args:.}", "style"] +format = ["black {args:.}", "ruff check --fix {args:.}", "style"] all = ["style", "typing"] [tool.black] diff --git a/integrations/meta_llama/pyproject.toml b/integrations/meta_llama/pyproject.toml index ef6162334f..b9bf3324de 100644 --- a/integrations/meta_llama/pyproject.toml +++ b/integrations/meta_llama/pyproject.toml @@ -70,7 +70,7 @@ style = [ "ruff check {args:}", "black --check --diff {args:.}", ] -fmt = ["black {args:.}", "ruff check --fix {args:}", "style"] +format = ["black {args:.}", "ruff check --fix {args:}", "style"] all = ["style", "typing"] [tool.black] diff --git a/integrations/mistral/pyproject.toml b/integrations/mistral/pyproject.toml index a2d06e428b..e7e2d2d280 100644 --- a/integrations/mistral/pyproject.toml +++ b/integrations/mistral/pyproject.toml @@ -70,7 +70,7 @@ style = [ "ruff check {args:}", "black --check --diff {args:.}", ] -fmt = ["black {args:.}", "ruff check --fix {args:}", "style"] +format = ["black {args:.}", "ruff check --fix {args:}", "style"] all = ["style", "typing"] [tool.black] diff --git a/integrations/mongodb_atlas/pyproject.toml b/integrations/mongodb_atlas/pyproject.toml index 574036ab26..edeaacb314 100644 --- a/integrations/mongodb_atlas/pyproject.toml +++ b/integrations/mongodb_atlas/pyproject.toml @@ -72,7 +72,7 @@ dependencies = ["pip", "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 check --fix {args:.}", "style"] +format = ["black {args:.}", "ruff check --fix {args:.}", "style"] all = ["style", "typing"] [tool.black] diff --git a/integrations/nvidia/pyproject.toml b/integrations/nvidia/pyproject.toml index fb34c9f127..b1d12e4abb 100644 --- a/integrations/nvidia/pyproject.toml +++ b/integrations/nvidia/pyproject.toml @@ -69,7 +69,7 @@ style = [ "ruff check {args:}", "black --check --diff {args:.}", ] -fmt = ["black {args:.}", "ruff check --fix {args:}", "style"] +format = ["black {args:.}", "ruff check --fix {args:}", "style"] all = ["style", "typing"] [tool.black] diff --git a/integrations/ollama/pyproject.toml b/integrations/ollama/pyproject.toml index e38859e375..af7e74845d 100644 --- a/integrations/ollama/pyproject.toml +++ b/integrations/ollama/pyproject.toml @@ -70,7 +70,7 @@ dependencies = ["pip", "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 check --fix {args:.}", "style"] +format = ["black {args:.}", "ruff check --fix {args:.}", "style"] all = ["style", "typing"] [tool.hatch.metadata] diff --git a/integrations/openrouter/pyproject.toml b/integrations/openrouter/pyproject.toml index 5a8e4fec20..5f3e251f22 100644 --- a/integrations/openrouter/pyproject.toml +++ b/integrations/openrouter/pyproject.toml @@ -70,7 +70,7 @@ style = [ "ruff check {args:}", "black --check --diff {args:.}", ] -fmt = ["black {args:.}", "ruff check --fix {args:}", "style"] +format = ["black {args:.}", "ruff check --fix {args:}", "style"] all = ["style", "typing"] [tool.black] diff --git a/integrations/opensearch/pyproject.toml b/integrations/opensearch/pyproject.toml index d82f5c34b2..7290707643 100644 --- a/integrations/opensearch/pyproject.toml +++ b/integrations/opensearch/pyproject.toml @@ -72,7 +72,7 @@ dependencies = ["pip", "black>=23.1.0", "mypy>=1.0.0", "ruff>=0.0.243", "boto3"] [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 check --fix {args:}", "style"] +format = ["black {args:.}", "ruff check --fix {args:}", "style"] all = ["style", "typing"] [tool.hatch.metadata] diff --git a/integrations/optimum/pyproject.toml b/integrations/optimum/pyproject.toml index a6eca7a964..21a5811502 100644 --- a/integrations/optimum/pyproject.toml +++ b/integrations/optimum/pyproject.toml @@ -79,7 +79,7 @@ dependencies = ["pip", "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 check --fix {args:.}", "style"] +format = ["black {args:.}", "ruff check --fix {args:.}", "style"] all = ["style", "typing"] [tool.hatch.metadata] diff --git a/integrations/pgvector/pyproject.toml b/integrations/pgvector/pyproject.toml index 0df47728a9..9646ef1577 100644 --- a/integrations/pgvector/pyproject.toml +++ b/integrations/pgvector/pyproject.toml @@ -67,7 +67,7 @@ dependencies = ["pip", "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 check --fix {args:.}", "style"] +format = ["black {args:.}", "ruff check --fix {args:.}", "style"] all = ["style", "typing"] [tool.black] diff --git a/integrations/pinecone/pyproject.toml b/integrations/pinecone/pyproject.toml index 40aa514b71..0e56ced8b9 100644 --- a/integrations/pinecone/pyproject.toml +++ b/integrations/pinecone/pyproject.toml @@ -72,7 +72,7 @@ dependencies = ["pip", "black>=23.1.0", "mypy>=1.0.0", "ruff>=0.0.243", "numpy"] [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 check --fix {args:.}", "style"] +format = ["black {args:.}", "ruff check --fix {args:.}", "style"] all = ["style", "typing"] [tool.hatch.metadata] diff --git a/integrations/qdrant/pyproject.toml b/integrations/qdrant/pyproject.toml index 381ff1de13..0f2e521152 100644 --- a/integrations/qdrant/pyproject.toml +++ b/integrations/qdrant/pyproject.toml @@ -63,7 +63,7 @@ dependencies = ["pip", "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 check --fix {args:.}", "style"] +format = ["black {args:.}", "ruff check --fix {args:.}", "style"] all = ["style", "typing"] [tool.black] diff --git a/integrations/ragas/pyproject.toml b/integrations/ragas/pyproject.toml index e95520a694..4696297e26 100644 --- a/integrations/ragas/pyproject.toml +++ b/integrations/ragas/pyproject.toml @@ -67,7 +67,7 @@ dependencies = ["pip", "black>=23.1.0", "mypy>=1.0.0", "ruff>=0.0.243"] [tool.hatch.envs.lint.scripts] typing = "mypy --install-types --non-interactive {args:src/}" style = ["ruff check {args:.}", "black --check --diff {args:.}"] -fmt = ["black {args:.}", "ruff check --fix {args:.}", "style"] +format = ["black {args:.}", "ruff check --fix {args:.}", "style"] all = ["style", "typing"] [tool.black] diff --git a/integrations/snowflake/pyproject.toml b/integrations/snowflake/pyproject.toml index 89c06b7cdc..204d280530 100644 --- a/integrations/snowflake/pyproject.toml +++ b/integrations/snowflake/pyproject.toml @@ -61,7 +61,7 @@ dependencies = ["pip", "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 check --fix {args:}", "style"] +format = ["black {args:.}", "ruff check --fix {args:}", "style"] all = ["style", "typing"] [tool.black] diff --git a/integrations/stackit/pyproject.toml b/integrations/stackit/pyproject.toml index 0dde17cbbf..df73d6afdb 100644 --- a/integrations/stackit/pyproject.toml +++ b/integrations/stackit/pyproject.toml @@ -70,7 +70,7 @@ style = [ "ruff check {args:}", "black --check --diff {args:.}", ] -fmt = ["black {args:.}", "ruff check --fix {args:}", "style"] +format = ["black {args:.}", "ruff check --fix {args:}", "style"] all = ["style", "typing"] [tool.black] diff --git a/integrations/unstructured/pyproject.toml b/integrations/unstructured/pyproject.toml index fdabb501d2..9cf9d8a5c1 100644 --- a/integrations/unstructured/pyproject.toml +++ b/integrations/unstructured/pyproject.toml @@ -74,7 +74,7 @@ style = [ "ruff check {args:}", "black --check --diff {args:.}", ] -fmt = ["black {args:.}", "ruff check --fix {args:}", "style"] +format = ["black {args:.}", "ruff check --fix {args:}", "style"] all = ["style", "typing"] [tool.hatch.metadata] diff --git a/integrations/weaviate/pyproject.toml b/integrations/weaviate/pyproject.toml index 59f6e8dcfb..10035c7cf5 100644 --- a/integrations/weaviate/pyproject.toml +++ b/integrations/weaviate/pyproject.toml @@ -64,7 +64,7 @@ dependencies = ["pip", "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 check --fix {args:}", "style"] +format = ["black {args:.}", "ruff check --fix {args:}", "style"] all = ["style", "typing"] [tool.black] diff --git a/integrations/weights_and_biases_weave/pyproject.toml b/integrations/weights_and_biases_weave/pyproject.toml index e4ce4f4568..66cb6aa9f7 100644 --- a/integrations/weights_and_biases_weave/pyproject.toml +++ b/integrations/weights_and_biases_weave/pyproject.toml @@ -60,7 +60,7 @@ dependencies = ["pip", "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 check --fix {args:}", "style"] +format = ["black {args:.}", "ruff check --fix {args:}", "style"] all = ["style", "typing"] [tool.black]