1Cook the whole wheat pasta according to the package instructions until al dente. Drain and set aside.
In a large skillet, heat the olive oil over medium heat.
Add the chopped onions to the skillet and sauté until they become translucent, about 3-4 minutes.
Stir in the grated carrots and cook for another 2 minutes.
Add the chopped tomatoes, red pepper flakes, salt, and black pepper to the skillet. Cook for 5-7 minutes, stirring occasionally, until the tomatoes have softened.
Add the cooked pasta to the skillet and toss to combine with the sauce.
Cook for an additional 2-3 minutes to heat the pasta through.
Serve hot, garnished with additional red pepper flakes if desired.