File: python.coffee

Defined in: src/languages

Variables Summary

scope =
['source.python']

Get Atom defaults

defaultIndentSize =
(softTabs ? tabLength : 1)
defaultIndentChar =
(softTabs ? " " : "\t")
module.exports =
{
  name: "Python",
  namespace: "python",

  /*
  Supported Grammars
   */
  grammars: ["Python"],

  /*
  Supported extensions
   */
  extensions: ["py"],
  options: {
    max_line_length: {
      type: 'integer',
      "default": 79,
      description: "set maximum allowed line length"
    },
    indent_size: {
      type: 'integer',
      "default": defaultIndentSize,
      minimum: 0,
      description: "Indentation size/length"
    },
    ignore: {
      type: 'array',
      "default": ["E24"],
      items: {
        type: 'string'
      },
      description: "do not fix these errors/warnings"
    },
    sort_imports: {
      type: 'boolean',
      "default": false,
      description: "sort imports (requires isort installed)"
    }
  }
}

    Quickly fuzzy find classes, mixins, methods, file:

    Control the navigation frame:

    You can focus and blur the search input: