Ignore some more Python tooling directories when grepping
* lisp/progmodes/python.el (python-base-mode): Add Pytest and Rope cache directories to 'grep-find-ignored-directories'.
This commit is contained in:
parent
a07c89cf9b
commit
7c94898fa5
1 changed files with 2 additions and 1 deletions
|
@ -7143,7 +7143,8 @@ implementations: `python-mode' and `python-ts-mode'."
|
|||
(defvar grep-files-aliases)
|
||||
(defvar grep-find-ignored-directories)
|
||||
(cl-pushnew '("py" . "*.py") grep-files-aliases :test #'equal)
|
||||
(dolist (dir '(".tox" ".venv" ".mypy_cache" ".ruff_cache"))
|
||||
(dolist (dir '(".mypy_cache" ".pytest_cache" ".ropeproject"
|
||||
".ruff_cache" ".tox" ".venv"))
|
||||
(cl-pushnew dir grep-find-ignored-directories))))
|
||||
|
||||
(setq-local prettify-symbols-alist python-prettify-symbols-alist)
|
||||
|
|
Loading…
Add table
Reference in a new issue