Skip to content
This repository was archived by the owner on Aug 8, 2023. It is now read-only.

Commit 7c58e55

Browse files
committed
TLDR on using Flake8 w/ SublimeText.
1 parent e6c9148 commit 7c58e55

File tree

1 file changed

+11
-2
lines changed

1 file changed

+11
-2
lines changed

python/README.md

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,16 @@
11
# Python Coding Style 🐍
22

3+
**TLDR**: Configure your text editor to use [`flake8`](https://flake8.readthedocs.org/en/latest/):
4+
5+
**Sublime Text**
6+
7+
Install [`flake8`](https://flake8.readthedocs.org/en/latest/#quickstart) then
8+
using [Package Control](https://packagecontrol.io/installation),
9+
install [SublimeLinter](http://www.sublimelinter.com/en/latest/installation.html)
10+
and [SublimeLinter-flake8](https://github.com/SublimeLinter/SublimeLinter-flake8).
11+
12+
## [PEP8](https://www.python.org/dev/peps/pep-0008/)
13+
314
We follow [PEP8](http://www.python.org/dev/peps/pep-0008/) with an additional
415
standard for ordering imports:
516

@@ -15,8 +26,6 @@ import requests
1526
from . import mymodule
1627
```
1728

18-
## [PEP8](https://www.python.org/dev/peps/pep-0008/)
19-
2029
### PEP8 on the Command Line
2130

2231
Install the [`pep8`](https://pypi.python.org/pypi/pep8) package and run it on

0 commit comments

Comments
 (0)