--- a/.emacs-my Mon Jan 11 13:31:26 2021 +0200
+++ b/.emacs-my Sun Jan 17 12:47:26 2021 +0200
@@ -2713,7 +2713,8 @@
(global-set-key (kbd "C-x v D") 'my-vc-root-diff)
(setq vc-hg-diff-switches (list "-U" "7"))
-(setq vc-git-diff-switches (list "-U7"))
+;; More context (7 lines) and better rename detection (30% similarity).
+(setq vc-git-diff-switches (list "-U7" "-M3"))
(setq vc-git-print-log-follow t)
@@ -3184,7 +3185,7 @@
(defvar my-python/pylint-command "pylint"
"Command to run pylint executable.")
-(defvar my-python/pylint-args "-f parseable"
+(defvar my-python/pylint-args "-f parseable --disable=C0301,C0325"
"Arguments to pass to pylint executable.")
(defvar my-python/pep8-command "pep8"
@@ -3209,7 +3210,10 @@
(pyflakes3 . (my-python/pyflakes3-command my-python/pyflakes3-args)))
"Known Python source code checkers.")
-(defcustom my-python/default-checker 'pyflakes
+(defcustom my-python/default-checker
+ (cond
+ ((eq system-type 'cygwin) 'pylint)
+ (t 'pyflakes))
"Default Python source code checker. See `my-python/checker-alist' for full alist."
:group 'my-python
:type (cons 'choice (mapcar (lambda (e) (cons 'const e)) my-python/checker-alist)))