From 96d2be99417e1b3e002bb6856d9c37982bad8e13 Mon Sep 17 00:00:00 2001 From: Botir Khaltaev Date: Mon, 12 Aug 2024 13:35:15 +0100 Subject: [PATCH] Remove commas between configs --- pyproject.toml | 75 ++++++++++++++++++++++++-------------------------- 1 file changed, 36 insertions(+), 39 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index 4564451..cc58425 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -7,18 +7,27 @@ build-backend = "flit_core.buildapi" [project] name = "sonar-space" readme = "README.md" -authors = [{name = "Meta AI Research"}] +authors = [{ name = "Meta AI Research" }] requires-python = ">=3.8" dynamic = ["version", "description"] -keywords = ["sentence embeddings", "sentence representation", "sentence encoder", - "sonar models", "speech2speech", "text2text", "speech2text", - "text2speech", "multi-modal models", "multi-language models"] +keywords = [ + "sentence embeddings", + "sentence representation", + "sentence encoder", + "sonar models", + "speech2speech", + "text2text", + "speech2text", + "text2speech", + "multi-modal models", + "multi-language models", +] # zip_safe = false -classifiers=[ - "Topic :: Scientific/Engineering", - "Development Status :: 4 - Beta", +classifiers = [ + "Topic :: Scientific/Engineering", + "Development Status :: 4 - Beta", ] dependencies = [ @@ -34,31 +43,25 @@ dependencies = [ ] [project.optional-dependencies] - dev = [ - # Test - "pytest>=4.3.0", - "pytest-asyncio>=0.15.0", - "pytest-cov>=2.6.1", - "coverage[toml]>=5.1", - # Format - "black==24.3.0", - "isort>=5.10.1", - # Linters - "mypy>=0.782", - "pylint>=2.8.0", - ], - - hg = [ - - "transformers>=4.44.0", - "datasets>=2.20.0" - +dev = [ + # Test + "pytest>=4.3.0", + "pytest-asyncio>=0.15.0", + "pytest-cov>=2.6.1", + "coverage[toml]>=5.1", + # Format + "black==24.3.0", + "isort>=5.10.1", + # Linters + "mypy>=0.782", + "pylint>=2.8.0", +] - ] +hg = ["transformers>=4.44.0", "datasets>=2.20.0"] [project.urls] - Source = "https://github.com/facebookresearch/SONAR" - Tracker = "https://github.com/facebookresearch/SONAR/issues" +Source = "https://github.com/facebookresearch/SONAR" +Tracker = "https://github.com/facebookresearch/SONAR/issues" [tool.flit.module] name = "sonar" @@ -77,10 +80,8 @@ extend-exclude = ''' ''' [tool.flake8] -extend_ignore = ["E", "Y"] # Black -per-file-ignores = [ - "__init__.py:F401", -] +extend_ignore = ["E", "Y"] # Black +per-file-ignores = ["__init__.py:F401"] [tool.isort] profile = "black" @@ -92,13 +93,9 @@ python_version = "3.8" show_error_codes = true check_untyped_defs = true -files = [ - "sonar/" -] +files = ["sonar/"] [tool.pytest.ini_options] minversion = "6.0" testpaths = ["tests/"] -python_files = [ - "test_*.py" -] +python_files = ["test_*.py"]