Skip to content

Commit 49aed4f

Browse files
committed
Fix Rubocop offenses
1 parent 8e73df2 commit 49aed4f

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

lib/py_unit_and_py_lint_adapter.rb

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
# frozen_string_literal: true
22

33
class PyUnitAndPyLintAdapter < TestingFrameworkAdapter
4+
delegate :translate_linter, to: :PyLintAdapter
5+
46
def self.framework_name
57
'PyUnit and PyLint'
68
end
@@ -12,8 +14,4 @@ def parse_output(output)
1214
PyUnitAdapter.new.parse_output(output)
1315
end
1416
end
15-
16-
def translate_linter(result, locale)
17-
PyLintAdapter.translate_linter(result, locale)
18-
end
1917
end

0 commit comments

Comments
 (0)