EasyFix: Make flake8 an optional dependency under "all"
Review Request #10151 — Created Sept. 21, 2018 and submitted
The new "all" optional dependency target is intended to replicate the
old behavior of installing all python dependencies.Documentation has been updated to reflect this.
Since this is just a change for pip dependencies I've done:
-pip install -e ./bot reviewbot-worker
-pip install -e ./bot reviewbot-worker[all]
To test if it installs and doesn't install flake8 under the default
package and the all target, and according to the logs this is the case.
Description | From | Last Updated |
---|---|---|
Please wrap your testing done to 72 columns (it goes into the commit message) |
david | |
Can you fix the summary to say "all" instead of "ALL"? |
david | |
Can we call this "all" instead of "ALL"? Also, a couple formatting nits: One space between the : and the … |
david | |
Can we say "pip install flake8" so people can just copy and paste? |
david |
Change Summary:
Updated documentation to reflect flake8 not being handled by installing reviewbot-worker
Description: |
|
||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Commit: |
|
||||||||||||
Diff: |
Revision 2 (+5 -3) |
Checks run (2 succeeded)
-
-
-
bot/setup.py (Diff revision 1) Can we call this "all" instead of "ALL"?
Also, a couple formatting nits:
- One space between the
:
and the[
- Let's split the list into one line per item, since we know we'll be adding more to it in the future.
- One space between the
-
-
docs/reviewbot/tools/flake8.rst (Diff revision 2) Can we say "pip install flake8" so people can just copy and paste?
Change Summary:
Fixed style and added full pip command to install flake8
Testing Done: |
|
||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Commit: |
|
||||||||||||||||||
Diff: |
Revision 3 (+7 -3) |
Checks run (2 succeeded)
Description: |
|
||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Testing Done: |
|
Testing Done: |
|
---|