In an ideal world, best to wait the recommended time by your training agency or until your computer's "time to fly" zeroes out. If you can't wait longer, try to mitigate the risks as much as you can.
Nitrox would lessen the nitrogen load, especially if you use air NDLs or dive computer set for air. Regardless of how you do it, don't push any NDLs. Hydrate well. Have the pilot make a slow ascent if air traffic and conditions permit, and try not to get above 1000' as planned. NOAA/US Navy have procedures/tables for this, but their acceptable risk may not be compatible with yours. Incidentally, BSAC tables take flying after diving into consideration, but they are more laborious to use than what most people stateside are used to.
Agree wholeheartedly with TSandM. The risk of DCS after a dive is never zero. I've seen/treated a good number of cases of altitude related DCS, some with diving beforehand and others from very high altitude exposure alone.