Closed photonbit closed 11 months ago
Applied black, the errors in pytest are from areas that I didn't touch in this PR, probably some unpinned library was updated?
@photonbit Thanks for the PR, this looks great! Looks like moto is the culprit: https://github.com/getmoto/moto/issues/6841
Let's pin that to 4.2.2
for now.
I need to add contribution instructions to this repo, but once you create + activate a venv, you can run:
pip install -e .[dev]
pre-commit install
(optionally)pre-commit run --all-files
isort is also a failing check
Done, all green now :heavy_check_mark:
Merging #11 (11a815d) into main (4b90aaa) will not change coverage. The diff coverage is
100.00%
.
:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.
@@ Coverage Diff @@
## main #11 +/- ##
=========================================
Coverage 100.00% 100.00%
=========================================
Files 6 6
Lines 637 641 +4
Branches 119 119
=========================================
+ Hits 637 641 +4
Files Changed | Coverage Δ | |
---|---|---|
dyntastic/transact.py | 100.00% <100.00%> (ø) |
:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more
As the 100 transaction it is a dynamodb, I decided to keep it as a hard limit and allowed the context manager to be able to accept smaller batches to commit.