Hello wow I am surprised by this question because no one acknowledges Victor Hugo as religious in anyway his work does not move in any religious circles. But searching online it was found:
Hugo's religious views changed radically over the course of his life. In his youth and under the influence of his mother, he identified as a Catholic and professed respect for Church hierarchy and authority. From there he became a non-practicing Catholic and increasingly expressed anti-Catholic and anti-clerical views.