@@ -391,8 +391,6 @@ ignore = [
391
391
" PLW0603" ,
392
392
# runtime-cast-value
393
393
" TC006" ,
394
- # zip-without-explicit-strict
395
- " B905" ,
396
394
]
397
395
398
396
exclude = [
@@ -434,6 +432,218 @@ exclude = [
434
432
# Keep this one enabled
435
433
"pandas/_typing.py" = [" TC" ]
436
434
435
+ # TODO: Fix B905 (zip-without-explicit-strict) - Remove files below as they're fixed
436
+ # For contributors working on this issue:
437
+ # After adding strict={True,False} to zip() calls in a file,
438
+ # remove its line from this section
439
+ "asv_bench/benchmarks/ctors.py" = [" B905" ]
440
+ "asv_bench/benchmarks/series_methods.py" = [" B905" ]
441
+ "pandas/_config/config.py" = [" B905" ]
442
+ "pandas/conftest.py" = [" B905" ]
443
+ "pandas/core/apply.py" = [" B905" ]
444
+ "pandas/core/array_algos/quantile.py" = [" B905" ]
445
+ "pandas/core/arraylike.py" = [" B905" ]
446
+ "pandas/core/arrays/arrow/array.py" = [" B905" ]
447
+ "pandas/core/arrays/base.py" = [" B905" ]
448
+ "pandas/core/arrays/categorical.py" = [" B905" ]
449
+ "pandas/core/arrays/datetimelike.py" = [" B905" ]
450
+ "pandas/core/arrays/interval.py" = [" B905" ]
451
+ "pandas/core/arrays/masked.py" = [" B905" ]
452
+ "pandas/core/arrays/period.py" = [" B905" ]
453
+ "pandas/core/arrays/sparse/array.py" = [" B905" ]
454
+ "pandas/core/arrays/timedeltas.py" = [" B905" ]
455
+ "pandas/core/computation/align.py" = [" B905" ]
456
+ "pandas/core/computation/expr.py" = [" B905" ]
457
+ "pandas/core/computation/ops.py" = [" B905" ]
458
+ "pandas/core/dtypes/missing.py" = [" B905" ]
459
+ "pandas/core/frame.py" = [" B905" ]
460
+ "pandas/core/generic.py" = [" B905" ]
461
+ "pandas/core/groupby/generic.py" = [" B905" ]
462
+ "pandas/core/groupby/groupby.py" = [" B905" ]
463
+ "pandas/core/groupby/grouper.py" = [" B905" ]
464
+ "pandas/core/groupby/ops.py" = [" B905" ]
465
+ "pandas/core/indexes/interval.py" = [" B905" ]
466
+ "pandas/core/indexes/multi.py" = [" B905" ]
467
+ "pandas/core/indexing.py" = [" B905" ]
468
+ "pandas/core/internals/blocks.py" = [" B905" ]
469
+ "pandas/core/internals/construction.py" = [" B905" ]
470
+ "pandas/core/internals/managers.py" = [" B905" ]
471
+ "pandas/core/methods/to_dict.py" = [" B905" ]
472
+ "pandas/core/reshape/concat.py" = [" B905" ]
473
+ "pandas/core/reshape/encoding.py" = [" B905" ]
474
+ "pandas/core/reshape/melt.py" = [" B905" ]
475
+ "pandas/core/reshape/merge.py" = [" B905" ]
476
+ "pandas/core/reshape/pivot.py" = [" B905" ]
477
+ "pandas/core/reshape/reshape.py" = [" B905" ]
478
+ "pandas/core/series.py" = [" B905" ]
479
+ "pandas/core/sorting.py" = [" B905" ]
480
+ "pandas/core/strings/accessor.py" = [" B905" ]
481
+ "pandas/core/window/rolling.py" = [" B905" ]
482
+ "pandas/io/excel/_xlrd.py" = [" B905" ]
483
+ "pandas/io/formats/css.py" = [" B905" ]
484
+ "pandas/io/formats/excel.py" = [" B905" ]
485
+ "pandas/io/formats/format.py" = [" B905" ]
486
+ "pandas/io/formats/html.py" = [" B905" ]
487
+ "pandas/io/formats/info.py" = [" B905" ]
488
+ "pandas/io/formats/printing.py" = [" B905" ]
489
+ "pandas/io/formats/style_render.py" = [" B905" ]
490
+ "pandas/io/json/_normalize.py" = [" B905" ]
491
+ "pandas/io/json/_table_schema.py" = [" B905" ]
492
+ "pandas/io/parsers/base_parser.py" = [" B905" ]
493
+ "pandas/io/parsers/c_parser_wrapper.py" = [" B905" ]
494
+ "pandas/io/parsers/python_parser.py" = [" B905" ]
495
+ "pandas/io/pytables.py" = [" B905" ]
496
+ "pandas/io/sas/sas_xport.py" = [" B905" ]
497
+ "pandas/io/sql.py" = [" B905" ]
498
+ "pandas/io/stata.py" = [" B905" ]
499
+ "pandas/io/xml.py" = [" B905" ]
500
+ "pandas/plotting/_core.py" = [" B905" ]
501
+ "pandas/plotting/_matplotlib/boxplot.py" = [" B905" ]
502
+ "pandas/plotting/_matplotlib/core.py" = [" B905" ]
503
+ "pandas/plotting/_matplotlib/hist.py" = [" B905" ]
504
+ "pandas/plotting/_matplotlib/misc.py" = [" B905" ]
505
+ "pandas/_testing/asserters.py" = [" B905" ]
506
+ "pandas/_testing/_warnings.py" = [" B905" ]
507
+ "pandas/tests/apply/test_series_apply.py" = [" B905" ]
508
+ "pandas/tests/arithmetic/test_interval.py" = [" B905" ]
509
+ "pandas/tests/arithmetic/test_numeric.py" = [" B905" ]
510
+ "pandas/tests/arithmetic/test_period.py" = [" B905" ]
511
+ "pandas/tests/arrays/categorical/test_map.py" = [" B905" ]
512
+ "pandas/tests/arrays/integer/test_construction.py" = [" B905" ]
513
+ "pandas/tests/arrays/integer/test_function.py" = [" B905" ]
514
+ "pandas/tests/arrays/masked/test_arithmetic.py" = [" B905" ]
515
+ "pandas/tests/arrays/sparse/test_constructors.py" = [" B905" ]
516
+ "pandas/tests/arrays/test_datetimes.py" = [" B905" ]
517
+ "pandas/tests/base/test_conversion.py" = [" B905" ]
518
+ "pandas/tests/computation/test_eval.py" = [" B905" ]
519
+ "pandas/tests/copy_view/test_functions.py" = [" B905" ]
520
+ "pandas/tests/dtypes/test_inference.py" = [" B905" ]
521
+ "pandas/tests/extension/base/methods.py" = [" B905" ]
522
+ "pandas/tests/extension/date/array.py" = [" B905" ]
523
+ "pandas/tests/extension/decimal/array.py" = [" B905" ]
524
+ "pandas/tests/extension/json/array.py" = [" B905" ]
525
+ "pandas/tests/extension/test_arrow.py" = [" B905" ]
526
+ "pandas/tests/extension/test_categorical.py" = [" B905" ]
527
+ "pandas/tests/extension/test_interval.py" = [" B905" ]
528
+ "pandas/tests/frame/conftest.py" = [" B905" ]
529
+ "pandas/tests/frame/constructors/test_from_dict.py" = [" B905" ]
530
+ "pandas/tests/frame/indexing/test_delitem.py" = [" B905" ]
531
+ "pandas/tests/frame/indexing/test_getitem.py" = [" B905" ]
532
+ "pandas/tests/frame/indexing/test_indexing.py" = [" B905" ]
533
+ "pandas/tests/frame/indexing/test_setitem.py" = [" B905" ]
534
+ "pandas/tests/frame/indexing/test_xs.py" = [" B905" ]
535
+ "pandas/tests/frame/methods/test_drop.py" = [" B905" ]
536
+ "pandas/tests/frame/methods/test_isin.py" = [" B905" ]
537
+ "pandas/tests/frame/methods/test_pop.py" = [" B905" ]
538
+ "pandas/tests/frame/methods/test_replace.py" = [" B905" ]
539
+ "pandas/tests/frame/methods/test_reset_index.py" = [" B905" ]
540
+ "pandas/tests/frame/methods/test_to_dict.py" = [" B905" ]
541
+ "pandas/tests/frame/test_api.py" = [" B905" ]
542
+ "pandas/tests/frame/test_constructors.py" = [" B905" ]
543
+ "pandas/tests/frame/test_iteration.py" = [" B905" ]
544
+ "pandas/tests/frame/test_query_eval.py" = [" B905" ]
545
+ "pandas/tests/frame/test_stack_unstack.py" = [" B905" ]
546
+ "pandas/tests/frame/test_subclass.py" = [" B905" ]
547
+ "pandas/tests/frame/test_ufunc.py" = [" B905" ]
548
+ "pandas/tests/groupby/test_groupby_dropna.py" = [" B905" ]
549
+ "pandas/tests/groupby/test_groupby.py" = [" B905" ]
550
+ "pandas/tests/groupby/test_grouping.py" = [" B905" ]
551
+ "pandas/tests/groupby/test_raises.py" = [" B905" ]
552
+ "pandas/tests/groupby/test_timegrouper.py" = [" B905" ]
553
+ "pandas/tests/groupby/transform/test_transform.py" = [" B905" ]
554
+ "pandas/tests/indexes/categorical/test_map.py" = [" B905" ]
555
+ "pandas/tests/indexes/datetimes/methods/test_astype.py" = [" B905" ]
556
+ "pandas/tests/indexes/datetimes/test_formats.py" = [" B905" ]
557
+ "pandas/tests/indexes/datetimes/test_partial_slicing.py" = [" B905" ]
558
+ "pandas/tests/indexes/datetimes/test_scalar_compat.py" = [" B905" ]
559
+ "pandas/tests/indexes/datetimes/test_timezones.py" = [" B905" ]
560
+ "pandas/tests/indexes/interval/test_constructors.py" = [" B905" ]
561
+ "pandas/tests/indexes/interval/test_formats.py" = [" B905" ]
562
+ "pandas/tests/indexes/interval/test_interval.py" = [" B905" ]
563
+ "pandas/tests/indexes/multi/test_analytics.py" = [" B905" ]
564
+ "pandas/tests/indexes/multi/test_constructors.py" = [" B905" ]
565
+ "pandas/tests/indexes/multi/test_equivalence.py" = [" B905" ]
566
+ "pandas/tests/indexes/multi/test_get_set.py" = [" B905" ]
567
+ "pandas/tests/indexes/period/methods/test_asfreq.py" = [" B905" ]
568
+ "pandas/tests/indexes/period/test_constructors.py" = [" B905" ]
569
+ "pandas/tests/indexes/period/test_formats.py" = [" B905" ]
570
+ "pandas/tests/indexes/period/test_period.py" = [" B905" ]
571
+ "pandas/tests/indexes/test_base.py" = [" B905" ]
572
+ "pandas/tests/indexes/test_datetimelike.py" = [" B905" ]
573
+ "pandas/tests/indexes/test_old_base.py" = [" B905" ]
574
+ "pandas/tests/indexes/test_setops.py" = [" B905" ]
575
+ "pandas/tests/indexes/timedeltas/test_formats.py" = [" B905" ]
576
+ "pandas/tests/indexing/interval/test_interval.py" = [" B905" ]
577
+ "pandas/tests/indexing/multiindex/test_getitem.py" = [" B905" ]
578
+ "pandas/tests/indexing/multiindex/test_iloc.py" = [" B905" ]
579
+ "pandas/tests/indexing/multiindex/test_indexing_slow.py" = [" B905" ]
580
+ "pandas/tests/indexing/multiindex/test_loc.py" = [" B905" ]
581
+ "pandas/tests/indexing/multiindex/test_setitem.py" = [" B905" ]
582
+ "pandas/tests/indexing/multiindex/test_sorted.py" = [" B905" ]
583
+ "pandas/tests/indexing/test_coercion.py" = [" B905" ]
584
+ "pandas/tests/indexing/test_loc.py" = [" B905" ]
585
+ "pandas/tests/internals/test_internals.py" = [" B905" ]
586
+ "pandas/tests/io/excel/test_style.py" = [" B905" ]
587
+ "pandas/tests/io/excel/test_writers.py" = [" B905" ]
588
+ "pandas/tests/io/formats/style/test_style.py" = [" B905" ]
589
+ "pandas/tests/io/formats/test_format.py" = [" B905" ]
590
+ "pandas/tests/io/formats/test_ipython_compat.py" = [" B905" ]
591
+ "pandas/tests/io/formats/test_to_string.py" = [" B905" ]
592
+ "pandas/tests/io/generate_legacy_storage_files.py" = [" B905" ]
593
+ "pandas/tests/io/parser/conftest.py" = [" B905" ]
594
+ "pandas/tests/io/parser/dtypes/test_categorical.py" = [" B905" ]
595
+ "pandas/tests/io/parser/test_header.py" = [" B905" ]
596
+ "pandas/tests/io/parser/test_python_parser_only.py" = [" B905" ]
597
+ "pandas/tests/io/pytables/test_complex.py" = [" B905" ]
598
+ "pandas/tests/io/pytables/test_select.py" = [" B905" ]
599
+ "pandas/tests/io/sas/test_sas7bdat.py" = [" B905" ]
600
+ "pandas/tests/io/test_gcs.py" = [" B905" ]
601
+ "pandas/tests/io/test_html.py" = [" B905" ]
602
+ "pandas/tests/io/test_orc.py" = [" B905" ]
603
+ "pandas/tests/io/test_sql.py" = [" B905" ]
604
+ "pandas/tests/io/test_stata.py" = [" B905" ]
605
+ "pandas/tests/plotting/common.py" = [" B905" ]
606
+ "pandas/tests/plotting/frame/test_frame_color.py" = [" B905" ]
607
+ "pandas/tests/plotting/frame/test_frame_groupby.py" = [" B905" ]
608
+ "pandas/tests/plotting/frame/test_frame.py" = [" B905" ]
609
+ "pandas/tests/plotting/frame/test_frame_subplots.py" = [" B905" ]
610
+ "pandas/tests/plotting/test_boxplot_method.py" = [" B905" ]
611
+ "pandas/tests/plotting/test_datetimelike.py" = [" B905" ]
612
+ "pandas/tests/plotting/test_groupby.py" = [" B905" ]
613
+ "pandas/tests/plotting/test_hist_method.py" = [" B905" ]
614
+ "pandas/tests/plotting/test_misc.py" = [" B905" ]
615
+ "pandas/tests/plotting/test_series.py" = [" B905" ]
616
+ "pandas/tests/resample/test_base.py" = [" B905" ]
617
+ "pandas/tests/reshape/concat/test_concat.py" = [" B905" ]
618
+ "pandas/tests/reshape/concat/test_index.py" = [" B905" ]
619
+ "pandas/tests/reshape/merge/test_merge_asof.py" = [" B905" ]
620
+ "pandas/tests/reshape/test_melt.py" = [" B905" ]
621
+ "pandas/tests/reshape/test_qcut.py" = [" B905" ]
622
+ "pandas/tests/scalar/period/test_asfreq.py" = [" B905" ]
623
+ "pandas/tests/series/accessors/test_dt_accessor.py" = [" B905" ]
624
+ "pandas/tests/series/indexing/test_get.py" = [" B905" ]
625
+ "pandas/tests/series/methods/test_convert_dtypes.py" = [" B905" ]
626
+ "pandas/tests/series/methods/test_rename.py" = [" B905" ]
627
+ "pandas/tests/series/methods/test_replace.py" = [" B905" ]
628
+ "pandas/tests/series/methods/test_reset_index.py" = [" B905" ]
629
+ "pandas/tests/series/methods/test_sort_index.py" = [" B905" ]
630
+ "pandas/tests/series/test_api.py" = [" B905" ]
631
+ "pandas/tests/series/test_constructors.py" = [" B905" ]
632
+ "pandas/tests/strings/conftest.py" = [" B905" ]
633
+ "pandas/tests/strings/test_api.py" = [" B905" ]
634
+ "pandas/tests/strings/test_strings.py" = [" B905" ]
635
+ "pandas/tests/test_algos.py" = [" B905" ]
636
+ "pandas/tests/test_sorting.py" = [" B905" ]
637
+ "pandas/tests/tseries/offsets/test_month.py" = [" B905" ]
638
+ "pandas/tests/tseries/offsets/test_offsets.py" = [" B905" ]
639
+ "pandas/tests/util/test_validate_kwargs.py" = [" B905" ]
640
+ "pandas/tests/window/test_cython_aggregations.py" = [" B905" ]
641
+ "pandas/tests/window/test_expanding.py" = [" B905" ]
642
+ "pandas/tests/window/test_rolling.py" = [" B905" ]
643
+ "pandas/util/_doctools.py" = [" B905" ]
644
+ "pandas/util/_validators.py" = [" B905" ]
645
+ "scripts/validate_unwanted_patterns.py" = [" B905" ]
646
+
437
647
[tool .ruff .lint .flake8-pytest-style ]
438
648
fixture-parentheses = false
439
649
mark-parentheses = false
0 commit comments