Skip to content

MAINT: Fix imports and clean up project configuration#50

Merged
raphaelvallat merged 1 commit intomasterfrom
improve_imports
Mar 9, 2026
Merged

MAINT: Fix imports and clean up project configuration#50
raphaelvallat merged 1 commit intomasterfrom
improve_imports

Conversation

@raphaelvallat
Copy link
Copy Markdown
Owner

  • Remove dead sys.path.insert in docs/conf.py (ran after import antropy, so had no effect)
  • Remove incorrect py-modules = ["antropy"] from pyproject.toml (for single-file modules only; package discovery via packages.find was already correct)
  • Add explicit testpaths and pythonpath = ["tests"] to pytest config, replacing the implicit sys.path injection that made from utils import work in test
    files
  • Bump minimum pytest to 7.0 (required for pythonpath ini option)

@raphaelvallat raphaelvallat merged commit ac5ec11 into master Mar 9, 2026
18 checks passed
@raphaelvallat raphaelvallat deleted the improve_imports branch March 9, 2026 15:29
@codecov-commenter
Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 100.00%. Comparing base (f28cbfc) to head (0ef23fa).
⚠️ Report is 2 commits behind head on master.

Additional details and impacted files
@@            Coverage Diff            @@
##            master       #50   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files            4         4           
  Lines          312       312           
  Branches        52        52           
=========================================
  Hits           312       312           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants