Skip to main content

A command line tool to create flake8 configuration file

Project description

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.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

flake8_start-0.0.1.tar.gz (4.4 kB view hashes)

Uploaded Source

Built Distribution

flake8_start-0.0.1-py3-none-any.whl (4.3 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page