What does hope oblige us to do? Hope obliges us to trust firmly that God will give us eternal life and the means to obtain it.
Paul, a servant of God and apostle of Jesus Christ, in accordance with the faith of God's elect and the full knowledge of the truth which is according to piety, in the hope of life everlasting which God, who does not lie, promised before the ages began. (Titus 1:1-2)
What does charity oblige us to do? Charity obliges us to love God above all things because He is infinitely good, and to love our neighbor as ourselves for the love of God.
And one of them, a doctor of the Law, putting him to the test, asked him, "Master, which is the great commandment in the Law?" Jesus said to him, "'Thou shalt love the Lord thy God with thy whole heart, and with thy whole soul, and with thy whole mind.' This is the greatest and the first commandment. And the second is like it, 'Thou shalt love thy neighbor as thyself.' On these two commandments depend the whole Law and the Prophets." (Matthew 22:35-40)
Further reading: CCC 2104-2109