From 3ddfd00e9014deaf68f918912f7d17b90b528449 Mon Sep 17 00:00:00 2001 From: David Douard Date: Thu, 21 Nov 2019 14:11:18 +0100 Subject: [PATCH] Fix typos (and trailing ws) reported by codespell --- docs/tutorial.rst | 8 ++++---- swh/lister/cran/tests/conftest.py | 2 +- swh/lister/gnu/tests/conftest.py | 2 +- swh/lister/gnu/tests/find_tarballs_output.json | 2 +- 4 files changed, 7 insertions(+), 7 deletions(-) diff --git a/docs/tutorial.rst b/docs/tutorial.rst index 3c5d1d2..ada4c19 100644 --- a/docs/tutorial.rst +++ b/docs/tutorial.rst @@ -162,12 +162,12 @@ above are already provided for 99% of services by the HTTP mix-in module. It looks much simpler when we look at the actual implementations of the two new-style indexing listers we currently have… -When developing a new lister, it's important to test. For this, add the tests -(check `swh/lister/*/tests/`) and register the celery tasks in the main +When developing a new lister, it's important to test. For this, add the tests +(check `swh/lister/*/tests/`) and register the celery tasks in the main conftest.py (`swh/lister/core/tests/conftest.py`). -Another important step is to actually run it within the -docker-dev (:ref:`run-lister-tutorial`). +Another important step is to actually run it within the +docker-dev (:ref:`run-lister-tutorial`). This is the entire source code for the BitBucket repository lister:: diff --git a/swh/lister/cran/tests/conftest.py b/swh/lister/cran/tests/conftest.py index acab30c..849dab2 100644 --- a/swh/lister/cran/tests/conftest.py +++ b/swh/lister/cran/tests/conftest.py @@ -15,7 +15,7 @@ def lister_cran(swh_listers): # Add the load-deb-package in the scheduler backend lister.scheduler.create_task_type({ 'type': 'load-archive-files', - 'description': 'Load archive files', + 'description': 'Load archive files.', 'backend_name': 'swh.loader.package.tasks.LoadArchive', 'default_interval': '1 day', }) diff --git a/swh/lister/gnu/tests/conftest.py b/swh/lister/gnu/tests/conftest.py index dec733c..ee463a6 100644 --- a/swh/lister/gnu/tests/conftest.py +++ b/swh/lister/gnu/tests/conftest.py @@ -15,7 +15,7 @@ def lister_gnu(swh_listers): # Add the load-deb-package in the scheduler backend lister.scheduler.create_task_type({ 'type': 'load-archive-files', - 'description': 'Load archive files', + 'description': 'Load archive files.', 'backend_name': 'swh.loader.package.tasks.LoadArchive', 'default_interval': '1 day', }) diff --git a/swh/lister/gnu/tests/find_tarballs_output.json b/swh/lister/gnu/tests/find_tarballs_output.json index db146ad..f1ccd6c 100644 --- a/swh/lister/gnu/tests/find_tarballs_output.json +++ b/swh/lister/gnu/tests/find_tarballs_output.json @@ -179,4 +179,4 @@ "archive": "https://ftp.gnu.org/old-gnu/xboard/xboard-4.2.7.tar.gz", "date": "1070057764" } - ] \ No newline at end of file + ] \ No newline at end of file