Your message dated Thu, 20 Mar 2025 03:06:48 +0000
with message-id <e1tv6f6-00bjj9...@fasolo.debian.org>
and subject line Bug#1100297: fixed in ranger 1.9.4-2
has caused the Debian Bug report #1100297,
regarding ranger: FTBFS: ModuleNotFoundError: No module named 'distutils'
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact ow...@bugs.debian.org
immediately.)


-- 
1100297: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1100297
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Package: src:ranger
Version: 1.9.4-1
Severity: serious
Tags: ftbfs trixie sid

Dear maintainer:

During a rebuild of all packages in unstable, your package failed to build:

--------------------------------------------------------------------------------
[...]
 debian/rules clean
dh clean -Smakefile --with python3
   debian/rules override_dh_auto_clean
make[1]: Entering directory '/<<PKGBUILDDIR>>'
dh_auto_clean
        make -j1 clean
make[2]: Entering directory '/<<PKGBUILDDIR>>'
/bin/sh: 1: python: not found
find ranger -regex .\*\.py[co]\$ -delete
find ranger -depth -name __pycache__ -type d -exec rm -r -- {} \;
make[2]: Leaving directory '/<<PKGBUILDDIR>>'
rm -rf build_scripts
rm -rf .pytest_cache
rm -rf build

[... snipped ...]

ranger/ext/vcs/vcs.py:521:4: W0107: Unnecessary pass statement 
(unnecessary-pass)
ranger/ext/vcs/vcs.py:526:4: W0107: Unnecessary pass statement 
(unnecessary-pass)
ranger/ext/vcs/vcs.py:531:4: W0107: Unnecessary pass statement 
(unnecessary-pass)
************* Module ranger.ext.vcs.bzr
ranger/ext/vcs/bzr.py:138:12: R1705: Unnecessary "else" after "return", remove 
the "else" and de-indent the code inside it (no-else-return)
ranger/ext/vcs/bzr.py:141:31: C0209: Formatting a regular string which could be 
an f-string (consider-using-f-string)
ranger/ext/vcs/bzr.py:145:27: C0209: Formatting a regular string which could be 
an f-string (consider-using-f-string)
************* Module ranger.ext.vcs.svn
ranger/ext/vcs/svn.py:144:12: R1705: Unnecessary "else" after "return", remove 
the "else" and de-indent the code inside it (no-else-return)
ranger/ext/vcs/svn.py:147:31: C0209: Formatting a regular string which could be 
an f-string (consider-using-f-string)
ranger/ext/vcs/svn.py:151:27: C0209: Formatting a regular string which could be 
an f-string (consider-using-f-string)
************* Module ranger.ext.vcs.hg
ranger/ext/vcs/hg.py:130:12: R1705: Unnecessary "else" after "return", remove 
the "else" and de-indent the code inside it (no-else-return)
ranger/ext/vcs/hg.py:133:31: C0209: Formatting a regular string which could be 
an f-string (consider-using-f-string)
ranger/ext/vcs/hg.py:137:27: C0209: Formatting a regular string which could be 
an f-string (consider-using-f-string)
************* Module ranger.container.file
ranger/container/file.py:71:15: E1101: Instance of 'MockFM' has no 'settings' 
member (no-member)
ranger/container/file.py:77:11: E1101: Instance of 'MockFM' has no 'settings' 
member (no-member)
ranger/container/file.py:78:28: E1101: Instance of 'MockFM' has no 'settings' 
member (no-member)
ranger/container/file.py:80:11: E1101: Instance of 'MockFM' has no 'settings' 
member (no-member)
ranger/container/file.py:81:16: E1101: Instance of 'MockFM' has no 'settings' 
member (no-member)
ranger/container/file.py:89:11: R1714: Consider merging these comparisons with 
'in' by using 'self.path in ('/dev/core', '/proc/kcore')'. Use a set instead if 
elements are hashable. (consider-using-in)
ranger/container/file.py:96:15: E1101: Instance of 'MockFM' has no 
'get_preview' member (no-member)
ranger/container/file.py:100:19: E1101: Instance of 'MockFM' has no 'previews' 
member (no-member)
************* Module ranger.container.bookmarks
ranger/container/bookmarks.py:261:0: R0022: Useless option value for 'disable', 
'no-self-use' was moved to an optional extension, see 
https://pylint.readthedocs.io/en/latest/whatsnew/2/2.14/summary.html#removed-checkers.
 (useless-option-value)
ranger/container/bookmarks.py:92:12: R1705: Unnecessary "else" after "return", 
remove the "else" and de-indent the code inside it (no-else-return)
ranger/container/bookmarks.py:95:31: C0209: Formatting a regular string which 
could be an f-string (consider-using-f-string)
ranger/container/bookmarks.py:97:27: C0209: Formatting a regular string which 
could be an f-string (consider-using-f-string)
ranger/container/bookmarks.py:178:19: W1514: Using open without explicitly 
specifying an encoding (unspecified-encoding)
ranger/container/bookmarks.py:180:27: C0209: Formatting a regular string which 
could be an f-string (consider-using-f-string)
ranger/container/bookmarks.py:185:27: C0209: Formatting a regular string which 
could be an f-string (consider-using-f-string)
ranger/container/bookmarks.py:200:27: C0209: Formatting a regular string which 
could be an f-string (consider-using-f-string)
ranger/container/bookmarks.py:178:19: R1732: Consider using 'with' for 
resource-allocating operations (consider-using-with)
ranger/container/bookmarks.py:221:21: W1514: Using open without explicitly 
specifying an encoding (unspecified-encoding)
ranger/container/bookmarks.py:224:31: C0209: Formatting a regular string which 
could be an f-string (consider-using-f-string)
ranger/container/bookmarks.py:228:19: W1514: Using open without explicitly 
specifying an encoding (unspecified-encoding)
ranger/container/bookmarks.py:230:27: C0209: Formatting a regular string which 
could be an f-string (consider-using-f-string)
ranger/container/bookmarks.py:228:19: R1732: Consider using 'with' for 
resource-allocating operations (consider-using-with)
************* Module ranger.container.history
ranger/container/history.py:13:0: R0205: Class 'History' inherits from object, 
can be safely removed from bases in python3 (useless-object-inheritance)
ranger/container/history.py:93:8: R1705: Unnecessary "else" after "return", 
remove the "else" and de-indent the code inside it (no-else-return)
ranger/container/history.py:102:12: W0707: Consider explicitly re-raising using 
'except IndexError as exc' and 'raise HistoryEmptyException from exc' 
(raise-missing-from)
ranger/container/history.py:108:12: W0707: Consider explicitly re-raising using 
'except IndexError as exc' and 'raise HistoryEmptyException from exc' 
(raise-missing-from)
ranger/container/history.py:112:8: R1731: Consider using 'self.index = 
max(self.index, 0)' instead of unnecessary if block (consider-using-max-builtin)
ranger/container/history.py:118:8: R1730: Consider using 'self.index = 
min(self.index, len(self.history) - 1)' instead of unnecessary if block 
(consider-using-min-builtin)
ranger/container/history.py:120:8: R1731: Consider using 'self.index = 
max(self.index, 0)' instead of unnecessary if block (consider-using-max-builtin)
ranger/container/history.py:145:12: R1730: Consider using 'self.index = 
min(self.index, len(self.history) - 1)' instead of unnecessary if block 
(consider-using-min-builtin)
************* Module ranger.container.settings
ranger/container/settings.py:17:0: R0022: Useless option value for 'disable', 
'bad-whitespace' was removed from pylint, see 
https://github.com/pylint-dev/pylint/pull/3577. (useless-option-value)
ranger/container/settings.py:23:0: R0022: Useless option value for 'enable', 
'bad-whitespace' was removed from pylint, see 
https://github.com/pylint-dev/pylint/pull/3577. (useless-option-value)
ranger/container/settings.py:138:42: R1735: Consider using '{}' instead of a 
call to 'dict'. (use-dict-literal)
ranger/container/settings.py:139:41: R1735: Consider using '{}' instead of a 
call to 'dict'. (use-dict-literal)
ranger/container/settings.py:140:40: R1735: Consider using '{}' instead of a 
call to 'dict'. (use-dict-literal)
ranger/container/settings.py:141:37: R1735: Consider using '{}' instead of a 
call to 'dict'. (use-dict-literal)
ranger/container/settings.py:173:35: C0209: Formatting a regular string which 
could be an f-string (consider-using-f-string)
ranger/container/settings.py:182:41: C0209: Formatting a regular string which 
could be an f-string (consider-using-f-string)
ranger/container/settings.py:190:14: R1735: Consider using '{"setting": name, 
"value": value, "previous": previous, "path": path, ... }' instead of a call to 
'dict'. (use-dict-literal)
ranger/container/settings.py:209:41: C0209: Formatting a regular string which 
could be an f-string (consider-using-f-string)
ranger/container/settings.py:234:12: C2801: Unnecessarily calls dunder method 
__setattr__. Set attribute directly or use setattr built-in function. 
(unnecessary-dunder-call)
ranger/container/settings.py:249:8: R1737: Use 'yield from' directly instead of 
yielding each element one by one (use-yield-from)
ranger/container/settings.py:254:8: R1705: Unnecessary "else" after "return", 
remove the "else" and de-indent the code inside it (no-else-return)
ranger/container/settings.py:287:44: R1735: Consider using '{}' instead of a 
call to 'dict'. (use-dict-literal)
ranger/container/settings.py:299:45: R1735: Consider using '{}' instead of a 
call to 'dict'. (use-dict-literal)
ranger/container/settings.py:308:0: R0205: Class 'LocalSettings' inherits from 
object, can be safely removed from bases in python3 (useless-object-inheritance)
ranger/container/settings.py:328:8: R1737: Use 'yield from' directly instead of 
yielding each element one by one (use-yield-from)
************* Module ranger.container.directory
ranger/container/directory.py:77:18: R1719: The if expression can be replaced 
with 'test' (simplifiable-if-expression)
ranger/container/directory.py:92:16: W3301: Do not use nested call of 'max'; 
it's possible to do 'max(mtime, *[-1] + [os.stat(d).st_mtime for d in 
dirlist])' instead (nested-min-max)
ranger/container/directory.py:96:0: R0205: Class 'InodeFilterConstants' 
inherits from object, can be safely removed from bases in python3 
(useless-object-inheritance)
ranger/container/directory.py:200:4: W0221: Number of parameters was 0 in 
'Accumulator.get_list' and is now 1 in overriding 'Directory.get_list' method 
(arguments-differ)
ranger/container/directory.py:248:8: R1705: Unnecessary "elif" after "return", 
remove the leading "el" from "elif" (no-else-return)
ranger/container/directory.py:285:16: R1705: Unnecessary "elif" after "return", 
remove the leading "el" from "elif" (no-else-return)
ranger/container/directory.py:366:46: C0209: Formatting a regular string which 
could be an f-string (consider-using-f-string)
ranger/container/directory.py:369:42: C0209: Formatting a regular string which 
could be an f-string (consider-using-f-string)
ranger/container/directory.py:372:38: C0209: Formatting a regular string which 
could be an f-string (consider-using-f-string)
ranger/container/directory.py:465:12: E1101: Instance of 'MockFM' has no 
'signal_emit' member (no-member)
ranger/container/directory.py:467:16: E1101: Instance of 'MockFM' has no 'ui' 
member (no-member)
ranger/container/directory.py:520:16: W0143: Comparing against a callable, did 
you omit the parenthesis? (comparison-with-callable)
ranger/container/directory.py:524:16: W0143: Comparing against a callable, did 
you omit the parenthesis? (comparison-with-callable)
ranger/container/directory.py:568:8: R1705: Unnecessary "else" after "return", 
remove the "else" and de-indent the code inside it (no-else-return)
ranger/container/directory.py:569:15: E1101: Instance of 'MockFM' has no 
'settings' member (no-member)
ranger/container/directory.py:582:34: C0209: Formatting a regular string which 
could be an f-string (consider-using-f-string)
ranger/container/directory.py:652:19: E1101: Instance of 'MockFM' has no 
'thisdir' member (no-member)
ranger/container/directory.py:709:19: E1101: Instance of 'MockFM' has no 
'enter_dir' member (no-member)
************* Module ranger.container.tags
ranger/container/tags.py:15:0: R0205: Class 'Tags' inherits from object, can be 
safely removed from bases in python3 (useless-object-inheritance)
ranger/container/tags.py:23:12: R1732: Consider using 'with' for 
resource-allocating operations (consider-using-with)
ranger/container/tags.py:23:12: W1514: Using open without explicitly specifying 
an encoding (unspecified-encoding)
ranger/container/tags.py:31:8: R1715: Consider using dict.get for getting 
values from a dict if a key is present or a default if not (consider-using-get)
ranger/container/tags.py:50:8: R1715: Consider using dict.get for getting 
values from a dict if a key is present or a default if not (consider-using-get)
ranger/container/tags.py:76:23: W1514: Using open without explicitly specifying 
an encoding (unspecified-encoding)
ranger/container/tags.py:78:23: W1514: Using open without explicitly specifying 
an encoding (unspecified-encoding)
ranger/container/tags.py:78:23: R1732: Consider using 'with' for 
resource-allocating operations (consider-using-with)
ranger/container/tags.py:87:19: W1514: Using open without explicitly specifying 
an encoding (unspecified-encoding)
ranger/container/tags.py:87:19: R1732: Consider using 'with' for 
resource-allocating operations (consider-using-with)
ranger/container/tags.py:100:27: C0209: Formatting a regular string which could 
be an f-string (consider-using-f-string)
ranger/container/tags.py:103:17: R1735: Consider using '{}' instead of a call 
to 'dict'. (use-dict-literal)
ranger/container/tags.py:143:20: R1735: Consider using '{}' instead of a call 
to 'dict'. (use-dict-literal)
************* Module ranger.container.fsobject
ranger/container/fsobject.py:114:15: C0209: Formatting a regular string which 
could be an f-string (consider-using-f-string)
ranger/container/fsobject.py:137:56: E1101: Instance of 'MockFM' has no 'tags' 
member (no-member)
ranger/container/fsobject.py:138:24: E1101: Instance of 'MockFM' has no 'tags' 
member (no-member)
ranger/container/fsobject.py:201:12: C0209: Formatting a regular string which 
could be an f-string (consider-using-f-string)
ranger/container/fsobject.py:219:25: E1101: Instance of 'MockFM' has no 
'mimetypes' member (no-member)
ranger/container/fsobject.py:258:20: E1101: Instance of 'MockFM' has no 
'get_directory' member (no-member)
ranger/container/fsobject.py:286:8: E1101: Instance of 'MockFM' has no 
'update_preview' member (no-member)
ranger/container/fsobject.py:299:26: R1719: The if expression can be replaced 
with 'bool(test)' (simplifiable-if-expression)
ranger/container/fsobject.py:312:26: R1719: The if expression can be replaced 
with 'bool(test)' (simplifiable-if-expression)
ranger/container/fsobject.py:316:11: R1714: Consider merging these comparisons 
with 'in' by using 'fmt in (8192, 24576)'. Use a set instead if elements are 
hashable. (consider-using-in)
************* Module ranger.colorschemes.snow
ranger/colorschemes/snow.py:12:4: W0221: Number of parameters was 1 in 
'ColorScheme.use' and is now 2 in overriding 'Snow.use' method 
(arguments-differ)
************* Module ranger.colorschemes.default
ranger/colorschemes/default.py:17:4: W0221: Number of parameters was 1 in 
'ColorScheme.use' and is now 2 in overriding 'Default.use' method 
(arguments-differ)
ranger/colorschemes/default.py:20:8: R1705: Unnecessary "elif" after "return", 
remove the leading "el" from "elif" (no-else-return)
************* Module ranger.colorschemes.solarized
ranger/colorschemes/solarized.py:21:4: W0221: Number of parameters was 1 in 
'ColorScheme.use' and is now 2 in overriding 'Solarized.use' method 
(arguments-differ)
ranger/colorschemes/solarized.py:24:8: R1705: Unnecessary "elif" after 
"return", remove the leading "el" from "elif" (no-else-return)
************* Module ranger.core.metadata
ranger/core/metadata.py:25:0: R0205: Class 'MetadataManager' inherits from 
object, can be safely removed from bases in python3 (useless-object-inheritance)
ranger/core/metadata.py:29:30: R1735: Consider using '{}' instead of a call to 
'dict'. (use-dict-literal)
ranger/core/metadata.py:31:30: R1735: Consider using '{}' instead of a call to 
'dict'. (use-dict-literal)
ranger/core/metadata.py:56:8: C0415: Import outside toplevel (json) 
(import-outside-toplevel)
ranger/core/metadata.py:87:13: W1514: Using open without explicitly specifying 
an encoding (unspecified-encoding)
ranger/core/metadata.py:114:8: C0415: Import outside toplevel (json) 
(import-outside-toplevel)
ranger/core/metadata.py:120:17: W1514: Using open without explicitly specifying 
an encoding (unspecified-encoding)
ranger/core/metadata.py:124:20: W0707: Consider explicitly re-raising using 
'except ValueError as exc' and 'raise ValueError('Failed decoding JSON file %s' 
% metafile) from exc' (raise-missing-from)
ranger/core/metadata.py:124:37: C0209: Formatting a regular string which could 
be an f-string (consider-using-f-string)
************* Module ranger.core.shared
ranger/core/shared.py:9:0: R0205: Class 'FileManagerAware' inherits from 
object, can be safely removed from bases in python3 (useless-object-inheritance)
ranger/core/shared.py:16:0: R0205: Class 'SettingsAware' inherits from object, 
can be safely removed from bases in python3 (useless-object-inheritance)
************* Module ranger.core.tab
ranger/core/tab.py:30:0: C0325: Unnecessary parens after '=' keyword 
(superfluous-parens)
ranger/core/tab.py:32:0: C0325: Unnecessary parens after '=' keyword 
(superfluous-parens)
ranger/core/tab.py:81:12: R1705: Unnecessary "elif" after "return", remove the 
leading "el" from "elif" (no-else-return)
ranger/core/tab.py:174:15: C0209: Formatting a regular string which could be an 
f-string (consider-using-f-string)
************* Module ranger.core.runner
ranger/core/runner.py:209:0: C0325: Unnecessary parens after '=' keyword 
(superfluous-parens)
ranger/core/runner.py:54:0: R0205: Class 'Context' inherits from object, can be 
safely removed from bases in python3 (useless-object-inheritance)
ranger/core/runner.py:71:4: R0917: Too many positional arguments (10/5) 
(too-many-positional-arguments)
ranger/core/runner.py:93:8: R1737: Use 'yield from' directly instead of 
yielding each element one by one (use-yield-from)
ranger/core/runner.py:104:0: R0205: Class 'Runner' inherits from object, can be 
safely removed from bases in python3 (useless-object-inheritance)
ranger/core/runner.py:134:4: R0917: Too many positional arguments (8/5) 
(too-many-positional-arguments)
ranger/core/runner.py:193:31: W1514: Using open without explicitly specifying 
an encoding (unspecified-encoding)
ranger/core/runner.py:194:31: W1514: Using open without explicitly specifying 
an encoding (unspecified-encoding)
ranger/core/runner.py:264:16: W0134: 'return' shadowed by the 'finally' clause. 
(return-in-finally)
ranger/core/runner.py:266:12: W0134: 'return' shadowed by the 'finally' clause. 
(return-in-finally)
ranger/core/runner.py:248:26: C0209: Formatting a regular string which could be 
an f-string (consider-using-f-string)
ranger/core/runner.py:258:76: E0601: Using variable 'error' before assignment 
(used-before-assignment)
ranger/core/runner.py:193:31: R1732: Consider using 'with' for 
resource-allocating operations (consider-using-with)
ranger/core/runner.py:194:31: R1732: Consider using 'with' for 
resource-allocating operations (consider-using-with)
ranger/core/runner.py:245:30: R1732: Consider using 'with' for 
resource-allocating operations (consider-using-with)
************* Module ranger.core.main
ranger/core/main.py:273:0: C0325: Unnecessary parens after '=' keyword 
(superfluous-parens)
ranger/core/main.py:20:4: C0209: Formatting a regular string which could be an 
f-string (consider-using-f-string)
ranger/core/main.py:21:4: C0209: Formatting a regular string which could be an 
f-string (consider-using-f-string)
ranger/core/main.py:22:4: C0209: Formatting a regular string which could be an 
f-string (consider-using-f-string)
ranger/core/main.py:31:4: C0415: Import outside toplevel (ranger.api) 
(import-outside-toplevel)
ranger/core/main.py:32:4: C0415: Import outside toplevel 
(ranger.container.settings.Settings) (import-outside-toplevel)
ranger/core/main.py:33:4: C0415: Import outside toplevel 
(ranger.core.shared.FileManagerAware, ranger.core.shared.SettingsAware) 
(import-outside-toplevel)
ranger/core/main.py:34:4: C0415: Import outside toplevel (ranger.core.fm.FM) 
(import-outside-toplevel)
ranger/core/main.py:35:4: C0415: Import outside toplevel 
(ranger.ext.logutils.setup_logging) (import-outside-toplevel)
ranger/core/main.py:36:4: C0415: Import outside toplevel 
(ranger.ext.openstruct.OpenStruct) (import-outside-toplevel)
ranger/core/main.py:76:23: W1514: Using open without explicitly specifying an 
encoding (unspecified-encoding)
ranger/core/main.py:78:23: W1514: Using open without explicitly specifying an 
encoding (unspecified-encoding)
ranger/core/main.py:80:18: C0209: Formatting a regular string which could be an 
f-string (consider-using-f-string)
ranger/core/main.py:108:14: C0209: Formatting a regular string which could be 
an f-string (consider-using-f-string)
ranger/core/main.py:240:8: W0134: 'return' shadowed by the 'finally' clause. 
(return-in-finally)
ranger/core/main.py:122:12: C0415: Import outside toplevel 
(ranger.container.directory.InodeFilterConstants) (import-outside-toplevel)
ranger/core/main.py:126:12: C0415: Import outside toplevel 
(ranger.ext.keybinding_parser.special_keys, 
ranger.ext.keybinding_parser.reversed_special_keys) (import-outside-toplevel)
ranger/core/main.py:131:26: C0209: Formatting a regular string which could be 
an f-string (consider-using-f-string)
ranger/core/main.py:146:12: C0415: Import outside toplevel 
(ranger.ext.curses_interrupt_handler) (import-outside-toplevel)
ranger/core/main.py:158:25: W1514: Using open without explicitly specifying an 
encoding (unspecified-encoding)
ranger/core/main.py:162:29: W1514: Using open without explicitly specifying an 
encoding (unspecified-encoding)
ranger/core/main.py:194:12: C0415: Import outside toplevel (cProfile) 
(import-outside-toplevel)
ranger/core/main.py:195:12: C0415: Import outside toplevel (pstats) 
(import-outside-toplevel)
ranger/core/main.py:204:8: C0415: Import outside toplevel (traceback) 
(import-outside-toplevel)
ranger/core/main.py:208:24: C0209: Formatting a regular string which could be 
an f-string (consider-using-f-string)
ranger/core/main.py:211:20: C0209: Formatting a regular string which could be 
an f-string (consider-using-f-string)
ranger/core/main.py:26:0: R1710: Either all return statements in a function 
should return an expression, or none of them should. 
(inconsistent-return-statements)
ranger/core/main.py:78:23: R1732: Consider using 'with' for resource-allocating 
operations (consider-using-with)
ranger/core/main.py:270:4: C0415: Import outside toplevel 
(optparse.OptionParser) (import-outside-toplevel)
ranger/core/main.py:271:4: C0415: Import outside toplevel (ranger.CONFDIR, 
ranger.CACHEDIR, ranger.DATADIR, ranger.USAGE) (import-outside-toplevel)
ranger/core/main.py:328:16: C0209: Formatting a regular string which could be 
an f-string (consider-using-f-string)
ranger/core/main.py:331:29: C0209: Formatting a regular string which could be 
an f-string (consider-using-f-string)
ranger/core/main.py:336:8: C0415: Import outside toplevel (tempfile.mkdtemp) 
(import-outside-toplevel)
ranger/core/main.py:359:4: C0415: Import outside toplevel 
(ranger.core.actions.Actions) (import-outside-toplevel)
ranger/core/main.py:360:4: C0415: Import outside toplevel (ranger.core.shared) 
(import-outside-toplevel)
ranger/core/main.py:361:4: C0415: Import outside toplevel (ranger.api.commands) 
(import-outside-toplevel)
ranger/core/main.py:362:4: C0415: Import outside toplevel 
(ranger.config.commands) (import-outside-toplevel)
ranger/core/main.py:380:16: R0402: Use 'from importlib import util' instead 
(consider-using-from-import)
ranger/core/main.py:380:16: C0415: Import outside toplevel (importlib.util) 
(import-outside-toplevel)
ranger/core/main.py:385:16: C0415: Import outside toplevel 
(importlib.machinery.SourceFileLoader) (import-outside-toplevel)
ranger/core/main.py:386:25: E1120: No value for argument 'fullname' in method 
call (no-value-for-parameter)
ranger/core/main.py:388:16: C0415: Import outside toplevel (imp) 
(import-outside-toplevel)
ranger/core/main.py:388:16: W4901: Deprecated module 'imp' (deprecated-module)
ranger/core/main.py:433:23: W1514: Using open without explicitly specifying an 
encoding (unspecified-encoding)
ranger/core/main.py:443:24: C0415: Import outside toplevel (importlib) 
(import-outside-toplevel)
ranger/core/main.py:451:29: C0209: Formatting a regular string which could be 
an f-string (consider-using-f-string)
ranger/core/main.py:433:23: R1732: Consider using 'with' for 
resource-allocating operations (consider-using-with)
ranger/core/main.py:478:4: C0415: Import outside toplevel (errno.EEXIST) 
(import-outside-toplevel)
ranger/core/main.py:489:16: W0707: Consider explicitly re-raising using 'raise 
SystemExit from err' (raise-missing-from)
************* Module ranger.core.loader
ranger/core/loader.py:27:0: R0205: Class 'Loadable' inherits from object, can 
be safely removed from bases in python3 (useless-object-inheritance)
ranger/core/loader.py:55:4: R0917: Too many positional arguments (6/5) 
(too-many-positional-arguments)
ranger/core/loader.py:69:8: C0415: Import outside toplevel (os.path.join) 
(import-outside-toplevel)
ranger/core/loader.py:90:8: C0415: Import outside toplevel 
(ranger.ext.shutil_generatorized) (import-outside-toplevel)
ranger/core/loader.py:160:4: R0917: Too many positional arguments (8/5) 
(too-many-positional-arguments)
ranger/core/loader.py:177:53: R1732: Consider using 'with' for 
resource-allocating operations (consider-using-with)
ranger/core/loader.py:177:53: W1514: Using open without explicitly specifying 
an encoding (unspecified-encoding)
ranger/core/loader.py:182:16: C0415: Import outside toplevel (io) 
(import-outside-toplevel)
ranger/core/loader.py:189:19: R1714: Consider merging these comparisons with 
'in' by using 'ex.errno not in (errno.EPIPE, errno.EINVAL)'. Use a set instead 
if elements are hashable. (consider-using-in)
ranger/core/loader.py:178:33: R1732: Consider using 'with' for 
resource-allocating operations (consider-using-with)
ranger/core/loader.py:429:20: C0209: Formatting a regular string which could be 
an f-string (consider-using-f-string)
************* Module ranger.core.filter_stack
ranger/core/filter_stack.py:25:0: R0205: Class 'BaseFilter' inherits from 
object, can be safely removed from bases in python3 (useless-object-inheritance)
ranger/core/filter_stack.py:58:15: C0209: Formatting a regular string which 
could be an f-string (consider-using-f-string)
ranger/core/filter_stack.py:74:15: C0209: Formatting a regular string which 
could be an f-string (consider-using-f-string)
ranger/core/filter_stack.py:100:15: C0209: Formatting a regular string which 
could be an f-string (consider-using-f-string)
ranger/core/filter_stack.py:195:15: C0209: Formatting a regular string which 
could be an f-string (consider-using-f-string)
ranger/core/filter_stack.py:219:15: C0209: Formatting a regular string which 
could be an f-string (consider-using-f-string)
ranger/core/filter_stack.py:239:15: C0209: Formatting a regular string which 
could be an f-string (consider-using-f-string)
ranger/core/filter_stack.py:255:15: C0209: Formatting a regular string which 
could be an f-string (consider-using-f-string)
************* Module ranger.core.fm
ranger/core/fm.py:52:27: R1735: Consider using '{}' instead of a call to 
'dict'. (use-dict-literal)
ranger/core/fm.py:148:12: C0415: Import outside toplevel (re) 
(import-outside-toplevel)
ranger/core/fm.py:149:12: C0415: Import outside toplevel 
(ranger.ext.shell_escape.shell_quote) (import-outside-toplevel)
ranger/core/fm.py:164:63: C0209: Formatting a regular string which could be an 
f-string (consider-using-f-string)
ranger/core/fm.py:169:28: C0209: Formatting a regular string which could be an 
f-string (consider-using-f-string)
ranger/core/fm.py:175:62: C0209: Formatting a regular string which could be an 
f-string (consider-using-f-string)
ranger/core/fm.py:180:37: C0209: Formatting a regular string which could be an 
f-string (consider-using-f-string)
ranger/core/fm.py:183:34: C0209: Formatting a regular string which could be an 
f-string (consider-using-f-string)
ranger/core/fm.py:81:4: R0915: Too many statements (64/50) (too-many-statements)
ranger/core/fm.py:223:12: R1737: Use 'yield from' directly instead of yielding 
each element one by one (use-yield-from)
ranger/core/fm.py:254:8: C0415: Import outside toplevel (shutil) 
(import-outside-toplevel)
ranger/core/fm.py:255:8: C0415: Import outside toplevel (errno.EEXIST) 
(import-outside-toplevel)
ranger/core/fm.py:259:33: C0209: Formatting a regular string which could be an 
f-string (consider-using-f-string)
ranger/core/fm.py:261:33: C0209: Formatting a regular string which could be an 
f-string (consider-using-f-string)
ranger/core/fm.py:270:24: W0707: Consider explicitly re-raising using 'raise 
SystemExit from err' (raise-missing-from)
ranger/core/fm.py:274:37: C0209: Formatting a regular string which could be an 
f-string (consider-using-f-string)
ranger/core/fm.py:275:11: R1714: Consider merging these comparisons with 'in' 
by using 'which in ('rifle', 'all')'. Use a set instead if elements are 
hashable. (consider-using-in)
ranger/core/fm.py:277:11: R1714: Consider merging these comparisons with 'in' 
by using 'which in ('commands', 'all')'. Use a set instead if elements are 
hashable. (consider-using-in)
ranger/core/fm.py:279:11: R1714: Consider merging these comparisons with 'in' 
by using 'which in ('commands_full', 'all')'. Use a set instead if elements are 
hashable. (consider-using-in)
ranger/core/fm.py:281:11: R1714: Consider merging these comparisons with 'in' 
by using 'which in ('rc', 'all')'. Use a set instead if elements are hashable. 
(consider-using-in)
ranger/core/fm.py:283:11: R1714: Consider merging these comparisons with 'in' 
by using 'which in ('scope', 'all')'. Use a set instead if elements are 
hashable. (consider-using-in)
ranger/core/fm.py:298:29: C0209: Formatting a regular string which could be an 
f-string (consider-using-f-string)
ranger/core/fm.py:398:12: W0707: Consider explicitly re-raising using 'except 
KeyboardInterrupt as exc' and 'raise SystemExit from exc' (raise-missing-from)
ranger/core/fm.py:405:21: W1514: Using open without explicitly specifying an 
encoding (unspecified-encoding)
ranger/core/fm.py:412:21: W1514: Using open without explicitly specifying an 
encoding (unspecified-encoding)
************* Module ranger.core.actions
ranger/core/actions.py:1236:0: C0325: Unnecessary parens after '=' keyword 
(superfluous-parens)
ranger/core/actions.py:107:29: C0209: Formatting a regular string which could 
be an f-string (consider-using-f-string)
ranger/core/actions.py:118:12: R1705: Unnecessary "elif" after "return", remove 
the leading "el" from "elif" (no-else-return)
ranger/core/actions.py:138:25: C0209: Formatting a regular string which could 
be an f-string (consider-using-f-string)
ranger/core/actions.py:177:12: W0719: Raising too general exception: Exception 
(broad-exception-raised)
ranger/core/actions.py:181:19: C0209: Formatting a regular string which could 
be an f-string (consider-using-f-string)
ranger/core/actions.py:239:24: C0209: Formatting a regular string which could 
be an f-string (consider-using-f-string)
ranger/core/actions.py:245:24: C0209: Formatting a regular string which could 
be an f-string (consider-using-f-string)
ranger/core/actions.py:252:24: C0209: Formatting a regular string which could 
be an f-string (consider-using-f-string)
ranger/core/actions.py:295:29: C0209: Formatting a regular string which could 
be an f-string (consider-using-f-string)
ranger/core/actions.py:327:30: R1726: Boolean condition "fl.realpath in 
self.fm.tags or []" may be simplified to "fl.realpath in self.fm.tags" 
(simplifiable-condition)
ranger/core/actions.py:402:13: W1514: Using open without explicitly specifying 
an encoding (unspecified-encoding)
ranger/core/actions.py:412:32: C0209: Formatting a regular string which could 
be an f-string (consider-using-f-string)
ranger/core/actions.py:432:21: W1514: Using open without explicitly specifying 
an encoding (unspecified-encoding)
ranger/core/actions.py:443:21: W1514: Using open without explicitly specifying 
an encoding (unspecified-encoding)
ranger/core/actions.py:739:4: R0917: Too many positional arguments (6/5) 
(too-many-positional-arguments)
ranger/core/actions.py:823:8: R1705: Unnecessary "elif" after "return", remove 
the leading "el" from "elif" (no-else-return)
ranger/core/actions.py:964:19: R1721: Unnecessary use of a comprehension, use 
list(self.rifle.list_commands([target.path], None, skip_ask=True)) instead. 
(unnecessary-comprehension)
ranger/core/actions.py:968:28: C0209: Formatting a regular string which could 
be an f-string (consider-using-f-string)
ranger/core/actions.py:1104:27: C0209: Formatting a regular string which could 
be an f-string (consider-using-f-string)
ranger/core/actions.py:1109:27: C0209: Formatting a regular string which could 
be an f-string (consider-using-f-string)
ranger/core/actions.py:1170:16: R1705: Unnecessary "elif" after "return", 
remove the leading "el" from "elif" (no-else-return)
ranger/core/actions.py:1192:18: C0209: Formatting a regular string which could 
be an f-string (consider-using-f-string)
ranger/core/actions.py:1058:4: R0915: Too many statements (79/50) 
(too-many-statements)
ranger/core/actions.py:1213:12: C0415: Import outside toplevel (chardet) 
(import-outside-toplevel)
ranger/core/actions.py:1201:4: R1710: Either all return statements in a 
function should return an expression, or none of them should. 
(inconsistent-return-statements)
ranger/core/actions.py:1312:4: R1711: Useless return at end of function or 
method (useless-return)
ranger/core/actions.py:1406:8: R0205: Class 'NaturalOrder' inherits from 
object, can be safely removed from bases in python3 (useless-object-inheritance)
ranger/core/actions.py:1429:25: R1732: Consider using 'with' for 
resource-allocating operations (consider-using-with)
ranger/core/actions.py:1440:26: C0209: Formatting a regular string which could 
be an f-string (consider-using-f-string)
ranger/core/actions.py:1443:18: C0209: Formatting a regular string which could 
be an f-string (consider-using-f-string)
ranger/core/actions.py:1454:25: R1732: Consider using 'with' for 
resource-allocating operations (consider-using-with)
ranger/core/actions.py:1473:22: C0209: Formatting a regular string which could 
be an f-string (consider-using-f-string)
ranger/core/actions.py:1479:25: R1732: Consider using 'with' for 
resource-allocating operations (consider-using-with)
ranger/core/actions.py:1485:18: C0209: Formatting a regular string which could 
be an f-string (consider-using-f-string)
ranger/core/actions.py:1612:20: C0209: Formatting a regular string which could 
be an f-string (consider-using-f-string)
************* Module ranger.core.linemode
ranger/core/linemode.py:17:0: R0205: Class 'LinemodeBase' inherits from object, 
can be safely removed from bases in python3 (useless-object-inheritance)
ranger/core/linemode.py:71:19: C0209: Formatting a regular string which could 
be an f-string (consider-using-f-string)
ranger/core/linemode.py:87:15: C0209: Formatting a regular string which could 
be an f-string (consider-using-f-string)
ranger/core/linemode.py:101:8: R1705: Unnecessary "else" after "return", remove 
the "else" and de-indent the code inside it (no-else-return)
ranger/core/linemode.py:102:12: C0415: Import outside toplevel 
(subprocess.CalledProcessError) (import-outside-toplevel)
ranger/core/linemode.py:133:15: C0209: Formatting a regular string which could 
be an f-string (consider-using-f-string)
ranger/core/linemode.py:159:15: C0209: Formatting a regular string which could 
be an f-string (consider-using-f-string)
************* Module ranger
ranger/__init__.py:19:25: C0209: Formatting a regular string which could be an 
f-string (consider-using-f-string)
ranger/__init__.py:21:8: C0415: Import outside toplevel (subprocess) 
(import-outside-toplevel)
ranger/__init__.py:24:27: R1732: Consider using 'with' for resource-allocating 
operations (consider-using-with)
************* Module doc.tools.performance_test
doc/tools/performance_test.py:13:4: C0415: Import outside toplevel 
(ranger.container.directory) (import-outside-toplevel)
doc/tools/performance_test.py:14:4: C0415: Import outside toplevel 
(ranger.core.shared) (import-outside-toplevel)
doc/tools/performance_test.py:15:4: C0415: Import outside toplevel 
(ranger.container.settings) (import-outside-toplevel)
doc/tools/performance_test.py:16:4: C0415: Import outside toplevel 
(ranger.core.fm) (import-outside-toplevel)
doc/tools/performance_test.py:17:4: C0415: Import outside toplevel 
(ranger.ext.openstruct.OpenStruct) (import-outside-toplevel)
doc/tools/performance_test.py:38:10: C0209: Formatting a regular string which 
could be an f-string (consider-using-f-string)
************* Module doc.tools.convert_papermode_to_metadata
doc/tools/convert_papermode_to_metadata.py:28:14: C0209: Formatting a regular 
string which could be an f-string (consider-using-f-string)
doc/tools/convert_papermode_to_metadata.py:36:18: C0209: Formatting a regular 
string which could be an f-string (consider-using-f-string)
doc/tools/convert_papermode_to_metadata.py:39:13: R1735: Consider using '{}' 
instead of a call to 'dict'. (use-dict-literal)
doc/tools/convert_papermode_to_metadata.py:42:9: W1514: Using open without 
explicitly specifying an encoding (unspecified-encoding)
doc/tools/convert_papermode_to_metadata.py:46:22: C0209: Formatting a regular 
string which could be an f-string (consider-using-f-string)
doc/tools/convert_papermode_to_metadata.py:62:13: W1514: Using open without 
explicitly specifying an encoding (unspecified-encoding)
doc/tools/convert_papermode_to_metadata.py:65:14: C0209: Formatting a regular 
string which could be an f-string (consider-using-f-string)
************* Module doc.tools.print_colors
doc/tools/print_colors.py:27:15: C0209: Formatting a regular string which could 
be an f-string (consider-using-f-string)
************* Module examples.plugin_pmount_dynamic
examples/plugin_pmount_dynamic.py:28:23: C0209: Formatting a regular string 
which could be an f-string (consider-using-f-string)
examples/plugin_pmount_dynamic.py:35:18: C0209: Formatting a regular string 
which could be an f-string (consider-using-f-string)
examples/plugin_pmount_dynamic.py:45:31: C0209: Formatting a regular string 
which could be an f-string (consider-using-f-string)
examples/plugin_pmount_dynamic.py:47:31: C0209: Formatting a regular string 
which could be an f-string (consider-using-f-string)
examples/plugin_pmount_dynamic.py:53:16: C0209: Formatting a regular string 
which could be an f-string (consider-using-f-string)
examples/plugin_pmount_dynamic.py:55:31: C0209: Formatting a regular string 
which could be an f-string (consider-using-f-string)
examples/plugin_pmount_dynamic.py:62:20: C0209: Formatting a regular string 
which could be an f-string (consider-using-f-string)
examples/plugin_pmount_dynamic.py:64:35: C0209: Formatting a regular string 
which could be an f-string (consider-using-f-string)
************* Module examples.plugin_pmount
examples/plugin_pmount.py:25:23: C0209: Formatting a regular string which could 
be an f-string (consider-using-f-string)
examples/plugin_pmount.py:27:27: C0209: Formatting a regular string which could 
be an f-string (consider-using-f-string)
examples/plugin_pmount.py:29:27: C0209: Formatting a regular string which could 
be an f-string (consider-using-f-string)
examples/plugin_pmount.py:33:16: C0209: Formatting a regular string which could 
be an f-string (consider-using-f-string)
examples/plugin_pmount.py:36:31: C0209: Formatting a regular string which could 
be an f-string (consider-using-f-string)
************* Module examples.plugin_ipc
examples/plugin_ipc.py:21:8: C0415: Import outside toplevel (os) 
(import-outside-toplevel)
examples/plugin_ipc.py:27:12: C0415: Import outside toplevel (thread) 
(import-outside-toplevel)
examples/plugin_ipc.py:29:12: C0415: Import outside toplevel (_thread) 
(import-outside-toplevel)
examples/plugin_ipc.py:33:21: W1514: Using open without explicitly specifying 
an encoding (unspecified-encoding)
examples/plugin_ipc.py:44:8: C0415: Import outside toplevel (atexit) 
(import-outside-toplevel)
************* Module setup
setup.py:7:0: W4901: Deprecated module 'distutils' (deprecated-module)
setup.py:24:4: W4901: Deprecated module 'distutils.core' (deprecated-module)
setup.py:25:4: W4901: Deprecated module 'distutils.command.install_lib' 
(deprecated-module)
setup.py:53:0: R0903: Too few public methods (1/2) (too-few-public-methods)
************* Module tests.manpage_completion_test
tests/manpage_completion_test.py:29:11: W1514: Using open without explicitly 
specifying an encoding (unspecified-encoding)
tests/manpage_completion_test.py:35:15: R1735: Consider using '{}' instead of a 
call to 'dict'. (use-dict-literal)
tests/manpage_completion_test.py:46:4: C0415: Import outside toplevel 
(ranger.container.settings.ALLOWED_SETTINGS) (import-outside-toplevel)
tests/manpage_completion_test.py:53:16: C0209: Formatting a regular string 
which could be an f-string (consider-using-f-string)
************* Module tests.ranger.container.test_fsobject
tests/ranger/container/test_fsobject.py:8:0: R0205: Class 'MockFM' inherits 
from object, can be safely removed from bases in python3 
(useless-object-inheritance)
tests/ranger/container/test_fsobject.py:18:4: C2801: Unnecessarily calls dunder 
method __init__. Instantiate class directly. (unnecessary-dunder-call)

