... | ... | @@ -8,9 +8,10 @@ If you are relatively new to Python, check this [readability counts](https://www |
|
|
|
|
|
#### pep-8 and pylint
|
|
|
|
|
|
[read pep 8 again](https://www.python.org/dev/peps/pep-0008/) (Python's style guide, not "sverchok's" style guide)
|
|
|
- [read pep 8 again](https://www.python.org/dev/peps/pep-0008/) (Python's style guide, not sverchok's style guide).
|
|
|
- Use a pep8 checker or [pylint](https://www.pylint.org/) - it's like someone watching over your shoulder trying to get you to write more consistent code.
|
|
|
|
|
|
We follow pep8 mostly. Line-length however is not something we obsess about. Make your lines as long as you need. We also ignore smaller style issues. If you use PyLint, these are some of the ignores you'll find in the codebase:
|
|
|
We follow pep8 mostly. Line-length however is not something we obsess about. Make your lines as long as you need. We also ignore smaller style issues. These are some of the ignores you'll find in the codebase:
|
|
|
|
|
|
```python
|
|
|
# pylint: disable=w0122
|
... | ... | |