abc

Review Request #11523 — Created March 14, 2021 and discarded

qianxi
RBTools
master
rbtools
[WIP]Add a new command called "api". Add option commands called "--get", "--post", "--delete". "api --get" option can substitute original "api-get" option now.


[WIP]Add api.py file, forget to stage this file in the last commit.


[WIP]Add "--put" option but still need to find out how to send post/put data. Add "--header" option, still need to find a way to combine our customized header with original data.


Refactor methods in api class. Now support use --header option to add customized header in a request.


[WIP]Allow basic HTTP GET, DELETE. Allow POST and PUT key value pairs. Still need further testings


Remove redundant print statements from api-get.py


Fix coding style problems.


Fix more coding style problems.


Add a newline character.


Change create create_cookie_jar function. Edit test_create_cookie_jar. Fix coding style problems. Change improper variable names.


Api testing
12312312312kkk3
Summary
Merge XDG project changes in local branch into local master
[WIP]Add a new command called "api". Add option commands called "--get", "--post", "--delete". "api --get" option can substitute original "api-get" option now.
[WIP]Add api.py file, forget to stage this file in the last commit.
[WIP]Add "--put" option but still need to find out how to send post/put data. Add "--header" option, still need to find a way to combine our customized header with original data.
Refactor methods in api class. Now support use --header option to add customized header in a request.
[WIP]Allow basic HTTP GET, DELETE. Allow POST and PUT key value pairs. Still need further testings
Remove redundant print statements from api-get.py
Fix coding style problems.
Fix more coding style problems.
Add a newline character.
Change create create_cookie_jar function. Edit test_create_cookie_jar. Fix coding style problems. Change improper variable names.
Api testing
Description From Last Updated

W291 trailing whitespace

reviewbotreviewbot

W293 blank line contains whitespace

reviewbotreviewbot

W291 trailing whitespace

reviewbotreviewbot

W291 trailing whitespace

reviewbotreviewbot

W293 blank line contains whitespace

reviewbotreviewbot

E305 expected 2 blank lines after class or function definition, found 0

reviewbotreviewbot

E261 at least two spaces before inline comment

reviewbotreviewbot

E262 inline comment should start with '# '

reviewbotreviewbot

E302 expected 2 blank lines, found 1

reviewbotreviewbot

E501 line too long (80 > 79 characters)

reviewbotreviewbot

W291 trailing whitespace

reviewbotreviewbot

W291 trailing whitespace

reviewbotreviewbot

W291 trailing whitespace

reviewbotreviewbot

F401 'rbtools.utils.appdirs.user_config_dir' imported but unused

reviewbotreviewbot

W293 blank line contains whitespace

reviewbotreviewbot

F401 'rbtools.utils.appdirs.user_config_dir' imported but unused

reviewbotreviewbot

E127 continuation line over-indented for visual indent

reviewbotreviewbot
Checks run (1 failed, 1 succeeded)
flake8 failed.
JSHint passed.

flake8

qianxi
Review request changed

Status: Discarded

Loading...