Skip to content

Add import linter - #13248

Merged
SchrodingersGat merged 12 commits into
inventree:masterfrom
matmair:add-import-linter
Nov 12, 2026
Merged

SchrodingersGat merged 12 commits into
inventree:masterfrom
matmair:add-import-linter

Conversation

@matmair

@matmair matmair commented Nov 11, 2026 •

Copy link
Copy Markdown
Member

This:

  • adds prek linting for imports/dependencies
  • moves non-public interfaces in plugin into a separate namespace
  • ensures built in and sample plugins adhere to the defined stable import paths

Ref #13256

@matmair matmair added this to the 1.8.0 milestone Nov 11, 2026
@netlify

netlify Bot commented Nov 11, 2026 •

Copy link
Copy Markdown

✅ Deploy Preview for inventree-web-pui-preview canceled.

Name Link
🔨 Latest commit 3140aec
🔍 Latest deploy log https://app.netlify.com/projects/inventree-web-pui-preview/deploys/6af4f7ec62c42a8ec0a2b199

@codecov

codecov Bot commented Nov 11, 2026 •

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 98.27586% with 2 lines in your changes missing coverage. Please review.
✅ Project coverage is 89.51%. Comparing base (1630937) to head (3140aec).
⚠️ Report is 3 commits behind head on master.

Additional details and impacted files
@@            Coverage Diff             @@
##           master   #13248      +/-   ##
==========================================
- Coverage   90.10%   89.51%   -0.59%     
==========================================
  Files        1063     1068       +5     
  Lines       83500    84780    +1280     
  Branches     4252     4252              
==========================================
+ Hits        75236    75894     +658     
- Misses       7257     7879     +622     
  Partials     1007     1007              
Flag Coverage Δ
backend 93.74% <98.27%> (+<0.01%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

Components Coverage Δ
Backend Apps 93.02% <98.18%> (-1.04%) ⬇️
Backend General 95.11% <ø> (ø)
Frontend 77.26% <ø> (ø)
🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@matmair
matmair marked this pull request as ready for review November 12, 2026 07:24
@matmair

matmair commented Nov 12, 2026

Copy link
Copy Markdown
Member Author

@SchrodingersGat ready for review and merge

@SchrodingersGat

Copy link
Copy Markdown
Member

Thanks @matmair this looks like a good improvement

@SchrodingersGat
SchrodingersGat merged commit 7e57196 into inventree:master Nov 12, 2026
47 checks passed
@SchrodingersGat
SchrodingersGat deleted the add-import-linter branch November 12, 2026 07:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants