From d590c0e2fa9ae2c6121156b7454e69aebfaaeb44 Mon Sep 17 00:00:00 2001 From: Laurent Date: Fri, 9 Feb 2024 09:28:14 +0000 Subject: [PATCH] add `typos` to dev-dependencies, also remove `ruff` from non dev-dependencies --- pyproject.toml | 20 ++++++++++---------- requirements.lock | 1 - 2 files changed, 10 insertions(+), 11 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index 90cc5e8..f7966e8 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -10,19 +10,18 @@ dependencies = [ "pillow>=10.1.0", "jaxtyping>=0.2.23", "packaging>=23.2", - "ruff>=0.2.0", ] readme = "README.md" requires-python = ">= 3.10" classifiers = [ - "Typing :: Typed", - "Intended Audience :: Developers", - "Intended Audience :: Science/Research", - "Programming Language :: Python :: 3.10", - "Programming Language :: Python :: 3.11", - "Topic :: Software Development :: Libraries :: Python Modules", - "Topic :: Scientific/Engineering :: Artificial Intelligence", - "License :: OSI Approved :: MIT License" + "Typing :: Typed", + "Intended Audience :: Developers", + "Intended Audience :: Science/Research", + "Programming Language :: Python :: 3.10", + "Programming Language :: Python :: 3.11", + "Topic :: Software Development :: Libraries :: Python Modules", + "Topic :: Scientific/Engineering :: Artificial Intelligence", + "License :: OSI Approved :: MIT License", ] [project.optional-dependencies] @@ -70,10 +69,11 @@ build-backend = "hatchling.build" managed = true dev-dependencies = [ "pyright==1.1.349", - "ruff>=0.1.15", + "ruff>=0.2.0", "docformatter>=1.7.5", "pytest>=8.0.0", "coverage>=7.4.1", + "typos>=1.18.2", ] diff --git a/requirements.lock b/requirements.lock index f8770b6..a8099f7 100644 --- a/requirements.lock +++ b/requirements.lock @@ -91,7 +91,6 @@ pyyaml==6.0.1 pyyaml-env-tag==0.1 regex==2023.12.25 requests==2.31.0 -ruff==0.2.0 safetensors==0.4.2 scipy==1.12.0 segment-anything-py==1.0