From 19a53e1605e8a3c8cf1cb4ce15df92f8b2c79d9c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?dni=20=E2=9A=A1?= Date: Tue, 16 Apr 2024 10:00:58 +0200 Subject: [PATCH] fixup! --- poetry.lock | 2 +- pyproject.toml | 9 +++++---- 2 files changed, 6 insertions(+), 5 deletions(-) diff --git a/poetry.lock b/poetry.lock index 5cc4dc8..9d742f6 100644 --- a/poetry.lock +++ b/poetry.lock @@ -2491,4 +2491,4 @@ testing = ["big-O", "jaraco.functools", "jaraco.itertools", "more-itertools", "p [metadata] lock-version = "2.0" python-versions = "^3.10 | ^3.9" -content-hash = "304fee00f945268477ba6def9769f9c25c0d3ca00351b025829d950c84fcdee0" +content-hash = "3094709ec77c4cbb4260ff3787ec4b71229d028f97492ec918b59ac78e5e2a4d" diff --git a/pyproject.toml b/pyproject.toml index f2ace0c..fefa56a 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -6,7 +6,7 @@ authors = ["Alan Bits "] [tool.poetry.dependencies] python = "^3.10 | ^3.9" -lnbits = "^0.12.6" +lnbits = "*" [tool.poetry.group.dev.dependencies] black = "^24.3.0" @@ -52,7 +52,8 @@ line-length = 88 # C - mccabe # N - naming # UP - pyupgrade -select = ["F", "E", "W", "I", "A", "C", "N", "UP"] +# RUF - ruff +select = ["F", "E", "W", "I", "A", "C", "N", "UP", "RUF"] # UP007: pyupgrade: use X | Y instead of Optional. (python3.10) ignore = ["UP007"] @@ -73,5 +74,5 @@ classmethod-decorators = [ # [tool.ruff.lint.extend-per-file-ignores] # "__init__.py" = ["F401", "F403"] -[tool.ruff.lint.mccabe] -max-complexity = 10 +# [tool.ruff.lint.mccabe] +# max-complexity = 10