Commit 5714d1c
Fix CLI file argument deprecations (#134)
Summary:
Replaced deprecated argparse `FileType` usage in the CLI with `pathlib.Path` arguments and relied on pandas to handle file opening, eliminating the need for manual handle cleanup and resolving the [`PendingDeprecationWarning`](https://github.com/facebookresearch/balance/actions/runs/19194480616/job/54873409079#step:5:32) noise.
Pull Request resolved: #134
Differential Revision: D86629212
Pulled By: talgalili
fbshipit-source-id: d59b537ec144c03b7eedef14cb4ccb7d6fae6a651 parent 811c269 commit 5714d1c
1 file changed
+5
-13
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
10 | 10 | | |
11 | 11 | | |
12 | 12 | | |
13 | | - | |
| 13 | + | |
| 14 | + | |
14 | 15 | | |
15 | 16 | | |
16 | 17 | | |
| |||
329 | 330 | | |
330 | 331 | | |
331 | 332 | | |
332 | | - | |
333 | 333 | | |
334 | 334 | | |
335 | 335 | | |
| |||
338 | 338 | | |
339 | 339 | | |
340 | 340 | | |
341 | | - | |
342 | 341 | | |
343 | 342 | | |
344 | 343 | | |
| |||
515 | 514 | | |
516 | 515 | | |
517 | 516 | | |
518 | | - | |
519 | | - | |
520 | | - | |
521 | | - | |
522 | | - | |
523 | | - | |
524 | | - | |
525 | 517 | | |
526 | 518 | | |
527 | 519 | | |
| |||
544 | 536 | | |
545 | 537 | | |
546 | 538 | | |
547 | | - | |
| 539 | + | |
548 | 540 | | |
549 | 541 | | |
550 | 542 | | |
551 | 543 | | |
552 | 544 | | |
553 | | - | |
| 545 | + | |
554 | 546 | | |
555 | 547 | | |
556 | 548 | | |
557 | 549 | | |
558 | 550 | | |
559 | | - | |
| 551 | + | |
560 | 552 | | |
561 | 553 | | |
562 | 554 | | |
| |||
0 commit comments