Repository navigation
🔧 Configure strict pytest options and update/refactor tests - #2790
Conversation
Codecov Report
@@ Coverage Diff @@
## master #2790 +/- ##
===========================================
Coverage 100.00% 100.00%
===========================================
Files 226 254 +28
Lines 6783 7855 +1072
===========================================
+ Hits 6783 7855 +1072
Continue to review full report at Codecov.
|
|
📝 Docs preview for commit 6cc34f1 at: https://60246ad88f4cb063c3e24d54--fastapi.netlify.app |
|
📝 Docs preview for commit 5f6d011a78f093ffb31cc1b451d3f6f7d78c7fe9 at: https://6024727aee9f6d6ae04972a0--fastapi.netlify.app |
5f6d011 to
9f50ab2
Compare
|
📝 Docs preview for commit 9f50ab2 at: https://602473ee4692647992a3c062--fastapi.netlify.app |
tiangolo
left a comment
There was a problem hiding this comment.
Thanks for all your work on this! 🙇 🤓
Thanks for improving the file handling and for the refactor to pathlib, I love it. 🤩
I have mainly a couple of questions about the configs.
Co-authored-by: Sebastián Ramírez <tiangolo@gmail.com>
with new fixes using a with open() block
|
📝 Docs preview for commit 7fcb5e5 at: https://60f5bb35a358f200aa49c7a3--fastapi.netlify.app |
|
@tiangolo Hello thanks for enabling my build! |
|
Hey @graingert! Sure thing, go ahead! I just updated the docs that use that tutorial example to account for the changes, but that's done. And thanks a lot! BTW, I commented out the pytest ignores to see if they would explode or not. Also, I think the errors are because some recent tests used Pydantic models with |
|
Yep that looks like it to me, I'm happy for you to keep pushing to my
branch!
…On Mon, 19 Jul 2021, 19:37 Sebastián Ramírez, ***@***.***> wrote:
Hey @graingert <https://github.com/graingert>! Sure thing, go ahead! I
just updated the docs that use that tutorial example to account for the
changes, but that's done. And thanks a lot!
BTW, I commented out the pytest ignores to see if they would explode or
not.
Also, I think the errors are because some recent tests used Pydantic
models with Test in the name that were added in a recent PR. If you wanna
fix those, that's awesome, but otherwise, you can just let me know and I
can do it. 🤓
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#2790 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AADFATFCV2PXBLAUKNDHGG3TYRWHNANCNFSM4XN3E3GA>
.
|
|
📝 Docs preview for commit 69d69e2 at: https://60f5cb5495d61e00c8846e31--fastapi.netlify.app |
|
📝 Docs preview for commit 9bd72ae at: https://60f5cdda1fb0c60098118bb8--fastapi.netlify.app |
|
📝 Docs preview for commit c36d79e at: https://60f5cecd2ffa5f00e92a0ef5--fastapi.netlify.app |
Now that fastapi/fastapi#2790 has been merged in master, we don't need to filter those warnings anymore
Now that fastapi/fastapi#2790 has been merged in master, we don't need to filter those warnings anymore
…2790) Co-authored-by: Sebastián Ramírez <tiangolo@gmail.com>
Now that fastapi/fastapi#2790 has been merged in master, we don't need to filter those warnings anymore
currently upstream is having to override pytest options to ignore these warnings pydantic/pydantic#2337 (comment)