Been trying to gauge the man’s politics and I think he leans more toward being an anti-colonial nationalist rather than an outright socialist.
Both can be true, in fact the national question is what has brought many historical figures to socialism. Uncle Ho for example used the pseudonym "Nguyen the patriot" when he was in france and he himself said that it was nationalism what brough him to Marxism. Same with Mao, this is mentioned on the first chapters of "Western Marxism" by Domenico Losurdo and more elaborated on his other works like Class struggle. It's almost impossible for someone fighting for national liberation to not be a socialist or symphatetic to socialism, the russian revolution was an inspiration to every single leader fighting for liberation during its time, even Sun Yatsen was in some way inspired by it.
My personal opinion is that he is definitely socialist, it's fairly obvious he imitates Sankara who was a marxist, how well read he is i don't know but it doesn't really matter, what matters is what they do and they certainly have done great progress towards the liberation of the sahel states.