Henrik Lissner
9c45601ff3
refactor!(python): remove pyimport & py-isort
...
BREAKING CHANGE: (Some) LSP clients and python code formatters (like
ruff-isort) handle organization of imports better, so I'd rather lean on
them than on niche, unmaintained third party dependencies.
2026-02-21 16:55:55 -05:00
Henrik Lissner
6f40ad55f5
docs: discourage after! and use-package! use
...
There's little reason for users to use these macros in their private
configs over plain ol' `with-eval-after-load` and `use-package`, unless
they're writing their own modules.
It's my fault for signal boosting them in documentation and whenever I'm
asked for help, because beginners now believe they are somehow
required for Doom to work correctly (there are guides out there
telling beginners that migrating to Doom involves replacing all
instances of `with-eval-after-load` and `use-package` in their
pre-existing configs with `after!` and `use-package!` -- which was never
true).
What's more, I plan to replace `use-package`, internally, so the
`use-package!` macro won't exist for much longer.
2026-02-09 04:29:47 -05:00
Henrik Lissner
b851bcd3a0
feat(python): add uv support
...
Also takes this opportunity to update some missing package metadata in
the module's documentation.
Close : #8596
Co-authored-by: DamianB-BitFlipper <DamianB-BitFlipper@users.noreply.github.com>
2025-12-30 22:58:47 -05:00
Henrik Lissner
8936805741
docs(python): remove anaconda-mode
...
The package was removed in 52c385c .
Amend: 52c385c033
2025-12-24 02:51:16 -05:00
Henrik Lissner
762f47805a
docs(python): how to change LSP server priority
2025-12-18 17:39:37 -05:00
Henrik Lissner
739c22d566
docs(python): mention better tree-sitter support on 30+
...
Some newer python features (like except*) aren't supported in older
versions of the Python grammar, which you're stuck with on 29 or older.
2025-12-18 17:38:09 -05:00
Henrik Lissner
1d51b7a1a0
docs(python): update and mention ty
...
- Remove mention of obsolete LSP servers.
- Recommend astral-sh/ty over others.
- Remove defunct anaconda keybinds.
2025-12-17 02:17:33 -05:00
Henrik Lissner
1fa1eba5ac
bump: :lang python
...
emacs-lsp/lsp-pyright@cc6df06aea -> emacs-lsp/lsp-pyright@0c0d72aedd
necaris/conda.el@60e14d1e97 -> necaris/conda.el@ce748a53f9
pythonic-emacs/anaconda-mode@79fa9b4d2b -> pythonic-emacs/anaconda-mode@f900bd7656
pythonic-emacs/company-anaconda@1fe526163c -> pythonic-emacs/company-anaconda@169252fca7
pythonic-emacs/pyenv-mode@de0d750b9c -> pythonic-emacs/pyenv-mode@76787ea44f
wbolster/emacs-python-pytest@9f850e22df -> wbolster/emacs-python-pytest@dcdaec6fe2
- Adds basedpyright support to lsp-pyright; and will prioritize it above
pyright, if found on your system.
Ref: emacs-lsp/lsp-pyright#101
2024-09-05 15:30:22 -04:00
Henrik Lissner
934141a01e
refactor!(python): remove lsp-python-ms
...
BREAKING CHANGE: This removes the lsp-python-ms package (along with it,
lsp-python-ms support), since the package no longer works in recent
versions of Python and is no longer maintained upstream.
2024-07-05 18:05:15 -04:00
Henrik Lissner
88bb045388
docs(*): replace all-the-icons with nerd-icons
...
Also colorizes the leading icon in notices.
2023-09-16 20:19:11 +02:00
Ellis Kenyő
601f9b0db6
docs(python): add formatter docs
2023-09-13 20:21:05 +01:00
Henrik Lissner
1cd2a287f5
nit: comment revision, spellcheck, & reformatting
...
Close : #7262
Co-authored-by: emergenz <emergenz@users.noreply.github.com>
2023-07-22 19:01:35 +02:00
TEC
5ac2a5258b
docs: change link format
2022-10-05 01:01:19 +02:00
Henrik Lissner
1abcf913aa
revert: fix(docs): set mode in file-local vars
...
emacs-straight/org-mode@e22b4eb7aa introduced a breaking change that
made it impossible to rely on .dir-locals.el to change org-mode buffers
in $EMACSDIR to doom-docs-org-mode (without infinite recursion), so we
used file-local variables in 7e400ab .
emacs-straight/org-mode@215de6176b reverted that change, so we can use
.dir-locals.el again, and this is my preference, since it requires less
boilerplate across our hundreds of org files.
Ref: emacs-straight/org-mode@215de6176b
Ref: emacs-straight/org-mode@e22b4eb7aa
Revert: 7e400abdc0
2022-08-07 19:08:07 +02:00
Henrik Lissner
7e400abdc0
fix(docs): set mode in file-local vars
...
Due to emacs-straight/org-mode@e22b4eb , a replacement major mode (for
org-mode) can no longer be specified from .dir-locals.el, as it spirals
into infinite recursion. Therefore, a mode: line is needed in all Doom
docs.
Ref: emacs-straight/org-mode@e22b4eb7aa
2022-08-03 02:46:33 +02:00
Henrik Lissner
1255315bfc
refactor(docs): replace nav menus with virtual one
...
Now that the header is dynamically generated (when doom-docs-mode is
active), a literal header is unnecessary.
2022-08-02 19:37:07 +02:00
Henrik Lissner
e77a45bc22
docs: use lowercase keywords
...
As per Org's new defaults, which we're adopting elsewhere, so may as
well adopt it here.
2022-08-02 16:23:43 +02:00
Itai Y. Efrat
969c6ae8aa
docs(tree-sitter): document +tree-sitter flag in :lang readmes
...
Co-authored-by: Jeetaditya Chatterjee <jeetelongname@gmail.com>
2022-06-18 00:16:31 +02:00
Henrik Lissner
7246db457c
docs: replace doom-source with doom-repo links
...
I will later use "source" to refer to module sources, so better we avoid
the terminology for now.
2022-02-01 18:55:27 +01:00
Henrik Lissner
88844e9cec
docs: simplify internal docs links
...
Fewer links means less confusion.
- Merge doom-issue and doom-commit links into doom-ref (for auto-linking
Issue/PR/commit references).
- Merge doom-module-source and doom-docs-source links into doom-source.
- Rename doom-report-issue to doom-report.
- Use '!' as the icon for module issues link.
- Remove doom-repo (replaced with "doom:*" in :lang org module).
- Add doomdir and emacsdir links to :lang org module.
2021-11-21 20:04:28 +01:00
Henrik Lissner
20cac97c08
docs(:lang): update READMEs to new format
2021-11-21 20:04:28 +01:00
icmor
09f3597069
Update link for nose.el
...
Switched from melpa -> emacsmirror.
2020-12-12 01:01:45 -05:00
Henrik Lissner
39344dee79
lang/python: update & correct README
...
Corrected typos and misinformation, also mentioned new +pyright flag.
2020-08-07 19:05:49 -04:00
Michael Lingelbach
e6ae1d295c
Add support for pyright language server
2020-07-25 11:39:37 -07:00
Henrik Lissner
6780d7c816
Update python readme wrt mspyls & pyls
...
Since lsp-python-ms changed its priority from 1 to -1 in
emacs-lsp/lsp-python-ms@396c25c , it is no longer the first choice when
both is available.
2020-05-09 01:14:19 -04:00
Viktor Astakhov
4891a7151f
Add Poetry support
2020-04-22 20:51:30 +03:00
Teodor Heggelund
1ab69ab491
Fix typo: python-pytest-file-dwim
2020-03-20 23:37:57 +01:00
Henrik Lissner
12094788d7
Fix references to :tools fly{spell,check}
2020-01-14 03:04:26 -05:00
Henrik Lissner
4acd60aba3
Update lsp-python-ms config to reflect changes upstream
...
mspyls should be installed with M-x lsp-install-server from now on.
2020-01-10 04:59:01 -05:00
Rakan Alhneiti
a64b3bdceb
Add an entry in the readme for the isort prequisite
2019-12-15 16:50:31 +01:00
Rakan Alhneiti
7d09921a29
Add isort feature to readme
2019-12-15 16:50:24 +01:00
Dan LaManna
7c2e4cd27a
lang/python: fix minor documentation mistakes
2019-11-21 12:48:50 -05:00
Henrik Lissner
244671e388
lang/python: mention lsp-python-ms hack in README
2019-10-28 23:23:12 -04:00
Gerry Agbobada
02e96926fd
Add documentation
2019-10-17 08:49:54 +02:00
Oguz Serbetci
3eac1b296c
Correct a requirement in README.org
2019-10-04 13:34:56 +02:00
Maximiliano
c0bd0c71c2
Add lang/python/README.org ( #1844 )
2019-10-03 12:40:46 -04:00