-----------------------------------
Your code has been rated at 9.41/10

make[2]: [Makefile:95: test_pylint] Error 30 (ignored)
pylint --rcfile=./ranger/config/.pylintrc ./ranger/config
************* Module ranger/config/.pylintrc
ranger/config/.pylintrc:1:0: W0012: Unknown option value for '--disable', 
expected a valid pylint message and got 'locally-enabled' (unknown-option-value)
************* Module ranger.config.commands
ranger/config/commands.py:1461:0: R0022: Useless option value for 'disable', 
'bad-whitespace' was removed from pylint, see 
https://github.com/pylint-dev/pylint/pull/3577. (useless-option-value)
ranger/config/commands.py:1476:0: R0022: Useless option value for 'enable', 
'bad-whitespace' was removed from pylint, see 
https://github.com/pylint-dev/pylint/pull/3577. (useless-option-value)
ranger/config/commands.py:1073:0: C0325: Unnecessary parens after '=' keyword 
(superfluous-parens)
ranger/config/commands.py:1184:0: C0325: Unnecessary parens after '=' keyword 
(superfluous-parens)
ranger/config/commands.py:254:8: C0415: Import outside toplevel (os.path.sep) 
(import-outside-toplevel)
ranger/config/commands.py:311:8: C0415: Import outside toplevel 
(ranger.ext.get_executables.get_executables) (import-outside-toplevel)
ranger/config/commands.py:340:18: R1721: Unnecessary use of a comprehension, 
use list(self.fm.thistab.get_selection()) instead. (unnecessary-comprehension)
ranger/config/commands.py:422:8: C0415: Import outside toplevel 
(ranger.core.runner.ALLOWED_FLAGS) (import-outside-toplevel)
ranger/config/commands.py:448:8: C0415: Import outside toplevel 
(ranger.gui.colorscheme.get_all_colorschemes) (import-outside-toplevel)
ranger/config/commands.py:531:8: C0415: Import outside toplevel 
(ranger.container.fsobject.FileSystemObject) (import-outside-toplevel)
ranger/config/commands.py:554:16: C0209: Formatting a regular string which 
could be an f-string (consider-using-f-string)
ranger/config/commands.py:643:8: C0415: Import outside toplevel 
(ranger.ext.get_executables.get_term) (import-outside-toplevel)
ranger/config/commands.py:665:8: C0415: Import outside toplevel (shlex) 
(import-outside-toplevel)
ranger/config/commands.py:666:8: C0415: Import outside toplevel 
(functools.partial) (import-outside-toplevel)
ranger/config/commands.py:688:16: C0209: Formatting a regular string which 
could be an f-string (consider-using-f-string)
ranger/config/commands.py:700:11: R1714: Consider merging these comparisons 
with 'in' by using 'answer in ('y', 'Y')'. Use a set instead if elements are 
hashable. (consider-using-in)
ranger/config/commands.py:723:8: C0415: Import outside toplevel (shlex) 
(import-outside-toplevel)
ranger/config/commands.py:724:8: C0415: Import outside toplevel 
(functools.partial) (import-outside-toplevel)
ranger/config/commands.py:746:16: C0209: Formatting a regular string which 
could be an f-string (consider-using-f-string)
ranger/config/commands.py:758:11: R1714: Consider merging these comparisons 
with 'in' by using 'answer in ('y', 'Y')'. Use a set instead if elements are 
hashable. (consider-using-in)
ranger/config/commands.py:772:8: R1725: Consider using Python 3 style super() 
without arguments (super-with-arguments)
ranger/config/commands.py:855:8: C0415: Import outside toplevel (sys) 
(import-outside-toplevel)
ranger/config/commands.py:856:8: C0415: Import outside toplevel 
(ranger.container.file.File) (import-outside-toplevel)
ranger/config/commands.py:857:8: C0415: Import outside toplevel 
(os.path.exists) (import-outside-toplevel)
ranger/config/commands.py:861:19: W1514: Using open without explicitly 
specifying an encoding (unspecified-encoding)
ranger/config/commands.py:864:16: C0209: Formatting a regular string which 
could be an f-string (consider-using-f-string)
ranger/config/commands.py:861:19: R1732: Consider using 'with' for 
resource-allocating operations (consider-using-with)
ranger/config/commands.py:881:8: C0415: Import outside toplevel (sys) 
(import-outside-toplevel)
ranger/config/commands.py:886:19: W1514: Using open without explicitly 
specifying an encoding (unspecified-encoding)
ranger/config/commands.py:888:34: C0209: Formatting a regular string which 
could be an f-string (consider-using-f-string)
ranger/config/commands.py:886:19: R1732: Consider using 'with' for 
resource-allocating operations (consider-using-with)
ranger/config/commands.py:911:8: C0415: Import outside toplevel (os.path.join, 
os.path.expanduser, os.path.lexists) (import-outside-toplevel)
ranger/config/commands.py:912:8: C0415: Import outside toplevel (os.makedirs) 
(import-outside-toplevel)
ranger/config/commands.py:931:8: C0415: Import outside toplevel (os.path.join, 
os.path.expanduser, os.path.lexists) (import-outside-toplevel)
ranger/config/commands.py:935:12: R1732: Consider using 'with' for 
resource-allocating operations (consider-using-with)
ranger/config/commands.py:935:12: W1514: Using open without explicitly 
specifying an encoding (unspecified-encoding)
ranger/config/commands.py:976:8: C0415: Import outside toplevel (ranger) 
(import-outside-toplevel)
ranger/config/commands.py:997:22: C0209: Formatting a regular string which 
could be an f-string (consider-using-f-string)
ranger/config/commands.py:1008:8: C0415: Import outside toplevel 
(ranger.container.file.File) (import-outside-toplevel)
ranger/config/commands.py:1009:8: C0415: Import outside toplevel (os.access) 
(import-outside-toplevel)
ranger/config/commands.py:1046:8: R1725: Consider using Python 3 style super() 
without arguments (super-with-arguments)
ranger/config/commands.py:1053:8: C0415: Import outside toplevel 
(ranger.MACRO_DELIMITER, ranger.MACRO_DELIMITER_ESC) (import-outside-toplevel)
ranger/config/commands.py:1129:8: C0415: Import outside toplevel (sys) 
(import-outside-toplevel)
ranger/config/commands.py:1130:8: C0415: Import outside toplevel (tempfile) 
(import-outside-toplevel)
ranger/config/commands.py:1131:8: C0415: Import outside toplevel 
(ranger.container.file.File) (import-outside-toplevel)
ranger/config/commands.py:1132:8: C0415: Import outside toplevel 
(ranger.ext.shell_escape.shell_escape) (import-outside-toplevel)
ranger/config/commands.py:1146:23: W1514: Using open without explicitly 
specifying an encoding (unspecified-encoding)
ranger/config/commands.py:1166:44: C0209: Formatting a regular string which 
could be an f-string (consider-using-f-string)
ranger/config/commands.py:1169:40: C0209: Formatting a regular string which 
could be an f-string (consider-using-f-string)
ranger/config/commands.py:1222:34: C0209: Formatting a regular string which 
could be an f-string (consider-using-f-string)
ranger/config/commands.py:1254:12: R1705: Unnecessary "elif" after "return", 
remove the leading "el" from "elif" (no-else-return)
ranger/config/commands.py:1343:8: R1725: Consider using Python 3 style super() 
without arguments (super-with-arguments)
ranger/config/commands.py:1364:8: R1725: Consider using Python 3 style super() 
without arguments (super-with-arguments)
ranger/config/commands.py:1385:8: R1725: Consider using Python 3 style super() 
without arguments (super-with-arguments)
ranger/config/commands.py:1403:27: C0209: Formatting a regular string which 
could be an f-string (consider-using-f-string)
ranger/config/commands.py:1479:8: R1725: Consider using Python 3 style super() 
without arguments (super-with-arguments)
ranger/config/commands.py:1580:20: C0209: Formatting a regular string which 
could be an f-string (consider-using-f-string)
ranger/config/commands.py:1674:8: C0415: Import outside toplevel 
(ranger.core.filter_stack.SIMPLE_FILTERS, 
ranger.core.filter_stack.FILTER_COMBINATORS) (import-outside-toplevel)
ranger/config/commands.py:1707:16: C0209: Formatting a regular string which 
could be an f-string (consider-using-f-string)
ranger/config/commands.py:1777:8: C0415: Import outside toplevel 
(ranger.ext.vcs.VcsError) (import-outside-toplevel)
ranger/config/commands.py:1784:31: C0209: Formatting a regular string which 
could be an f-string (consider-using-f-string)
ranger/config/commands.py:1798:8: C0415: Import outside toplevel 
(ranger.ext.vcs.VcsError) (import-outside-toplevel)
ranger/config/commands.py:1805:31: C0209: Formatting a regular string which 
could be an f-string (consider-using-f-string)
ranger/config/commands.py:1842:15: C0209: Formatting a regular string which 
could be an f-string (consider-using-f-string)
ranger/config/commands.py:1855:22: R1735: Consider using '{}' instead of a call 
to 'dict'. (use-dict-literal)
ranger/config/commands.py:1885:12: C0415: Import outside toplevel 
(ranger.core.linemode.DEFAULT_LINEMODE) (import-outside-toplevel)
ranger/config/commands.py:1889:27: C0209: Formatting a regular string which 
could be an f-string (consider-using-f-string)
ranger/config/commands.py:1915:8: C0415: Import outside toplevel (subprocess) 
(import-outside-toplevel)
ranger/config/commands.py:1918:12: C0415: Import outside toplevel 
(ranger.ext.get_executables.get_executables) (import-outside-toplevel)
ranger/config/commands.py:1949:22: R1732: Consider using 'with' for 
resource-allocating operations (consider-using-with)

