A boilerplate Python 3 project set up for unit tests and continuous integration.
Specifically:
- Enforces Python style rules with YAPF
- Performs static analysis with pyflakes and pylint
- Sorts imports with isort
mkdir -p ./venv && \
virtualenv --python python3 ./venv && \
. venv/bin/activate && \
pip install --requirement dev_requirements.txt && \
./dev-scripts/enable-git-hooks
To customize this for your project:
- Change
LICENSE
to a license of your choosing. - Change the CircleCI badge in
README.md
to your own Circle CI project badge. - Change the app name in
main.py
fromPython Seed
to your app's name. - Rename
app/dummy.py
andapp/dummy_test.py
to the module names of your choosing. - Begin working.
./main.py