Commit Graph

36 Commits

Author SHA1 Message Date
callebtc
a4abbc2eee Postgres migrations: remove balance view before children (#353)
* remove balance view before childredn

* update readme

* CI with postgres

* install postgres in CI

* run postgres tests in CI?

* disable postgres tests for now
2023-11-01 20:55:52 -03:00
callebtc
64805e4a9a Bump to 0.14.0-rc1 (#329)
* bump to 0.14.0

* bump python version

* use python 3.10.4 in check workflow
2023-09-24 19:10:25 +02:00
dni ⚡
88393fa4c4 [DEV] add ruff and remove isort and flake (#300)
* [DEV] add ruff and remove isort and flake
- precommit
- workflow
- Makefile

updated black

* configure black to use default line-length

* reformat to 88 chars line-length

* fix ugly comments
2023-08-24 09:47:47 +02:00
dni ⚡
e3ed00640f FEAT: Add flake8 (#267)
* init flake8

* exclude nostr client, and add ds_store to gitignore

* fix flake8 F811 issue, redefinition of unused variables

* add flake8 to workflow

* F401 unused imports

* F541 f-string is missing placeholders

* E501 line too long > 150 characters

* E722 no bare except

* E402 module level import not at top of file

* F405 no star imports

* E712 comparison to False should be 'if cond is False:'

* F841 local variable is assigned to but never used

* E266 too many leading '#' for block comment

* E265, E261

* E713 test for membership should be 'not in'

* E711, E741

E741 ambiguous variable name 'l'
E711 comparison to None should be 'if cond is None:'

* flake config

* isort

* refactor makefile flake8 usage

* reflaking the rebase

* black

* fix tests?

* black

* fix line lenght it test_cli

* sort out makefile

* fix strings

* reintroduce black-check

* reflake and mypy

* isort

* Update cashu/wallet/wallet.py

Co-authored-by: Angus Pearson <angus@toaster.cc>

* Update cashu/mint/ledger.py

Co-authored-by: Angus Pearson <angus@toaster.cc>

---------

Co-authored-by: Angus Pearson <angus@toaster.cc>
2023-07-28 18:42:16 +02:00
dni ⚡
c7dd582b56 FEAT: improve on workflows and makefile (#276)
* FEAT: improve on workflows and makefile

* update to poetry 1.5.1

* caching needs newer python task

quickfix
2023-07-18 00:13:39 +02:00
calle
faac030274 testing with updated python and poetry (#168) 2023-04-17 10:28:56 +02:00
calle
db27105d17 TokenV3 and new Mint startup in tests (#149)
* tokenv3 send and receive
* receive v2 and v1 tokens with tests
2023-03-28 22:35:22 +02:00
calle
f3a31fd09e use settings module (#136)
* use settings module
2023-03-16 00:59:50 +01:00
calle
9acac156a7 Testing/click (#99)
* annotate context

* remove whitespace

* test CLI

* make format

* github action with submodule checkout

* maybe now

* vllt ja nu

* und no?

* back to normal mint running

* githuuuuub

* COME OOOON!

* SO. CLOSE.

* make format

* new test

* fix it

* make format

* receive v1 token test
2023-01-19 14:13:54 +01:00
callebtc
2575cd8653 linting poetry 2023-01-15 01:30:20 +01:00
callebtc
75d6e859cf update poetry 2023-01-15 01:28:25 +01:00
callebtc
710d3ba691 remove macos tests until black installation works again 2022-12-15 00:08:31 +01:00
callebtc
afa7fe4cf6 remove windows tests 2022-10-29 23:44:00 +02:00
callebtc
ad45c046cd separate tests 2022-10-29 23:37:11 +02:00
callebtc
22399132d9 test 2022-10-29 23:34:47 +02:00
callebtc
7fe7276c71 try 2022-10-29 23:33:26 +02:00
callebtc
c6cd1829ae test windows 2022-10-29 23:31:52 +02:00
callebtc
9db83e3c2b run 2022-10-29 23:23:39 +02:00
callebtc
89462cdd13 test multiple platforms 2022-10-29 23:17:26 +02:00
callebtc
4abf1ba8b0 turn off tor for tests 2022-10-29 23:01:25 +02:00
callebtc
8eafa828ea xml 2022-10-16 13:30:27 +02:00
callebtc
9334a66958 coverage report 2022-10-16 13:29:14 +02:00
callebtc
50ec77af66 coverage 2022-10-16 13:27:26 +02:00
callebtc
eeff943e24 codecov 2022-10-11 01:01:15 +02:00
callebtc
ca14de533c myppyyyyyy 2022-10-11 00:56:56 +02:00
callebtc
993a9ae706 test again 2022-10-11 00:54:30 +02:00
callebtc
a0bd7ae06e mypyyy 2022-10-11 00:52:17 +02:00
callebtc
f22fb5f843 setup mypy 2022-10-11 00:51:02 +02:00
callebtc
d4df155a39 rename tests 2022-10-11 00:49:05 +02:00
callebtc
74df219d6d mypy 2022-10-11 00:48:05 +02:00
callebtc
59aab85c6a pk for github 2022-10-08 19:54:18 +02:00
callebtc
063d01bbe7 black and isort 2022-10-05 20:08:45 +02:00
callebtc
89ebac1c23 black formatting 2022-10-05 20:05:21 +02:00
callebtc
47a95aa3bc add format check 2022-10-05 20:04:20 +02:00
callebtc
7f1f3e3574 test 2022-10-05 20:01:26 +02:00
callebtc
115b818c99 add tests 2022-10-05 19:59:42 +02:00