-----------------------------------
Your code has been rated at 9.33/10

make[2]: [Makefile:96: test_pylint] Error 28 (ignored)
Running flake8...
flake8 ./ranger/api ./ranger/gui ./ranger/ext ./ranger/container 
./ranger/colorschemes ./ranger/core ./ranger/__init__.py 
./doc/tools/performance_test.py ./doc/tools/print_keys.py 
./doc/tools/convert_papermode_to_metadata.py ./doc/tools/print_colors.py 
./examples/plugin_fasd_add.py ./examples/plugin_pmount_dynamic.py 
./examples/plugin_pmount.py ./examples/plugin_file_filter.py 
./examples/plugin_ipc.py ./examples/plugin_linemode.py 
./examples/plugin_new_sorting_method.py ./examples/plugin_chmod_keybindings.py 
./examples/plugin_new_macro.py ./examples/plugin_hello_world.py 
./examples/plugin_avfs.py ./ranger.py ./setup.py ./tests ./ranger/config
Running doctests...
Testing ranger/api/commands.py...
Testing ranger/gui/widgets/console.py...
Testing ranger/gui/ansi.py...
Testing ranger/ext/rifle.py...
Testing ranger/ext/lazy_property.py...
Testing ranger/ext/signals.py...
Testing ranger/ext/direction.py...
Testing ranger/ext/keybinding_parser.py...
Testing ranger/ext/human_readable.py...
Testing ranger/ext/widestring.py...
Testing ranger/ext/iter_tools.py...
Running py.test tests...
py.test-3 tests
============================= test session starts ==============================
platform linux -- Python 3.13.2, pytest-8.3.5, pluggy-1.5.0
rootdir: /<<PKGBUILDDIR>>
collected 7 items

