Skip to content

Commit 17b742d

Browse files
authored
Merge pull request #3598 from mashehu/fix-api-docs-again
2 parents 0e4d880 + 5112143 commit 17b742d

File tree

6 files changed

+14
-11
lines changed

6 files changed

+14
-11
lines changed

nf_core/pipelines/lint/nextflow_config.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -80,11 +80,11 @@ def nextflow_config(self) -> Dict[str, List[str]]:
8080
* ``params.nf_required_version``: The old method for specifying the minimum Nextflow version. Replaced by ``manifest.nextflowVersion``
8181
* ``params.container``: The old method for specifying the dockerhub container address. Replaced by ``process.container``
8282
* ``igenomesIgnore``: Changed to ``igenomes_ignore``
83-
* ``params.max_cpus``: Old method of specifying the maximum number of CPUs a process can request. Replaced by native Nextflow `resourceLimits`directive in config files.
84-
* ``params.max_memory``: Old method of specifying the maximum number of memory can request. Replaced by native Nextflow `resourceLimits`directive.
85-
* ``params.max_time``: Old method of specifying the maximum number of CPUs can request. Replaced by native Nextflow `resourceLimits`directive.
83+
* ``params.max_cpus``: Old method of specifying the maximum number of CPUs a process can request. Replaced by native Nextflow `resourceLimits` directive in config files.
84+
* ``params.max_memory``: Old method of specifying the maximum number of memory can request. Replaced by native Nextflow `resourceLimits` directive.
85+
* ``params.max_time``: Old method of specifying the maximum number of CPUs can request. Replaced by native Nextflow `resourceLimits` directive.
8686
87-
.. tip:: The ``snake_case`` convention should now be used when defining pipeline parameters
87+
.. tip:: The ``snake_case`` convention should now be used when defining pipeline parameters
8888
8989
**The following Nextflow syntax is depreciated and fails the test if present:**
9090

nf_core/pipelines/lint/nf_test_content.py

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -55,13 +55,15 @@ def nf_test_content(self) -> Dict[str, List[str]]:
5555
5656
All these checks can be skipped in the `.nf-core.yml` file using:
5757
58-
.. code-block:: groovy
58+
.. code-block:: yaml
59+
5960
lint:
6061
nf_test_content: False
6162
62-
or
63+
or
64+
65+
.. code-block:: yaml
6366
64-
.. code-block:: groovy
6567
lint:
6668
nf_test_content:
6769
- tests/<test_name>.nf.test

nf_core/pipelines/lint/nfcore_yml.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,11 +15,11 @@ def nfcore_yml(self) -> Dict[str, List[str]]:
1515
1616
* repository type:
1717
18-
* Check that the repository type is set.
18+
Check that the repository type is set.
1919
2020
* nf core version:
2121
22-
* Check if the nf-core version is set to the latest version.
22+
Check if the nf-core version is set to the latest version.
2323
2424
"""
2525
passed: List[str] = []

nf_core/pipelines/lint/readme.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@ def readme(self):
2626
To disable this test, add the following to the pipeline's ``.nf-core.yml`` file:
2727
2828
.. code-block:: yaml
29+
2930
lint:
3031
readme: False
3132

nf_core/pipelines/lint/schema_lint.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ def schema_lint(self):
2020
* Parameters can be described in two places:
2121
2222
* As ``properties`` in the top-level schema object
23-
* As ``properties`` within subschemas listed in a top-level ``definitions``(draft 7) or ``$defs``(draft 2020-12) objects
23+
* As ``properties`` within subschemas listed in a top-level ``definitions`` (draft 7) or ``$defs`` (draft 2020-12) objects
2424
2525
* The schema must describe at least one parameter
2626
* There must be no duplicate parameter IDs across the schema and definition subschema

nf_core/pipelines/lint/version_consistency.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ def version_consistency(self):
1212
* The pipeline config, ``manifest.version``
1313
* The docker container in the pipeline config, ``process.container``
1414
15-
* Some pipelines may not have this set on a pipeline level. If it is not found, it is ignored.
15+
Some pipelines may not have this set on a pipeline level. If it is not found, it is ignored.
1616
1717
* ``$GITHUB_REF``, if it looks like a release tag (``refs/tags/<something>``)
1818

0 commit comments

Comments
 (0)