President-elect Donald Trump is paying too much heed to the ranting of civil-rights veteran John Lewis: The Georgia congressman’s been playing the same tune about every top Republican for years now.

Yes, Lewis’ accusation was baseless and blatantly partisan: He said Trump isn’t a “legitimate president” because of Russian hacking, and he’d skip the inauguration, “the first one I’ve missed since I’ve been in Congress.”

Oops: He didn’t attend George W. Bush’s inauguration in 2001, either — charging that Dubya wasn’t truly elected.

Last year, Lewis said Trump “reminds me so much of the things that George Wallace said and did.” But he said the same in 2008 about Sen. John McCain, whose presidential run was “sowing the seeds of hatred and division” and “reminds me too much of another destructive period in our history.”

McCain, by the way, had lavished praise on Lewis over the years and ID’d him as one of “three wise men” he’d consult as president.

Lewis is rightly renowned for his leading role during the civil-rights struggle of the ’60s. So it’s beyond sad that he feels compelled to launch the same unfounded, cookie-cutter personal attacks against Republican after Republican.

But Trump’s eventually going to have to learn to shrug off this noise. He might as well start by realizing that the absence of John Lewis and 50 of his bitterly partisan colleagues won’t mar the inauguration.