             line = parseInt(match[1]) or 0
             col = parseInt(match[2]) or 0
             toReturn.push({
-              type: if match[4] is 'E' then 'Error' else 'Warning'
+              type: if match[4] is 'E' and not pep8warn then 'Error' else 'Warning'
               text: match[3] + ' — ' + match[5]
               filePath
               range: extractRange({

        parameters.push('-')

        execPath = atom.config.get('linter-flake8.executablePath')
        cwd = path.dirname(textEditor.getPath())
        return helpers.exec(execPath, parameters, {stdin: fileText, cwd: cwd}).then (result) ->
          toReturn = []

      default: []
      items:
        type: 'string'
    pep8ErrorsToWarnings:
      description: 'Convert PEP8 "E" messages to linter warnings'
      type: 'boolean'
      default: false

  activate: ->
    require('atom-package-deps').install()
