You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@skywalking.apache.org by ke...@apache.org on 2020/07/02 13:44:07 UTC
[skywalking-python] 04/12: fix code style
This is an automated email from the ASF dual-hosted git repository.
kezhenxu94 pushed a commit to branch flask-plugin
in repository https://gitbox.apache.org/repos/asf/skywalking-python.git
commit 0562900c244f57ea93c2efb6cffca018364eff65
Author: huawei <hu...@bit-s.cn>
AuthorDate: Fri Jun 26 11:22:31 2020 +0800
fix code style
---
tests/plugin/sw_flask/services/provider.py | 2 +-
tests/plugin/sw_requests/services/__init__.py | 2 +-
tests/plugin/sw_requests/services/consumer.py | 2 +-
tests/plugin/sw_requests/services/provider.py | 2 +-
4 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/tests/plugin/sw_flask/services/provider.py b/tests/plugin/sw_flask/services/provider.py
index e3213bb..34fa1ff 100644
--- a/tests/plugin/sw_flask/services/provider.py
+++ b/tests/plugin/sw_flask/services/provider.py
@@ -28,7 +28,7 @@ if __name__ == '__main__':
app = Flask(__name__)
- @app.route("/users", methods=["POST","GET"])
+ @app.route("/users", methods=["POST", "GET"])
def application():
time.sleep(0.5)
return jsonify('{"song": "Despacito", "artist": "Luis Fonsi"}')
diff --git a/tests/plugin/sw_requests/services/__init__.py b/tests/plugin/sw_requests/services/__init__.py
index a9fd83f..b1312a0 100644
--- a/tests/plugin/sw_requests/services/__init__.py
+++ b/tests/plugin/sw_requests/services/__init__.py
@@ -13,4 +13,4 @@
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
-#
\ No newline at end of file
+#
diff --git a/tests/plugin/sw_requests/services/consumer.py b/tests/plugin/sw_requests/services/consumer.py
index 75b1fec..4328fc1 100644
--- a/tests/plugin/sw_requests/services/consumer.py
+++ b/tests/plugin/sw_requests/services/consumer.py
@@ -41,4 +41,4 @@ if __name__ == '__main__':
with socketserver.TCPServer(("", PORT), Handler) as httpd:
print("serving at port", PORT)
- httpd.serve_forever()
\ No newline at end of file
+ httpd.serve_forever()
diff --git a/tests/plugin/sw_requests/services/provider.py b/tests/plugin/sw_requests/services/provider.py
index 229601a..7af884a 100644
--- a/tests/plugin/sw_requests/services/provider.py
+++ b/tests/plugin/sw_requests/services/provider.py
@@ -40,4 +40,4 @@ if __name__ == '__main__':
Handler = SimpleHTTPRequestHandler
with socketserver.TCPServer(("", PORT), Handler) as httpd:
- httpd.serve_forever()
\ No newline at end of file
+ httpd.serve_forever()