We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a9f5490 commit 6ab533cCopy full SHA for 6ab533c
igcommit/file_checks.py
@@ -103,17 +103,6 @@ def get_exe_problems(self):
103
yieldSeverity.WARNING, 'redundant file extension'
104
return
105
106
-# If the file has an extension we don't know about, we test if
107
-# the executable matches with any extension we know. If so, it
108
-# should probably now have this extension.
109
-forkey, patterninself.file_extensions.items():
110
-ifpattern.search(exe):
111
-yield (
112
-Severity.WARNING,
113
-'shebang executable{} matches with file extension ".{}"'
114
- .format(exe, key)
115
- )
116
-
117
118
classCheckSymlink(CommittedFileCheck):
119
"""Special check for symlinks"""
0 commit comments