lib/lint_trap/linter/pylint.rb in lint_trap-0.0.11 vs lib/lint_trap/linter/pylint.rb in lint_trap-0.0.13
- old
+ new
@@ -6,12 +6,16 @@
class PyLint < Base
def languages
super(Language::Python)
end
+ def version
+ '1.3.1-3'
+ end
+
private
- def flags
+ def flags(_container, options)
[
'-r', 'no',
'--msg-template', '"{abspath}:{line}:{column}::{symbol}:{category}:{msg}"'
].tap do |flags|
flags.concat(['--rcfile', options[:config]]) if options[:config]