From 0e91adebf149fc598c8ee4888bc0c3a72eb4cdaa Mon Sep 17 00:00:00 2001 From: guptadev21 Date: Thu, 5 Dec 2024 12:21:58 +0530 Subject: [PATCH] Chore: add new select rule in configuration --- pyproject.toml | 2 +- uv.lock | 17 ----------------- 2 files changed, 1 insertion(+), 18 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index 5020f32..61ca75f 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -82,7 +82,7 @@ target-version = "py38" # Enable Pyflakes (`F`) and a subset of the pycodestyle (`E`) codes by default. # Unlike Flake8, Ruff doesn't enable pycodestyle warnings (`W`) or # McCabe complexity (`C901`) by default. -select = ["E4", "E7", "E9", "F", "B", "Q", "W"] +select = ["E4", "E7", "E9", "F", "B", "Q", "W", "N816"] ignore = ["E741", "B904"] # Allow fix for all enabled rules (when `--fix`) is provided. diff --git a/uv.lock b/uv.lock index 2ee4075..6071ac1 100644 --- a/uv.lock +++ b/uv.lock @@ -16,19 +16,6 @@ wheels = [ { url = "https://files.pythonhosted.org/packages/1b/b4/f7e396030e3b11394436358ca258a81d6010106582422f23443c16ca1873/anyio-4.5.2-py3-none-any.whl", hash = "sha256:c011ee36bc1e8ba40e5a81cb9df91925c218fe9b778554e0b56a21e1b5d4716f", size = 89766 }, ] -[[package]] -name = "asyncer" -version = "0.0.8" -source = { registry = "https://pypi.org/simple" } -dependencies = [ - { name = "anyio" }, - { name = "typing-extensions", marker = "python_full_version < '3.10'" }, -] -sdist = { url = "https://files.pythonhosted.org/packages/ff/67/7ea59c3e69eaeee42e7fc91a5be67ca5849c8979acac2b920249760c6af2/asyncer-0.0.8.tar.gz", hash = "sha256:a589d980f57e20efb07ed91d0dbe67f1d2fd343e7142c66d3a099f05c620739c", size = 18217 } -wheels = [ - { url = "https://files.pythonhosted.org/packages/8a/04/15b6ca6b7842eda2748bda0a0af73f2d054e9344320f8bba01f994294bcb/asyncer-0.0.8-py3-none-any.whl", hash = "sha256:5920d48fc99c8f8f0f1576e1882f5022885589c5fcbc46ce4224ec3e53776eeb", size = 9209 }, -] - [[package]] name = "asyncmock" version = "0.4.2" @@ -309,8 +296,6 @@ dependencies = [ [package.dev-dependencies] dev = [ - { name = "anyio" }, - { name = "asyncer" }, { name = "asyncmock" }, { name = "coverage" }, { name = "mock" }, @@ -329,8 +314,6 @@ requires-dist = [ [package.metadata.requires-dev] dev = [ - { name = "anyio", specifier = ">=4.5.2" }, - { name = "asyncer", specifier = ">=0.0.8" }, { name = "asyncmock", specifier = ">=0.4.2" }, { name = "coverage", specifier = ">=7.6.1" }, { name = "mock", specifier = ">=5.1.0" },