EpistasisLab / EpistasisLab/tpot

ENH: Export PEP8-formatted code

Open
#282 2 comments 0 reactions 0 assignees View on GitHub
enhancement need contributor
Dominant language
Jupyter Notebook
Stars
10.1k
Forks
1.6k
PR merge metrics
No merged PRs in 30d

Description

The source generated from export tends to extend beyond 79 characters. {pep8ify, autopep8} automatically format Python code according to PEP8.

When editing an exported pipeline with an editor with syntax checking (e.g. vim and python-mode https://github.com/klen/python-mode#python-libraries ), the PEP8 warnings can be fixed by auto-pep8'ing.
- PEP8 "Style Guide for Python Code"

https://www.python.org/dev/peps/pep-0008/
- https://github.com/spulec/pep8ify
- https://docs.python.org/2/library/2to3.html
- http://python3porting.com/2to3.html
- https://github.com/hhatto/autopep8
- https://github.com/PyCQA/pycodestyle

.
- https://github.com/rhiever/tpot/blob/master/tpot/export_utils.py

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.