mirror of https://github.com/progval/irctest.git
17 lines
444 B
Markdown
17 lines
444 B
Markdown
|
# Contributing
|
||
|
|
||
|
## Code style
|
||
|
|
||
|
Any color you like as long as it's [Black](https://github.com/psf/black).
|
||
|
In short:
|
||
|
|
||
|
* 88 columns
|
||
|
* double quotes
|
||
|
* avoid backslashes at line breaks (use parentheses)
|
||
|
* closing brackets/parentheses/... go on the same indent level as the line
|
||
|
that opened them
|
||
|
|
||
|
You can use [pre-commit](https://pre-commit.com/) to automatically run it
|
||
|
for you when you create a git commit.
|
||
|
Alternatively, run `pre-commit run -a`
|