Skip to content

Commit

Permalink
Merge pull request #1973 from fabianegli/remove-useless-shebang
Browse files Browse the repository at this point in the history
remove useless shebang lines
  • Loading branch information
fabianegli authored Nov 15, 2022
2 parents 6f0d96e + 5e9fcae commit 0c904f4
Show file tree
Hide file tree
Showing 61 changed files with 0 additions and 89 deletions.
1 change: 0 additions & 1 deletion nf_core/__init__.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
#!/usr/bin/env python
""" Main nf_core module file.
Shouldn't do much, as everything is under subcommands.
Expand Down
1 change: 0 additions & 1 deletion nf_core/bump_version.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
#!/usr/bin/env python
"""Bumps the version number in all appropriate files for
a nf-core pipeline.
"""
Expand Down
1 change: 0 additions & 1 deletion nf_core/create.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
#!/usr/bin/env python
"""Creates a nf-core pipeline matching the current
organization's specification based on a template.
"""
Expand Down
1 change: 0 additions & 1 deletion nf_core/download.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
#!/usr/bin/env python
"""Downloads a nf-core pipeline to the local file system."""

from __future__ import print_function
Expand Down
1 change: 0 additions & 1 deletion nf_core/launch.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
#!/usr/bin/env python
""" Launch a pipeline, interactively collecting params """

from __future__ import print_function
Expand Down
1 change: 0 additions & 1 deletion nf_core/licences.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
#!/usr/bin/env python
"""Lists software licences for a given workflow."""

from __future__ import print_function
Expand Down
1 change: 0 additions & 1 deletion nf_core/lint/__init__.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
#!/usr/bin/env python
"""Linting policy for nf-core pipeline projects.
Tests Nextflow-based pipelines to check that they adhere to
Expand Down
2 changes: 0 additions & 2 deletions nf_core/lint/actions_awsfulltest.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
#!/usr/bin/env python

import os

import yaml
Expand Down
2 changes: 0 additions & 2 deletions nf_core/lint/actions_awstest.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
#!/usr/bin/env python

import os

import yaml
Expand Down
2 changes: 0 additions & 2 deletions nf_core/lint/actions_ci.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
#!/usr/bin/env python

import os
import re

Expand Down
2 changes: 0 additions & 2 deletions nf_core/lint/actions_schema_validation.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
#!/usr/bin/env python

import glob
import logging
import os
Expand Down
2 changes: 0 additions & 2 deletions nf_core/lint/files_exist.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
#!/usr/bin/env python

import logging
import os

Expand Down
2 changes: 0 additions & 2 deletions nf_core/lint/files_unchanged.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
#!/usr/bin/env python

import filecmp
import logging
import os
Expand Down
2 changes: 0 additions & 2 deletions nf_core/lint/merge_markers.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
#!/usr/bin/env python

import fnmatch
import io
import logging
Expand Down
2 changes: 0 additions & 2 deletions nf_core/lint/modules_json.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
#!/usr/bin/env python

from pathlib import Path

from nf_core.modules.modules_json import ModulesJson
Expand Down
2 changes: 0 additions & 2 deletions nf_core/lint/modules_structure.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
#!/usr/bin/env python

import logging
import os
from pathlib import Path
Expand Down
2 changes: 0 additions & 2 deletions nf_core/lint/multiqc_config.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
#!/usr/bin/env python

import os

import yaml
Expand Down
2 changes: 0 additions & 2 deletions nf_core/lint/nextflow_config.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
#!/usr/bin/env python

import logging
import os
import re
Expand Down
3 changes: 0 additions & 3 deletions nf_core/lint/pipeline_name_conventions.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,3 @@
#!/usr/bin/env python


def pipeline_name_conventions(self):
"""Checks that the pipeline name adheres to nf-core conventions.
Expand Down
2 changes: 0 additions & 2 deletions nf_core/lint/pipeline_todos.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
#!/usr/bin/env python

import fnmatch
import io
import logging
Expand Down
2 changes: 0 additions & 2 deletions nf_core/lint/readme.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
#!/usr/bin/env python

import os
import re

Expand Down
2 changes: 0 additions & 2 deletions nf_core/lint/schema_description.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
#!/usr/bin/env python

import nf_core.schema


Expand Down
2 changes: 0 additions & 2 deletions nf_core/lint/schema_lint.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
#!/usr/bin/env python

import logging

import nf_core.schema
Expand Down
2 changes: 0 additions & 2 deletions nf_core/lint/schema_params.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
#!/usr/bin/env python

import nf_core.schema


Expand Down
2 changes: 0 additions & 2 deletions nf_core/lint/template_strings.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
#!/usr/bin/env python

import io
import mimetypes
import re
Expand Down
2 changes: 0 additions & 2 deletions nf_core/lint/version_consistency.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
#!/usr/bin/env python

import os


Expand Down
1 change: 0 additions & 1 deletion nf_core/list.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
#!/usr/bin/env python
"""Lists available nf-core pipelines and versions."""

from __future__ import print_function
Expand Down
1 change: 0 additions & 1 deletion nf_core/modules/create.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
#!/usr/bin/env python
"""
The ModuleCreate class handles generating of module templates
"""
Expand Down
1 change: 0 additions & 1 deletion nf_core/modules/lint/__init__.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
#!/usr/bin/env python
"""
Code for linting modules in the nf-core/modules repository and
in nf-core pipelines
Expand Down
1 change: 0 additions & 1 deletion nf_core/modules/lint/main_nf.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
#!/usr/bin/env python
"""
Lint the main.nf file of a module
"""
Expand Down
2 changes: 0 additions & 2 deletions nf_core/modules/lint/meta_yml.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
#!/usr/bin/env python

