Conversation
|
@Helper2020 Adding my comments from chat:
|
|
@seanlip Sorry, I forgot to push the last commit.
|
|
@seanlip I didn't saw you are reviewing. I added LGTM, but it requires you review, so I am not adding blocking review again. @Helper2020 please ensure it's approved by @seanlip before merging. |
seanlip
left a comment
There was a problem hiding this comment.
Thanks @Helper2020 -- just a couple of comments, PTAL.
Coding-style-guide.md
Outdated
|
|
||
| ## Python | ||
|
|
||
| #### Black |
There was a problem hiding this comment.
Please move the section that talks about Black (basically, all the new stuff) just above the section that talks about Prettier, and give it the same level of heading. We should be consistent in how we describe the formatters.
Coding-style-guide.md
Outdated
| 'def', | ||
| None) | ||
| - **Indentation inside parentheses:** | ||
| Let [Black](https://black.readthedocs.io/en/stable/) handle indentation and line breaks automatically. |
There was a problem hiding this comment.
Have the Black hyperlink link to the section of this wiki page that discusses Black, instead.
Helper2020
left a comment
There was a problem hiding this comment.
@seanlip PTAL
Coding-style-guide.md
Outdated
|
|
||
| ## Python | ||
|
|
||
| #### Black |
Coding-style-guide.md
Outdated
| 'def', | ||
| None) | ||
| - **Indentation inside parentheses:** | ||
| Let [Black](https://black.readthedocs.io/en/stable/) handle indentation and line breaks automatically. |
seanlip
left a comment
There was a problem hiding this comment.
@Helper2020 Just a couple more suggested changes, then it looks good to merge. Thanks!
Coding-style-guide.md
Outdated
| - **Indentation inside parentheses:** | ||
| Let [Black](#black) handle indentation and line breaks automatically. | ||
| Do **not** manually align to the opening parenthesis or indent by a fixed number of spaces. |
There was a problem hiding this comment.
| - **Indentation inside parentheses:** | |
| Let [Black](#black) handle indentation and line breaks automatically. | |
| Do **not** manually align to the opening parenthesis or indent by a fixed number of spaces. | |
| - Indentation inside parentheses: Let [Black](#black) handle indentation and line breaks automatically. Do **not** manually align to the opening parenthesis or indent by a fixed number of spaces. |
Coding-style-guide.md
Outdated
| - **Manual formatting:** You can format a specific file manually using: | ||
| ```bash | ||
| black /home/dev/opensource/oppia/core/controllers/android.py |
There was a problem hiding this comment.
| - **Manual formatting:** You can format a specific file manually using: | |
| ```bash | |
| black /home/dev/opensource/oppia/core/controllers/android.py | |
| - **Manual formatting:** You can format a specific file manually using `black {{filepath}}`. For example, to format android.py, you would run: | |
| ```bash | |
| black /home/dev/opensource/oppia/core/controllers/android.py |
No description provided.