[VicPiMakers General] Go Learn by Doing

Greg H greg.horie at gmail.com
Sun Mar 12 17:00:00 EDT 2023


Hey Craig

I was updating some jupyter code this morning and ran my *pre-commit *tool
which reminded me about our conversation from yesterday. You can see below
the checks that my *pre-commit *setup is running. You can also see how it
auto-corrects both my requirements.txt order and my lint (using *black *...
actually *black-jupyter* in this case). So on the 2nd run it's all clean
and ready for check-in.

Greg


*# 1st pre-commit run*
*➜ pre-commit run --all-files*
Check
JSON...............................................................Passed
Check for merge
conflicts................................................Passed
Check
Yaml...............................................................Passed
Fix End of
Files.........................................................Passed
Trim Trailing
Whitespace.................................................Passed
Debug Statements
(Python)................................................Passed
Detect AWS
Credentials...................................................Passed
Detect Private
Key.......................................................Passed




*Fix
requirements.txt.....................................................Failed-
hook id: requirements-txt-fixer- exit code: 1- files were modified by this
hookSorting requirements.txt*
black....................................................................Passed





*black-jupyter............................................................Failed-
hook id: black-jupyter- files were modified by this hookreformatted
projects/drawdown_model.ipynbAll done! ✨ 🍰 ✨1 file reformatted, 13 files
left unchanged.*
Markdownlint.............................................................Passed
pylint...................................................................Passed
nb-ensure-clean..........................................................Passed

*# 2nd pre-commit run*
*➜ pre-commit run --all-files*
Check
JSON...............................................................Passed
Check for merge
conflicts................................................Passed
Check
Yaml...............................................................Passed
Fix End of
Files.........................................................Passed
Trim Trailing
Whitespace.................................................Passed
Debug Statements
(Python)................................................Passed
Detect AWS
Credentials...................................................Passed
Detect Private
Key.......................................................Passed

*Fix
requirements.txt.....................................................Passed*
black....................................................................Passed

*black-jupyter............................................................Passed*
Markdownlint.............................................................Passed
pylint...................................................................Passed
nb-ensure-clean..........................................................Passed


On Sun, Mar 12, 2023 at 9:09 AM Greg H <greg.horie at gmail.com> wrote:

> Thanks Craig!
>
> Please send feedback <https://forms.gle/EmtLgnfQWQb9q5v86>, if you have
> any thoughts on what you'd like me to present on in the future. I'll try to
> be more disciplined on time next time.
>
> Cheers,
> Greg
>
>
>
> On Sat, Mar 11, 2023 at 3:19 PM Craig Miller <cvmiller at gmail.com> wrote:
>
>> Thanks Greg,
>>
>> Excellent presentation, which clearly had people thinking.
>>
>> Craig...
>> On 3/11/23 2:53 PM, Greg H wrote:
>>
>> Hi Folks
>>
>> Here are the resources from today's VicPiMaker's presentation (links
>> below). There is also a feedback form with only 3 questions. Please take a
>> moment to fill this out so I can see where folks would like to go for
>> future presentations.
>>
>> If you have any questions, feel free to contact me on the mailing list or
>> directly via email.
>>
>> Cheers,
>> Greg <greg.horie at gmail.com>
>>
>>
>> *GitHub Repo - Includes presentation slides and code examples:*
>> https://github.com/netserf/vicpimakers-presentation-go-learn-by-doing
>>
>> *Feedback:*
>> https://forms.gle/EmtLgnfQWQb9q5v86
>>
>>
>> --
>> IPv6 is the future, the future is here
>> ipv6hawaii.org
>> --
>> VicPiMakers mailing list
>> VicPiMakers at vicpimakers.ca
>> http://vicpimakers.ca/mailman/listinfo/vicpimakers_vicpimakers.ca
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://vicpimakers.ca/pipermail/vicpimakers_vicpimakers.ca/attachments/20230312/c07130d3/attachment.htm>


More information about the VicPiMakers mailing list