@@ -80,26 +80,26 @@ For `find`:
80
80
TEST_PATH =./
81
81
82
82
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 {}
86
86
87
87
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
91
91
92
92
isort :
93
- sh -c "isort --skip-glob=.tox --recursive . "
93
+ sh -c " isort --skip-glob=.tox --recursive . "
94
94
95
95
lint :
96
- flake8 --exclude=.tox
96
+ flake8 --exclude=.tox
97
97
98
98
test : clean-pyc
99
- py.test --verbose --color=yes $(TEST_PATH)
99
+ py.test --verbose --color=yes $(TEST_PATH )
100
100
101
101
run :
102
- python manage.py runserver
102
+ python manage.py runserver
103
103
```
104
104
105
105
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
116
116
- `Makefile`
117
117
```make
118
118
run :
119
- python manage.py runserver --host $(HOST) --port $(PORT)
119
+ python manage.py runserver --host $(HOST ) --port $(PORT )
120
120
```
121
121
122
122
Run :
169
169
170
170
# ### Spellcheck
171
171
172
+ On comments and docstrings.
173
+
172
174
```make
173
- # Run spellcheck on comments and docstring.
174
175
spell :
175
176
@pylint --disable all --enable spelling --spelling-dict en_US --spelling-private-dict-file spell.txt my_app
176
177
```
0 commit comments