Fix some typos using codespell (#285)

This commit is contained in:
Alexandre Avenel 2017-11-11 18:11:15 +01:00 committed by Alexis Metaireau
parent 974485690c
commit 2866c868d5
5 changed files with 6 additions and 6 deletions

View file

@ -51,7 +51,7 @@ A project needs the following arguments:
-d 'name=yay&id=yay&password=yay&contact_email=yay@notmyidea.org' -d 'name=yay&id=yay&password=yay&contact_email=yay@notmyidea.org'
"yay" "yay"
As you can see, the API retuns the identifier of the project As you can see, the API returns the identifier of the project
Getting information about the project Getting information about the project
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

View file

@ -186,7 +186,7 @@ Production values are recommended values for use in production.
| | | **Production value:** `ihatemoney conf-example ihatemoney.cfg` sets it to something | | | | **Production value:** `ihatemoney conf-example ihatemoney.cfg` sets it to something |
| | | random, which is good. | | | | random, which is good. |
+-------------------------------+---------------------------------+----------------------------------------------------------------------------------------+ +-------------------------------+---------------------------------+----------------------------------------------------------------------------------------+
| MAIL_DEFAULT_SENDER | ``("Budget manager", | A python tuple describing the name and email adress to use when sending | | MAIL_DEFAULT_SENDER | ``("Budget manager", | A python tuple describing the name and email address to use when sending |
| | "budget@notmyidea.org")`` | emails. | | | "budget@notmyidea.org")`` | emails. |
| | | | | | | |
| | | **Production value:** Any tuple you want. | | | | **Production value:** Any tuple you want. |

View file

@ -39,7 +39,7 @@ instructions:
Switch from git installation to pip installation Switch from git installation to pip installation
++++++++++++++++++++++++++++++++++++++++++++++++ ++++++++++++++++++++++++++++++++++++++++++++++++
The recomended installation method is now using *pip*. Git is now intended for The recommended installation method is now using *pip*. Git is now intended for
development only. development only.
.. warning:: Be extra careful to not remove your sqlite database nor your .. warning:: Be extra careful to not remove your sqlite database nor your

View file

@ -403,7 +403,7 @@ class BudgetTestCase(IhatemoneyTestCase):
c.get("/exit") c.get("/exit")
self.assertNotIn('raclette', session) self.assertNotIn('raclette', session)
# test that whith admin credentials, one can access every project # test that with admin credentials, one can access every project
self.app.config['ADMIN_PASSWORD'] = generate_password_hash("pass") self.app.config['ADMIN_PASSWORD'] = generate_password_hash("pass")
with self.app.test_client() as c: with self.app.test_client() as c:
resp = c.post("/admin?goto=%2Fraclette", data={'admin_password': 'pass'}) resp = c.post("/admin?goto=%2Fraclette", data={'admin_password': 'pass'})
@ -1192,7 +1192,7 @@ class APITestCase(IhatemoneyTestCase):
self.assertDictEqual(expected, json.loads(req.data.decode('utf-8'))) self.assertDictEqual(expected, json.loads(req.data.decode('utf-8')))
# the list of bills should lenght 1 # the list of bills should length 1
req = self.client.get("/api/projects/raclette/bills", req = self.client.get("/api/projects/raclette/bills",
headers=self.get_auth("raclette")) headers=self.get_auth("raclette"))
self.assertStatus(200, req) self.assertStatus(200, req)

View file

@ -359,7 +359,7 @@ def demo():
Authenticate the user for the demonstration project and redirect him to Authenticate the user for the demonstration project and redirect him to
the bills list for this project. the bills list for this project.
Create a demo project if it doesnt exists yet (or has been deleted) Create a demo project if it doesn't exists yet (or has been deleted)
If the demo project is deactivated, one is redirected to the create project form If the demo project is deactivated, one is redirected to the create project form
""" """
is_demo_project_activated = current_app.config['ACTIVATE_DEMO_PROJECT'] is_demo_project_activated = current_app.config['ACTIVATE_DEMO_PROJECT']