Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

bearomorphism
Copy link
Contributor

Description

Make project_info a module as ProjectInfo only contains stateless helpers.

Copy link

codecov bot commented Sep 15, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 98.65%. Comparing base (120d514) to head (e22fcb3).
⚠️ Report is 805 commits behind head on master.

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #1605      +/-   ##
==========================================
+ Coverage   97.33%   98.65%   +1.31%     
==========================================
  Files          42       59      +17     
  Lines        2104     2680     +576     
==========================================
+ Hits         2048     2644     +596     
+ Misses         56       36      -20     
Flag Coverage Δ
unittests 98.65% <100.00%> (+1.31%) ⬆️

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

☔ 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.

@bearomorphism
Copy link
Contributor Author

Thanks for the quick review!

name: str = questionary.select(
"Please choose a supported config file: ",
choices=CONFIG_FILES,
default=default_path,
Copy link
Contributor Author

Choose a reason for hiding this comment

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

The suffix path can sometimes refer to Path objects. I consider it less confusing with the suffix filename to indicate that it is a string.

@Lee-W Lee-W added this to the 4.9.2 milestone Sep 15, 2025
@Lee-W Lee-W changed the base branch from master to v4-9-2 September 15, 2025 15:35
class TestFileDetection:
"""Test file detection functions."""

def test_has_pyproject_when_file_exists(self, chdir):
Copy link
Member

Choose a reason for hiding this comment

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

i think we can use parameterize for these

Copy link
Contributor Author

@bearomorphism bearomorphism Sep 16, 2025

Choose a reason for hiding this comment

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

Could you provide some details? I'm not sure how to make it more maintainable with parameterize.
Thanks 🙏

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

Successfully merging this pull request may close these issues.

3 participants