Skip to content

szabgab/flake8-start

Repository files navigation

Starter tool for flake8

Setup

  1. Run this script providing the path to the repository of your project. It will create the .flake8 file in the root of the project. This configuration will ignore all the failure types in your code and it will also list them as comments for easier review.
  2. Commit this file to your version control system and configure your CI system to run flake8 on your code on every push. This will ensure no new type of failure will get past the CI system.

Cleanup

  1. Review the failures. Pick one of them that you feel is important to fix. Remove its code from the ignore list. Run flake8 on your code to see where is this failure reported. Fix the code.
  2. Commit your new version of the code and the .flake8 file that does not ignore this error-type any more.
  3. Repeate the cleanup process.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages