A Bradford district primary school has been praised for its "caring and welcoming" environment where pupils "thrive".