Self hosted FLOSS fitness/workout, nutrition and weight tracker
Spelling/grammar fixes in text docs/comments
Rasmus Stormc626b77341bc
diff --git a/.github/linters/.python-lint b/.github/linters/.python-lintindex b6327a3a0..5149f8f31 100644--- a/.github/linters/.python-lint+++ b/.github/linters/.python-lint@@ -55,7 +55,7 @@ confidence=# can either give multiple identifiers separated by comma (,) or put this# option multiple times (only on the command line, not in the configuration# file where it should appear only once). You can also use "--disable=all" to-# disable everything first and then reenable specific checks. For example, if+# disable everything first and then re-enable specific checks. For example, if# you want to run only the similarities checker, you can use "--disable=all# --enable=similarities". If you want to run only the classes checker, but have# no Warning level messages displayed, use "--disable=all --enable=classes@@ -143,8 +143,8 @@ disable=import-error,comprehension-escape# Enable the message, report, category or checker with the given id(s). You can-# either give multiple identifier separated by comma (,) or put this option-# multiple time (only on the command line, not in the configuration file where+# either give multiple identifiers separated by comma (,) or put this option+# multiple times (only on the command line, not in the configuration file where# it should appear only once). See also the "--disable" option for examples.enable=c-extension-no-member@@ -180,7 +180,7 @@ score=yesmax-nested-blocks=5# Complete name of functions that never returns. When checking for-# inconsistent-return-statements if a never returning function is called then+# inconsistent-return-statements, if a never returning function is called then# it will be considered as an explicit return statement and no message will be# printed.never-returning-functions=sys.exit@@ -504,7 +504,7 @@ max-attributes=7# Maximum number of boolean expressions in an if statement (see R0916).max-bool-expr=5-# Maximum number of branch for function / method body.+# Maximum number of branches for function / method body.max-branches=12# Maximum number of locals for function / method body.diff --git a/.github/workflows/pypi-publish.yml b/.github/workflows/pypi-publish.ymlindex d021fc2ff..3860538c8 100644--- a/.github/workflows/pypi-publish.yml+++ b/.github/workflows/pypi-publish.yml@@ -1,4 +1,4 @@-# This workflows will upload a Python Package using Twine when a release is created+# This workflow will upload a Python Package using Twine when a release is created# For more information see: https://help.github.com/en/actions/language-and-framework-guides/using-python-with-github-actions#publishing-to-package-registriesname: Upload Package to PyPIdiff --git a/docs/commands.rst b/docs/commands.rstindex 3d4178e0c..87860b722 100644--- a/docs/commands.rst+++ b/docs/commands.rst@@ -8,7 +8,7 @@ running application (to e.g. delete guest users, send emails, etc.).Administration Commands------------------------The application provides several administration and bootstraping commands that+The application provides several administration and bootstrapping commands thatcan be passed to the ``wger`` command::wger <command>@@ -25,7 +25,7 @@ arguments::create-settings Creates a local settings fileload-fixtures Loads all fixturesmigrate-db Run all database migrations- start Start the application using django's built in webserver+ start Start the application using django's built-in webserverYou can also get help on a specific command with ``wger --help <command>``.diff --git a/docs/conf.py b/docs/conf.pyindex 2f2fd6afd..d1445aa9d 100644--- a/docs/conf.py+++ b/docs/conf.py@@ -105,18 +105,18 @@ pygments_style = 'sphinx'html_theme = 'default'# Theme options are theme-specific and customize the look and feel of a theme-# further. For a list of options available for each theme, see the+# further. For a list of options available for each theme, see the# documentation.#html_theme_options = {}# Add any paths that contain custom themes here, relative to this directory.#html_theme_path = []-# The name for this set of Sphinx documents. If None, it defaults to+# The name for this set of Sphinx documents. If None, it defaults to# "<project> v<release> documentation".#html_title = None-# A shorter title for the navigation bar. Default is the same as html_title.+# A shorter title for the navigation bar. Default is the same as html_title.#html_short_title = None# The name of an image file (relative to this directory) to place at the top@@ -124,7 +124,7 @@ html_theme = 'default'#html_logo = None# The name of an image file (within the static path) to use as favicon of the-# docs. This file should be a Windows icon file (.ico) being 16x16 or 32x32+# docs. This file should be a Windows icon file (.ico) being 16x16 or 32x32# pixels large.#html_favicon = Nonediff --git a/docs/gym.rst b/docs/gym.rstindex 407f2d794..0b83d30d4 100644--- a/docs/gym.rst+++ b/docs/gym.rst@@ -18,7 +18,7 @@ There are 3 groups used for the different administrative roles:* **general manager:** Can manage (add, edit, delete) the different gyms for theinstallation as well as add gym managers, trainers and member, but is not- allowed to see the members workout data.+ allowed to see the members' workout data.* **gym manager:** Can manage users for a single gym (editing, deactivating,adding contracts, etc.).* **trainer:** Can manage the workouts and other data for the members of a@@ -34,7 +34,7 @@ be changed later. The user's gym appears in the top right menu.Member management------------------You can new members to a gym by clicking the *Add member* button at the top of+You can add members to a gym by clicking the *Add member* button at the top ofthe member overview. After filling in the form, a password will be generatedfor the user. You should save this and give it to the user, as it is not possibleto retrieve it later. Alternatively you can just instruct the new members todiff --git a/extras/bench/README.txt b/extras/bench/README.txtindex e37542828..0919aa55e 100644--- a/extras/bench/README.txt+++ b/extras/bench/README.txt@@ -9,7 +9,7 @@ package manager) if you want to create plots. It requires a running web testserver (you can edit which one in the .conf file)WARNING: You should *not* run this script against a server that is not under-your responsablity as it can result a DOS in bench mode.+your responsibility as it can result a DOS in bench mode.For more information on configuration, options, etc. refer to the funkloaddocumentation page: http://funkload.nuxeo.orgdiff --git a/extras/docker/apache/Dockerfile b/extras/docker/apache/Dockerfileindex 5b8183bfb..4bfadc31a 100644--- a/extras/docker/apache/Dockerfile+++ b/extras/docker/apache/Dockerfile@@ -1,7 +1,7 @@## A wger installation under apache with WSGI#-# Note: you MUST build this image from the projec's root!+# Note: you MUST build this image from the project's root!# docker build -f extras/docker/apache/Dockerfile --tag wger/apache .## Please consult the documentation for usagediff --git a/extras/docker/development-venv/Dockerfile b/extras/docker/development-venv/Dockerfileindex 87164343b..8f702768a 100644--- a/extras/docker/development-venv/Dockerfile+++ b/extras/docker/development-venv/Dockerfile@@ -2,12 +2,12 @@# Docker image for wger development:## This image uses a virtual environment, which is not necessary in a docker-# image and is more or less intented to check that the installation instructions-# for a local develoment are up-to-date+# image and is more or less intended to check that the installation instructions+# for a local development are up-to-date## Please consult the documentation for usage#-# Note: you MUST build this image from the projec's root!+# Note: you MUST build this image from the project's root!# docker build -f extras/docker/development/Dockerfile --tag wger/devel .## Run the container:diff --git a/extras/docker/development/Dockerfile b/extras/docker/development/Dockerfileindex 705dd2f9e..d0769946f 100644--- a/extras/docker/development/Dockerfile+++ b/extras/docker/development/Dockerfile@@ -3,7 +3,7 @@## Please consult the README for usage#-# Note: you MUST build this image from the projec's root!+# Note: you MUST build this image from the project's root!# docker build -f extras/docker/development/Dockerfile --tag wger/devel .## Run the container:diff --git a/setup.cfg b/setup.cfgindex d3646b25b..4426d5335 100644--- a/setup.cfg+++ b/setup.cfg@@ -26,7 +26,7 @@ import_heading_django=Django# A comment to consistently place directly above imports from the standard library.import_heading_stdlib=Standard Library-# A comment to consistently place directly above thirdparty imports.+# A comment to consistently place directly above third-party imports.import_heading_thirdparty=Third Party# A comment to consistently place directly above wger imports.@@ -39,18 +39,18 @@ import_heading_localfolder=Local# Tab to indent by a single tab.indent=' '-# A list of imports that will be forced to display withing the first party+# A list of imports that will be forced to display within the first party# category.known_first_party=wgerknown_django=django-# An integer that represents how you want imports to be displayed if their long+# An integer that represents how you want imports to be displayed if they're long# enough to span multiple lines. A full definition of all possible modes can be# found in isort's README.multi_line_output=3force_grid_wrap=True-# If set to true - isort will create separate sections withing "from" imports+# If set to true - isort will create separate sections within "from" imports# for CONSTANTS, Classes, and modules/functions.order_by_type=Truediff --git a/wger/__main__.py b/wger/__main__.pyindex 96cb41190..b42898a4f 100644--- a/wger/__main__.py+++ b/wger/__main__.py@@ -32,7 +32,7 @@ invoke_cmd = 'invoke 'def main():- # Change the working directory so that invoke can find the tasks fiel+ # Change the working directory so that invoke can find the tasks fileos.chdir(os.path.dirname(os.path.abspath(__file__)))args = sys.argv[1:]