Skip to content

Commit 1ea9baf

Browse files
authored
Merge pull request #10 from bitkarrot/fix/lint
fix: ci errors
2 parents 37d3a7a + 343e545 commit 1ea9baf

File tree

4 files changed

+178
-120
lines changed

4 files changed

+178
-120
lines changed

.flake8

Lines changed: 0 additions & 4 deletions
This file was deleted.

Makefile

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,12 @@
11
all: format check
22

3-
format: prettier black ruff
3+
format: prettier black ruff pyright
44

55
check: mypy checkblack checkruff checkprettier
66

7+
pyright:
8+
uv run ./node_modules/.bin/pyright
9+
710
prettier:
811
@if [ -x ./node_modules/.bin/prettier ]; then \
912
./node_modules/.bin/prettier --write .; \

pyproject.toml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ dev-dependencies = [
1212
"black",
1313
"pytest-asyncio",
1414
"pytest",
15-
"mypy==1.10.0",
15+
"mypy==1.17.1",
1616
"pre-commit",
1717
"ruff",
1818
]
@@ -22,6 +22,7 @@ name = "lnbits-decoder"
2222
version = "0.0.2"
2323
description = "LNbits decoder extension"
2424
authors = ["Bitkarrot <lnbits@bitkarrot.co>"]
25+
package-mode = false
2526

2627
[tool.poetry.dependencies]
2728
python = ">=3.10,<3.13"

0 commit comments

Comments
 (0)