No. I don't think a parent saying, "I forgive you" and then punishing a child is a hypocrite. The punishment is the consequence. You choose the behavior, you choose the consequence. Parents are well within their right to teach children that their actions have consequences.
If you are trying to take the Christian view - there are plenty of verses that speak about not judging. Here are a few reminders:
Luke 6:37"Do not judge, and you will not be judged. Do not condemn, and you will not be condemned. Forgive, and you will be forgiven.
Luke 6:41"Why do you look at the speck of sawdust in your brother's eye and pay no attention to the plank in your own eye?
John 8:7When they kept on questioning him, he straightened up and said to them, "Let any one of you who is without sin be the first to throw a stone at her."
Romans 2:1You, therefore, have no excuse, you who pass judgment on someone else, for at whatever point you judge another, you are condemning yourself, because you who pass judgment do the same things.
Romans 14:10You, then, why do you judge your brother or sister? Or why do you treat them with contempt? For we will all stand before God's judgment seat.
Romans 14:13Therefore let us stop passing judgment on one another. Instead, make up your mind not to put any stumbling block or obstacle in the way of a brother or sister.
1 Corinthians 4:5Therefore judge nothing before the appointed time; wait until the Lord comes. He will bring to light what is hidden in darkness and will expose the motives of the heart. At that time each will receive their praise from God.
James 4:11Brothers and sisters, do not slander one another. Anyone who speaks against a brother or sister or judges them speaks against the law and judges it. When you judge the law, you are not keeping it, but sitting in judgment on it.