Skip to content

Conversation

@victorlin
Copy link
Member

Note

Based on #1922

Description of proposed changes

For type checking.

Related issue(s)

Follow-up to #1917 (review)

Checklist

Follow-up to "Add option to keep index as a column" (537e1fc) where I
recently added the function without types.

Type for 'filepath_or_buffer' based on pandas-stubs.¹

¹ https://github.com/pandas-dev/pandas-stubs/blob/64e978cbce28de05ff38105c169387283b6c95c2/pandas-stubs/io/parsers/readers.pyi#L39
This is cleaner and prevents false-positive 'call-overload' Mypy errors.
For type checking.
@victorlin victorlin self-assigned this Oct 27, 2025
@codecov
Copy link

codecov bot commented Oct 27, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 74.19%. Comparing base (eca7aaa) to head (eaa9c3e).

Additional details and impacted files
@@               Coverage Diff                @@
##           victorlin/types    #1923   +/-   ##
================================================
  Coverage            74.18%   74.19%           
================================================
  Files                   82       82           
  Lines                 8996     8997    +1     
  Branches              1828     1828           
================================================
+ Hits                  6674     6675    +1     
  Misses                2018     2018           
  Partials               304      304           

☔ 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