Skip to content

Commit

Permalink
fixup!
Browse files Browse the repository at this point in the history
  • Loading branch information
dni committed Apr 16, 2024
1 parent f5de2fa commit 7e9a7cf
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ authors = ["Alan Bits <[email protected]>"]

[tool.poetry.dependencies]
python = "^3.10 | ^3.9"
lnbits = "^0.12.6"
lnbits = "*"

[tool.poetry.group.dev.dependencies]
black = "^24.3.0"
Expand Down Expand Up @@ -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"]

Expand All @@ -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

0 comments on commit 7e9a7cf

Please sign in to comment.