tests/ranger/container/test_bookmarks.py ..                              [ 28%]
tests/ranger/container/test_container.py ..                              [ 57%]
tests/ranger/container/test_fsobject.py ..                               [ 85%]
tests/ranger/core/test_main.py .                                         [100%]

============================== 7 passed in 0.04s ===============================
Checking completeness of man page...
Finished python and documentation tests!
Running shellcheck...
sed '2,$s/^\(\s*\)#/\1/' ./ranger/data/scope.sh | shellcheck -a -
Finished testing: All tests passed!
make[2]: Leaving directory '/<<PKGBUILDDIR>>'
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
   create-stamp debian/debhelper-build-stamp
   dh_prep -O-Smakefile
   debian/rules override_dh_auto_install
make[1]: Entering directory '/<<PKGBUILDDIR>>'
python3 setup.py install --root=debian/ranger --install-layout=deb
Traceback (most recent call last):
  File "/<<PKGBUILDDIR>>/setup.py", line 7, in <module>
    from distutils import log  # pylint: disable=import-error,no-name-in-module
    ^^^^^^^^^^^^^^^^^^^^^^^^^
ModuleNotFoundError: No module named 'distutils'
make[1]: *** [debian/rules:31: override_dh_auto_install] Error 1
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
make: *** [debian/rules:16: binary] Error 2
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2
--------------------------------------------------------------------------------

