flake8
-
contrib/internal/prepare-dev.py (Diff revision 1) Show all issues
Review Request #11951 — Created Jan. 21, 2022 and discarded
This modernizes the way we request input and display output on
prepare-dev.py
, utilizing more of rb-site'sConsoleUI
. This is a
better, more consistent way of displaying information and prompting for
information.The text has been updated to be more user-friendly, to offer
guidance for when things go wrong, and to provide next steps when the
environment is prepared.
Ran through
prepare-dev.py
with a brand-new clone and database, and also
with an existing one.Verified dependencies were installed.
Verified each new text string was correct and free from typos.
Summary | ID |
---|---|
e30f2fcf4418c1fd419ba7d034fbcabb3accca92 | |
e77f748462f8a4a61f0dca6076dfd58b00a308da |
Description | From | Last Updated |
---|---|---|
Typo in description: prepare-dev.ppy -> prepare-dev.py |
|
|
Can you flesh out the testing done? |
|
|
There needs to be a blank line between the description and the type. |
|
|
There's an extra space between "in" and "the" |
|
|
E126 continuation line over-indented for hanging indent |
![]() |
|
If this is meant to set the global variable, you need global ui |
|
|
Please use single quotes instead of double. |
|
|
Please add a blank line between these. |
|
|
There's a missing space at the end of the first line. |
|
Looks pretty good, just a few style issues and one important global variable problem.
contrib/internal/prepare-dev.py (Diff revision 1) |
---|
There needs to be a blank line between the description and the type.
contrib/internal/prepare-dev.py (Diff revision 1) |
---|
I've never seen this before, what does
os.system
do?
contrib/internal/prepare-dev.py (Diff revision 1) |
---|
If this is meant to set the global variable, you need
global ui
contrib/internal/prepare-dev.py (Diff revision 1) |
---|
There's a missing space at the end of the first line.
global
.Description: |
|
|||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Testing Done: |
|
|||||||||||||||||||||||||||
Commits: |
|
|||||||||||||||||||||||||||
Diff: |
Revision 2 (+16 -8) |
Commits: |
|
|||||||||
---|---|---|---|---|---|---|---|---|---|---|
Diff: |
Revision 3 (+139 -49) |