MCPcopy Create free account
hub / github.com/DFHack/dfhack / check_line

Method check_line

ci/lint.py:106–107  ·  view source on GitHub ↗
(self, line)

Source from the content-addressed store, hash-verified

104class TabLinter(Linter):
105 msg = 'Contains tabs'
106 def check_line(self, line):
107 return '\t' not in line
108 def fix_line(self, line):
109 return line.replace('\t', ' ')
110

Callers 1

checkMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected