Skip to content

Fix modutils._is_subpath to handle base with trailing os.sep - #2928

Merged
DanielNoord merged 2 commits into
pylint-dev:mainfrom
davidfstr:f/unc_subpaths
Jan 10, 2026
Merged

Fix modutils._is_subpath to handle base with trailing os.sep#2928
DanielNoord merged 2 commits into
pylint-dev:mainfrom
davidfstr:f/unc_subpaths

[pre-commit.ci] auto fixes from pre-commit.com hooks

2d471d3
Select commit
Loading
Failed to load commit list.
Codecov / codecov/project succeeded Jan 9, 2026 in 0s

93.41% (target 92.00%)

View this Pull Request on Codecov

93.41% (target 92.00%)

Details

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 93.41%. Comparing base (e9571d8) to head (2d471d3).

Additional details and impacted files

Impacted file tree graph

@@           Coverage Diff           @@
##             main    #2928   +/-   ##
=======================================
  Coverage   93.41%   93.41%           
=======================================
  Files          92       92           
  Lines       11237    11237           
=======================================
  Hits        10497    10497           
  Misses        740      740           
Files with missing lines Coverage Δ
astroid/modutils.py 89.61% <100.00%> (ø)
🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.