Skip to content

Commit 7b6f318

Browse files
Update python.md
1 parent 86c027d commit 7b6f318

File tree

1 file changed

+13
-12
lines changed

1 file changed

+13
-12
lines changed

recipes/make/python.md

Lines changed: 13 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -80,26 +80,26 @@ For `find`:
8080
TEST_PATH=./
8181

8282
clean-pyc:
83-
find . -name '*.pyc' -exec rm --force {} +
84-
find . -name '*.pyo' -exec rm --force {} +
85-
name '*~' -exec rm --force {}
83+
find . -name '*.pyc' -exec rm --force {} +
84+
find . -name '*.pyo' -exec rm --force {} +
85+
name '*~' -exec rm --force {}
8686

8787
clean-build:
88-
rm --force --recursive build/
89-
rm --force --recursive dist/
90-
rm --force --recursive *.egg-info
88+
rm --force --recursive build/
89+
rm --force --recursive dist/
90+
rm --force --recursive *.egg-info
9191

9292
isort:
93-
sh -c "isort --skip-glob=.tox --recursive . "
93+
sh -c "isort --skip-glob=.tox --recursive . "
9494

9595
lint:
96-
flake8 --exclude=.tox
96+
flake8 --exclude=.tox
9797

9898
test: clean-pyc
99-
py.test --verbose --color=yes $(TEST_PATH)
99+
py.test --verbose --color=yes $(TEST_PATH)
100100

101101
run:
102-
python manage.py runserver
102+
python manage.py runserver
103103
```
104104

105105
Removing `.pyc` files might be different for pycache dir in newer PY3 or even the global dir.
@@ -116,7 +116,7 @@ Optionally add this at the top to prevent a file with that name from being execu
116116
- `Makefile`
117117
```make
118118
run:
119-
python manage.py runserver --host $(HOST) --port $(PORT)
119+
python manage.py runserver --host $(HOST) --port $(PORT)
120120
```
121121

122122
Run:
@@ -169,8 +169,9 @@ foo:
169169

170170
#### Spellcheck
171171

172+
On comments and docstrings.
173+
172174
```make
173-
# Run spellcheck on comments and docstring.
174175
spell:
175176
@pylint --disable all --enable spelling --spelling-dict en_US --spelling-private-dict-file spell.txt my_app
176177
```

0 commit comments

Comments
 (0)