PR #4660 merged into devel

25 views
Skip to first unread message

Edward K. Ream

unread,
May 5, 2026, 2:52:11 AMMay 5
to leo-editor
PR #4660 fixes several long-standing issues with various search and change commands:

- Fixed bugs involving the string "\n" in find and change strings.

- The find-all and change-all commands now indicate what they have done more clearly. Both commands create clickable links in the log pane. Each clickable link contains the headline of a node containing the find text. Clicking that link puts the cursor on the first line of the body text that contains the find text.

Please continue to test the "devel" branch.  Thanks.

Edward

Viktor Ransmayr

unread,
May 5, 2026, 12:29:02 PMMay 5
to leo-e...@googlegroups.com
Hello Edward,

I did test the 'devel' branch in a Debian - and - Fedora container.

I also added the '.pylintrc' file you shared to both instances at '~/.leo/' ...

Both Debian & Fedora reported the same 'pylint' errors  ...

See "Log" for the errors in the 'Debian' instance !

With kind regards,

Viktor

----

<Log>

📦[user@leo-on-debian leo-editor]$
📦[user@leo-on-debian leo-editor]$ python3 -m leo.scripts.full_test_leo
full_test_leo.py
beautify_all_leo.py
616 files left unchanged
flake8_leo.py
pyflakes_leo.py
run_test_leo.py
................................................................................
................................................................................
..............................fatal: invalid object name 'master'.
...........s....................................................................
................................................................................
................................................................................
................................................................................
................................................................................
..............................................................s.................
................................................................................
................................................................................
..........................s.........
----------------------------------------------------------------------
Ran 866 tests in 10.494s

OK (skipped=3)
mypy_leo.py
Success: no issues found in 258 source files
ruff_leo.py
All checks passed!
setting leoID from os.getenv('USER'): 'user'
check_leo.py: files: 94 contexts: 6802 attrs: 46671 in 2.67 sec.
pylint_leo.py
************* Module leo.plugins.startfile
leo/plugins/startfile.py:90:16: E1101: Module 'os' has no 'startfile' member (no-member)
************* Module leo.core.leoGlobals
leo/core/leoGlobals.py:7296:8: E1101: Module 'os' has no 'startfile' member (no-member)
📦[user@leo-on-debian leo-editor]$

</Log>

Edward K. Ream

unread,
May 5, 2026, 2:04:14 PMMay 5
to leo-e...@googlegroups.com
On Tue, May 5, 2026 at 11:29 AM Viktor Ransmayr <viktor....@gmail.com> wrote:

> I did test the 'devel' branch in a Debian - and - Fedora container.
> I also added the '.pylintrc' file you shared to both instances at '~/.leo/' ...
> Both Debian & Fedora reported the same 'pylint' errors  ...

Hmm. It's a bit of a mystery. Have you upgraded your pylint?

In any case, Leo's workflow now ensures that pylint passes at various stages, so I think we can assume all is well with pylint.

Edward

Viktor Ransmayr

unread,
May 5, 2026, 3:10:09 PMMay 5
to leo-editor
Hello Edward,

Edward K. Ream schrieb am Dienstag, 5. Mai 2026 um 20:04:14 UTC+2:
On Tue, May 5, 2026 at 11:29 AM Viktor Ransmayr <viktor....@gmail.com> wrote:

> I did test the 'devel' branch in a Debian - and - Fedora container.
> I also added the '.pylintrc' file you shared to both instances at '~/.leo/' ...
> Both Debian & Fedora reported the same 'pylint' errors  ...

Hmm. It's a bit of a mystery. Have you upgraded your pylint?

I'm using the latest version of Debian 13 & Fedora 43 ...

In case of Debian, here's the version info for 'pylint':

###

📦[user@leo-on-debian leo-editor]$  
📦[user@leo-on-debian leo-editor]$ python3 -m pylint --version
pylint 4.0.4
astroid 4.0.3
Python 3.14.1 (main, Dec  3 2025, 01:09:03) [GCC 14.2.0]
📦[user@leo-on-debian leo-editor]$

###

I'll call it a day for now ;-)

With kind regards,

Viktor
 

Thomas Passin

unread,
May 5, 2026, 4:07:03 PMMay 5
to leo-editor
I get only one kind of error from pylint on Windows:

E0606: Possibly using variable 'word2' before assignment (possibly-used-before-assignment)

There are many of these errors. pylint was one of the tests run by this command:

C:\tom\git\leo-editor>python3 -m leo.scripts.full_test_leo

I also got these errors from the mypy part of the test:

leo\core\leoCompare.py:340: error: Argument 1 to "cmp" has incompatible type "TextIO"; expected "str | bytes | PathLike[str] | PathLike[bytes]"  [arg-type]
leo\core\leoCompare.py:340: error: Argument 2 to "cmp" has incompatible type "TextIO"; expected "str | bytes | PathLike[str] | PathLike[bytes]"  [arg-type]
leo\plugins\dtest.py:110: error: Too many values to unpack (2 expected, 6 provided)  [misc]


Here's the build info: devel branch, build cb948308f0

Reply all
Reply to author
Forward
0 new messages