MasterOfTheHouse
MasterOfTheHouse

Reputation: 1349

Adding flake8 to a codebase that is not a compliance with flake8 , using GitHub and GitHub actions

I have a codebase that is not in compliance with flake8. The CI/CD pipeline uses GitHub/GitHub actions. I would like to start adding python flake8 ( to check for complexity, errors and code smells). How to accomplish this task? What details should I have into account?

BR

Upvotes: 2

Views: 207

Answers (1)

Nikolay Pavlin
Nikolay Pavlin

Reputation: 365

Check this package - flakehell. It allows to ignore current flake errors, and it will lint only the new ones.

Upvotes: 1

Related Questions