Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add automated linting fixer workflow #11

Merged
merged 22 commits into from
Aug 15, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
23 changes: 12 additions & 11 deletions .devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
@@ -1,14 +1,15 @@
{
"image": "docker.io/nfcore/gitpod:2.9",
"features": {},
"customizations": {
"vscode": {
"extensions": [
"nextflow.nextflow",
"esbenp.prettier-vscode",
"redhat.vscode-yaml",
"GitHub.vscode-pull-request-github"
]
"image": "docker.io/nfcore/gitpod:2.9",
"features": {},
"customizations": {
"vscode": {
"extensions": [
"nextflow.nextflow",
"esbenp.prettier-vscode",
"redhat.vscode-yaml",
"GitHub.vscode-pull-request-github",
"github.vscode-github-actions"
]
}
}
}
}
12 changes: 12 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
root = true

[*]
charset = utf-8
end_of_line = lf
insert_final_newline = true
trim_trailing_whitespace = true
indent_size = 4
indent_style = space

[*.{md,yml,yaml,cff}]
indent_size = 2
File renamed without changes.
15 changes: 11 additions & 4 deletions .prettierignore
Original file line number Diff line number Diff line change
@@ -1,9 +1,16 @@
.nextflow*
.editorconfig
.gitignore
.prettierignore
LICENSE
work/
data/
results/
.DS_Store
testing/
testing*
*.sh
*.pyc
bin/
*.nf
*.config
*.test
*.test.snap
*.txt

70 changes: 35 additions & 35 deletions nextflow_schema.json
Original file line number Diff line number Diff line change
@@ -1,38 +1,38 @@
{
"$schema": "http://json-schema.org/draft-07/schema",
"$id": "https://raw.githubusercontent.com/./master/nextflow_schema.json",
"title": ". pipeline parameters",
"description": "",
"type": "object",
"definitions": {
"parameters": {
"title": "Parameters",
"type": "object",
"description": "",
"default": "",
"properties": {
"skip": {
"type": "string",
"description": "Tests to skip as comma delimited values.",
"help_text": "Tests to skip as comma delimited values. E.g. --skip TEST_SUCCESS,TEST_INPUT. Case insensitive."
},
"remoteFile": {
"type": "string",
"description": "Path to remote file to download and use.",
"help_text": "Path to a remote file to use within the pipeline. This mimics a remote set of files such as reference data that may need to be retrieved prior to analysis. By default this is not specified and the test is not ran, add a remote file using standard Nextflow filenaming to pull a file from your storage (e.g. an S3 bucket or shared storage).",
"format": "path"
},
"outdir": {
"type": "string",
"description": "Path to use for publishing output files.",
"help_text": "Path to a remote folder to publish files to. If not specified, this is a subfolder within the working directory but if specified it will publish files to the path specified in this parameter."
"$schema": "http://json-schema.org/draft-07/schema",
"$id": "https://raw.githubusercontent.com/./master/nextflow_schema.json",
"title": ". pipeline parameters",
"description": "",
"type": "object",
"definitions": {
"parameters": {
"title": "Parameters",
"type": "object",
"description": "",
"default": "",
"properties": {
"skip": {
"type": "string",
"description": "Tests to skip as comma delimited values.",
"help_text": "Tests to skip as comma delimited values. E.g. --skip TEST_SUCCESS,TEST_INPUT. Case insensitive."
},
"remoteFile": {
"type": "string",
"description": "Path to remote file to download and use.",
"help_text": "Path to a remote file to use within the pipeline. This mimics a remote set of files such as reference data that may need to be retrieved prior to analysis. By default this is not specified and the test is not ran, add a remote file using standard Nextflow filenaming to pull a file from your storage (e.g. an S3 bucket or shared storage).",
"format": "path"
},
"outdir": {
"type": "string",
"description": "Path to use for publishing output files.",
"help_text": "Path to a remote folder to publish files to. If not specified, this is a subfolder within the working directory but if specified it will publish files to the path specified in this parameter."
}
}
}
}
}
},
"allOf": [
{
"$ref": "#/definitions/parameters"
}
]
},
"allOf": [
{
"$ref": "#/definitions/parameters"
}
]
}