I believe that scripture and tradition are inspired by the Holy spirit. Scripture is a part, not separate from tradition.
If so, it would seem logical to assume you consider the scripture infallible, just as you consider the Pope infallible because of the presence of the Holy Spirit.