The above is just how the build ends and not necessarily the most relevant part.
If required, the full build log is available here:

https://people.debian.org/~sanvila/build-logs/202503/

About the archive rebuild: The build was made on virtual machines from AWS,
using sbuild and a reduced chroot with only build-essential packages.

If you could not reproduce the bug please contact me privately, as I
am willing to provide ssh access to a virtual machine where the bug is
fully reproducible.

If this is really a bug in one of the build-depends, please use
reassign and add an affects on src:ranger, so that this is still
visible in the BTS web page for this package.

Thanks.

--- End Message ---
--- Begin Message ---
Source: ranger
Source-Version: 1.9.4-2
Done: Mo Zhou <lu...@debian.org>

We believe that the bug you reported is fixed in the latest version of
ranger, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 1100...@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Mo Zhou <lu...@debian.org> (supplier of updated ranger package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmas...@ftp-master.debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Format: 1.8
Date: Wed, 19 Mar 2025 22:35:02 -0400
Source: ranger
Architecture: source
Version: 1.9.4-2
Distribution: unstable
Urgency: medium
Maintainer: Vern Sun <s5u...@gmail.com>
Changed-By: Mo Zhou <lu...@debian.org>
Closes: 1021946 1040749 1041226 1100297
Changes:
 ranger (1.9.4-2) unstable; urgency=medium
 .
   * Cherry-pick upstream fix for issue #1603. (Closes: #1021946)
   * Add missing Build-Depends: python3-setuptools. (Closes: #1100297)
   * Patch manpage to fix the missing NAME section. (Closes: #1041226)
   * Patch rifle config file for imv executable path. (Closes: #1040749)
Checksums-Sha1:
 d2509feaabd472375844cf1a963441ca5915c69b 2244 ranger_1.9.4-2.dsc
 f43bb92d52266ebce13f55b26362887654d96cea 12860 ranger_1.9.4-2.debian.tar.xz
 e04d3a7f8dc5a571ddc41258c9ea14f609232643 6470 ranger_1.9.4-2_source.buildinfo
Checksums-Sha256:
 a33317bbe5a7b3acf35e0506333579fa3c0f43f61c49315bd329ebbd5267a049 2244 
ranger_1.9.4-2.dsc
 e7405514052fcf20dd497f0540ad67fd93686be8db693e1fc584e374505f9c01 12860 
ranger_1.9.4-2.debian.tar.xz
 8003a6b90f35978cac781056c7dacdba4baa57de6e5b41ecd0f47059f909b86b 6470 
ranger_1.9.4-2_source.buildinfo
Files:
 8d9725f8df128765a2f0c7db60fec4a4 2244 utils optional ranger_1.9.4-2.dsc
 df797e40ffd20e7e3a0fb0bb0e31b388 12860 utils optional 
ranger_1.9.4-2.debian.tar.xz
 879b7e56e675955dfd2edb0dbf382c80 6470 utils optional 
ranger_1.9.4-2_source.buildinfo


-----BEGIN PGP SIGNATURE-----

iQJFBAEBCgAvFiEEY4vHXsHlxYkGfjXeYmRes19oaooFAmfbfxkRHGx1bWluQGRl
Ymlhbi5vcmcACgkQYmRes19oaoopBg//Ub7ZxDzSUqzVvSCYfnS/6Fj6Op6yo4V7
nmcU8sNxzxMJjKI/QU4qUNEOj17IBR169XZxLyuhzDnONKsMATwHm90fe/dei24s
bxv2uxawL3kmpudyuz97TRhIM0GwJf9AnfAQLpNzOz7+WojJPjb36mn6cIO5ldq+
RqmCc12NDX9Pq8WWqSVuecJL3p3WMzjGorEwIkxXwwrxTM9tVQqSxif3cbn3GJ+R
IK8oGpf9GyqtHrey0jP0tRBGP0yuxEh9Wkj+vb4JCOrBIjtZ7GRqO9ecl8FWgss/
xs4MEiux2YgXOOGlNeE0ncbZIQT+7hMNgNdsYpKpeIVNAfqXTpBOOo4mRZ90UDVk
s6Zv54q7aDLIGmM8FQ5wsPJuoIqRRstxo+egzZdpzWsztIEtF+s6qkcXEjWRVmLa
r9hQobgCxslstxB96X8coaM8pbycYHSrPsbvEcfYsRuNW5vAb2xgMalfMHfrkg6C
PMHkAeZ2sximJSw7hhNloFIA5D1xT5RKKbJDOlI66Qak9E1U6mXQOTHV6S0bm0Ki
AphlG0v7FP2yTuO3yZEA01l+i7P/mDq+lEVKI6cBDh1Wqfu3SI+O2biHWGWz9tJf
kqh1A7ejoQaG3hlYlefUVC+0ZT88xQ77wn0Arl55oV+Ldp7sxPc5orGNkjhtENF0
MffN97k1jCI=
=tT3G
-----END PGP SIGNATURE-----

Attachment: pgpuBOuEq1J6T.pgp
Description: PGP signature


--- End Message ---

Reply via email to