It would not pass inspection here because;
1. It is not rigid pipe
2. It has a "rise" between the valve and where it turns downward
3. It is NOT a full 3/4" i.d. as required by code.
4. If that is PVC pipe it is NOT permitted for "hot water" and if the valve ever discharged, the water would be beyond "hot", almost steaming, and if it is CPVC then it is also NOT full size i.d.
5. We cannot even use 3 /4" "flexible copper" connectors because the "ridges" reduce the i.d. to less than full size.