digen / pep8squad

PEP8 Squad, for enforcing foolish consistency

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

PEP8 Squad

Enforcements of PEP8's suggestions, with Dropbox and YAPF.

Read more about webhooks the Dropbox developers site.

You can try the example yourself by visiting pep8squad.herokuapp.com.

Running the sample yourself

This sample was built with Heroku in mind as a target, so the simplest way to run the sample is via foreman:

  1. Copy .env_sample to .env and fill in the values.
  2. Run pip install -r requirements.txt to install the necessary modules.
  3. Launch the app via foreman start or deploy to Heroku.

You can also just set the required environment variables (using .env_sample as a guide) and run the app directly with python app.py.

Deploy on Heroku

You can deploy directly to Heroku with the button below. First you'll need to create an API app via the App Console. Make sure your app has access to files (not just datastores), and answer "Yes - My app only needs access to files it creates" to ensure your app gets created with "App folder" permissions.

Deploy

Once you've deployed, you can easily clone the app and make modifications:

$ heroku clone -a new-app-name
...
$ vim app.py
$ git add .
$ git commit -m "update app.py"
$ git push heroku master
...

About

PEP8 Squad, for enforcing foolish consistency

License:Apache License 2.0


Languages

Language:Python 97.8%Language:HTML 1.1%Language:CSS 1.0%