Season the cod fillets with salt and pepper. Then dredge both sides of the fillets in flour.
Fill a skillet with 4 Tbsp olive oil or enough to cover the bottom of the pan. Bring the oil to medium-high heat.
Brown each fillet until almost completely done. Then set aside.
In the same skillet, cook the minced garlic and chopped onion until translucent.
Add the chopped bell peppers and carrots and sauté until tender.
Add the white wine and cook over high heat for about 1 minute to let the alcohol cook out.
Pour the diced tomatoes, chili flakes, salt, and pepper (to taste) over the sautéed vegetables. Cook covered over medium-low heat for about 10 minutes.
Place the browned cod fillets back into the skillet and stir the vegetables over the fish. Cook covered over medium-low heat for another 15 minutes. Garnish with fresh parsley.