Skip to content

Ensure Import Linter is added via use_ci_bitbucket#988

Merged
nathanjmcdougall merged 1 commit intomainfrom
982-fix-missing-import-linter-integration-for-usethis-ci-bitbucket
Oct 13, 2025
Merged

Ensure Import Linter is added via use_ci_bitbucket#988
nathanjmcdougall merged 1 commit intomainfrom
982-fix-missing-import-linter-integration-for-usethis-ci-bitbucket

Conversation

@nathanjmcdougall
Copy link
Copy Markdown
Collaborator

No description provided.

@nathanjmcdougall nathanjmcdougall linked an issue Oct 13, 2025 that may be closed by this pull request
@codspeed-hq
Copy link
Copy Markdown

codspeed-hq bot commented Oct 13, 2025

CodSpeed Performance Report

Merging #988 will not alter performance

Comparing 982-fix-missing-import-linter-integration-for-usethis-ci-bitbucket (5d8a139) with main (65180dc)

Summary

✅ 2 untouched

@codecov
Copy link
Copy Markdown

codecov bot commented Oct 13, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

@nathanjmcdougall nathanjmcdougall marked this pull request as ready for review October 13, 2025 04:43
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR ensures that Import Linter is properly integrated into the Bitbucket CI pipeline configuration. The changes add Import Linter alongside other tools like Ruff, deptry, and Codespell in the CI workflow.

  • Added Import Linter to the list of tools that can be configured for Bitbucket CI
  • Added regression test to verify all Bitbucket-compatible tools are correctly identified
  • Updated the canonical step ordering to include Import Linter

Reviewed Changes

Copilot reviewed 3 out of 3 changed files in this pull request and generated no comments.

File Description
tests/usethis/_core/test_core_tool.py Added regression test to verify Import Linter is included in Bitbucket-compatible tools
src/usethis/_integrations/ci/bitbucket/steps.py Added "Run Import Linter" step to the default Bitbucket pipeline steps
src/usethis/_core/ci.py Integrated Import Linter tool check and step updates in the Bitbucket CI configuration flow

Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.

@nathanjmcdougall nathanjmcdougall merged commit 2f530b9 into main Oct 13, 2025
18 checks passed
@nathanjmcdougall nathanjmcdougall deleted the 982-fix-missing-import-linter-integration-for-usethis-ci-bitbucket branch October 13, 2025 05:48
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.

Fix missing Import Linter integration for usethis ci bitbucket

2 participants