A new feture was recently added to ArcGIS Pro so that when a python toolbox is refreshed it will popup with the Warning: "
Opening a Python toolbox runs third-party code. Confirm you trust the source before proceeding.
(file Path)
Allow this toolbox code to run?
"
This warning gets really annoying when developing python toolboxes and it would be nice if there was a way to permanently mark it as a trusted 3rd party for the project with a "do not ask again" button or be able to set a trusted directory that has all the users toolboxes as white listed and to not show the warning again.