... | ... | @@ -17,3 +17,27 @@ For each project (fetcher, API, data-model, etc.), configure your editor to call |
|
|
]
|
|
|
}
|
|
|
```
|
|
|
|
|
|
### autopep8 config
|
|
|
|
|
|
To make autopep8 (auto formatting Python code tool) coherent with Pylint settings, you can add these line to VScode settings:
|
|
|
|
|
|
```json
|
|
|
{
|
|
|
"python.formatting.autopep8Args": [
|
|
|
"--max-line-length=120"
|
|
|
]
|
|
|
}
|
|
|
```
|
|
|
|
|
|
### VScode config
|
|
|
|
|
|
VScode can also visually indicates the max line length by adding in settings:
|
|
|
|
|
|
```json
|
|
|
"[python]": {
|
|
|
"editor.rulers": [
|
|
|
120
|
|
|
]
|
|
|
},
|
|
|
``` |
|
|
\ No newline at end of file |