wrongmove/crawler/README.md

27 lines
582 B
Markdown
Raw Normal View History

# Setup
```bash
pip install -r requirements.txt
```
# Formatting
```bash
yapf --style .style.yapf --recursive .
```
For VSCode - install yapf extension.
Enable formatting using yap and the style file in this repo (there may be an easier way; I put this in my user settings json):
```
{
"[python]": {
"editor.formatOnSaveMode": "file",
"editor.formatOnSave": true,
"editor.defaultFormatter": "eeyore.yapf",
"editor.formatOnType": false
},
"yapf.args": ["--style", "/home/wizard/code/realestate-crawler/crawler/.style.yapf"]
}
```