Sha256: 7316eb24fa74a8402b9de87720c90ee419d1448c0e295a6c527e98cdd84bf93d
Contents?: true
Size: 493 Bytes
Versions: 3
Compression:
Stored size: 493 Bytes
Contents
require_relative 'base' module LintTrap module Linter # Encapsulates logic specific to pylint command line tool. class PyLint < Base def languages super(Language::Python) end private def flags [ '-r', 'no', '--msg-template', '"{abspath}:{line}:{column}::{symbol}:{category}:{msg}"' ].tap do |flags| flags.concat(['--rcfile', options[:config]]) if options[:config] end end end end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
lint_trap-0.0.11 | lib/lint_trap/linter/pylint.rb |
lint_trap-0.0.10 | lib/lint_trap/linter/pylint.rb |
lint_trap-0.0.9 | lib/lint_trap/linter/pylint.rb |