from pathlib import Path

import yaml
Expand Down
1 change: 0 additions & 1 deletion nf_core/modules/lint/module_deprecations.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
#!/usr/bin/env python
import logging
import os

Expand Down
1 change: 0 additions & 1 deletion nf_core/modules/lint/module_todos.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
#!/usr/bin/env python
import logging

from nf_core.lint.pipeline_todos import pipeline_todos
Expand Down
1 change: 0 additions & 1 deletion nf_core/modules/lint/module_version.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
#!/usr/bin/env python
"""
Verify that a module has a correct entry in the modules.json file
"""
Expand Down
1 change: 0 additions & 1 deletion nf_core/modules/modules_test.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
#!/usr/bin/env python
"""
The ModulesTest class runs the tests locally
"""
Expand Down
1 change: 0 additions & 1 deletion nf_core/modules/test_yml_builder.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
#!/usr/bin/env python
"""
The ModulesTestYmlBuilder class handles automatic generation of the modules test.yml file
along with running the tests and creating md5 sums
Expand Down
1 change: 0 additions & 1 deletion nf_core/refgenie.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
#!/usr/bin/env python
"""
Update a nextflow.config file with refgenie genomes
"""
Expand Down
1 change: 0 additions & 1 deletion nf_core/schema.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
#!/usr/bin/env python
""" Code to deal with pipeline JSON Schema """

from __future__ import print_function
Expand Down
1 change: 0 additions & 1 deletion nf_core/subworkflows/create.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
#!/usr/bin/env python
"""
The SubworkflowCreate class handles generating of subworkflow templates
"""
Expand Down
1 change: 0 additions & 1 deletion nf_core/subworkflows/test_yml_builder.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
#!/usr/bin/env python
"""
The ModulesTestYmlBuilder class handles automatic generation of the modules test.yml file
along with running the tests and creating md5 sums
Expand Down
1 change: 0 additions & 1 deletion nf_core/sync.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
#!/usr/bin/env python
"""Synchronise a pipeline TEMPLATE branch with the template.
"""

Expand Down
1 change: 0 additions & 1 deletion nf_core/utils.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
#!/usr/bin/env python
"""
Common utility functions for the nf-core python package.
"""
Expand Down
2 changes: 0 additions & 2 deletions tests/lint/actions_awsfulltest.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
#!/usr/bin/env python

import os

import yaml
Expand Down
2 changes: 0 additions & 2 deletions tests/lint/actions_awstest.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
#!/usr/bin/env python

import os

import yaml
Expand Down
2 changes: 0 additions & 2 deletions tests/lint/actions_ci.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
#!/usr/bin/env python

import os

import yaml
Expand Down
2 changes: 0 additions & 2 deletions tests/lint/actions_schema_validation.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
#!/usr/bin/env python

import os

import yaml
Expand Down
2 changes: 0 additions & 2 deletions tests/lint/files_exist.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
#!/usr/bin/env python

import os

import nf_core.lint
Expand Down
2 changes: 0 additions & 2 deletions tests/lint/merge_markers.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
#!/usr/bin/env python

import os

import nf_core.lint
Expand Down
1 change: 0 additions & 1 deletion tests/test_bump_version.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
#!/usr/bin/env python
"""Some tests covering the bump_version code.
"""
import os
Expand Down
1 change: 0 additions & 1 deletion tests/test_cli.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
#!/usr/bin/env python
""" Tests covering the command-line code.
Most tests check the cli arguments are passed along and that some action is
Expand Down
1 change: 0 additions & 1 deletion tests/test_create.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
#!/usr/bin/env python
"""Some tests covering the pipeline creation sub command.
"""
import os
Expand Down
1 change: 0 additions & 1 deletion tests/test_download.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
#!/usr/bin/env python
"""Tests for the download subcommand of nf-core tools
"""

Expand Down
1 change: 0 additions & 1 deletion tests/test_launch.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
#!/usr/bin/env python
""" Tests covering the pipeline launch code.
"""

Expand Down
1 change: 0 additions & 1 deletion tests/test_licenses.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
#!/usr/bin/env python
"""Some tests covering the pipeline creation sub command.
"""
# import json
Expand Down
1 change: 0 additions & 1 deletion tests/test_lint.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
#!/usr/bin/env python
"""Some tests covering the linting code.
"""
import fnmatch
Expand Down
1 change: 0 additions & 1 deletion tests/test_list.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
#!/usr/bin/env python
""" Tests covering the workflow listing code.
"""

Expand Down
1 change: 0 additions & 1 deletion tests/test_refgenie.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
#!/usr/bin/env python
""" Tests covering the refgenie integration code
"""

Expand Down
1 change: 0 additions & 1 deletion tests/test_schema.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
#!/usr/bin/env python
""" Tests covering the pipeline schema code.
"""

Expand Down
1 change: 0 additions & 1 deletion tests/test_sync.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
#!/usr/bin/env python
""" Tests covering the sync command
"""

Expand Down
1 change: 0 additions & 1 deletion tests/test_utils.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
#!/usr/bin/env python
""" Tests covering for utility functions.
"""

Expand Down
2 changes: 0 additions & 2 deletions tests/utils.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
#!/usr/bin/env python3
# -*- coding: utf-8 -*-
"""
Helper functions for tests
"""
Expand Down

0 comments on commit 0c904f4

Please sign in to comment.