From 62e214863fde0906983f75007f35d3866c994801 Mon Sep 17 00:00:00 2001 From: Tim Gates Date: Sun, 11 Sep 2022 07:47:27 +1000 Subject: [PATCH] docs: Fix a few typos There are small typos in: - CONTRIBUTING.md - examples/app.py - flask_profiler/storage/mongo.py Fixes: - Should read `profiler` rather than `profider`. - Should read `conforms` rather than `comforms`. - Should read `differences` rather than `differencies`. Signed-off-by: Tim Gates --- CONTRIBUTING.md | 2 +- examples/app.py | 2 +- flask_profiler/storage/mongo.py | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 794c0ba..4f4d9f0 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -9,7 +9,7 @@ tl;dr: Contributors should follow the standard team development practices. * Check for unnecessary whitespace with git diff --check before committing. * Make sure your commit messages are in the proper format. * If your commit fixes an open issue, reference it in the commit message (#15). -* Make sure your code comforms to [PEP8](https://www.python.org/dev/peps/pep-0008/). +* Make sure your code conforms to [PEP8](https://www.python.org/dev/peps/pep-0008/). * Make sure you have added the necessary tests for your changes. * Run all the tests to assure nothing else was accidentally broken. diff --git a/examples/app.py b/examples/app.py index 5508d90..61b610c 100644 --- a/examples/app.py +++ b/examples/app.py @@ -53,7 +53,7 @@ def getPhoto(): # endpoint declarations after flask_profiler.init_app() will be -# hidden to flask_profider. +# hidden to flask_profiler. @app.route('/doSomething', methods=['GET']) def doSomething(): return "flask-provider will not measure this." diff --git a/flask_profiler/storage/mongo.py b/flask_profiler/storage/mongo.py index d3571a5..55bdb55 100644 --- a/flask_profiler/storage/mongo.py +++ b/flask_profiler/storage/mongo.py @@ -263,7 +263,7 @@ def get(self, measurementId): def aggregate(self, pipeline, **kwargs): """Perform an aggregation and make sure that result will be everytime - CommandCursor. Will take care for pymongo version differencies + CommandCursor. Will take care for pymongo version differences :param pipeline: {list} of aggregation pipeline stages :return: {pymongo.command_cursor.CommandCursor} """