This repository has been archived on 2024-10-22. You can view files and clone it, but cannot push or open issues or pull requests.
spacemacs/layers/+lang/python/config.el

27 lines
791 B
EmacsLisp
Raw Normal View History

2015-04-25 03:25:04 +00:00
;;; config.el --- Python Layer Configuration File for Spacemacs
;;
;; Copyright (c) 2012-2014 Sylvain Benner
;; Copyright (c) 2014-2015 Sylvain Benner & Contributors
;;
;; Author: Sylvain Benner <sylvain.benner@gmail.com>
;; URL: https://github.com/syl20bnr/spacemacs
;;
;; This file is not part of GNU Emacs.
;;
;;; License: GPLv3
2015-04-01 02:24:01 +00:00
;; variables
(spacemacs|defvar-company-backends python-mode)
(spacemacs|defvar-company-backends inferior-python-mode)
(spacemacs|defvar-company-backends pip-requirements-mode)
(defvar python-enable-yapf-format-on-save nil
"If non-nil, automatically format code with YAPF on save.")
(defvar python-test-runner 'nose
"Test runner to use. Possible values are `nose' or `pytest'.")
(defvar python-fill-column 79
"Fill column value for python buffers")