I do not put flour or boxes of pasta in the cupboard without sealing them in plastic bags or boxes first.
I have never purchased grain items that already had weevils in them. But if they sit around the kitchen for a while, especially if the package is opened, they will attract weevils. This is more of a problem in some parts of the country. In Maryland, I can get away with opening a package and using it within a week or so before the weevils find it; in California, the weevils showed up almost as soon as I put the package in the cupboard.
I suggest investing in some Rubbermaid containers and making a habit of sealing all grain items as soon as you take them home from the store. Ziploc bags also work. The plastic shopping bags will NOT work.
“I have never purchased grain items that already had weevils in them.”
I did once. I opened some corn meal and there were weevils so I went to the store and bought a new bag got home, opened it and it had just as many. I just picked them out and used it anyway.
Yep.
We ziplock to keep the stupid at ants at bay.
Kitchen and pantry are pristine clean but, all it takes is a little food stuff and the ants are everywhere.