---
source: crates/ruff_linter/src/rules/flake8_bugbear/mod.rs
---
B026 Star-arg unpacking after a keyword argument is strongly discouraged
  --> B026.py:16:16
   |
14 | foo("bar", baz="baz", bam="bam")
15 | foo(bar="bar", baz="baz", bam="bam")
16 | foo(bam="bam", *["bar", "baz"])
   |                ^^^^^^^^^^^^^^^
17 | foo(bam="bam", *bar_baz)
18 | foo(baz="baz", bam="bam", *["bar"])
   |

B026 Star-arg unpacking after a keyword argument is strongly discouraged
  --> B026.py:17:16
   |
15 | foo(bar="bar", baz="baz", bam="bam")
16 | foo(bam="bam", *["bar", "baz"])
17 | foo(bam="bam", *bar_baz)
   |                ^^^^^^^^
18 | foo(baz="baz", bam="bam", *["bar"])
19 | foo(bar="bar", baz="baz", bam="bam", *[])
   |

B026 Star-arg unpacking after a keyword argument is strongly discouraged
  --> B026.py:18:27
   |
16 | foo(bam="bam", *["bar", "baz"])
17 | foo(bam="bam", *bar_baz)
18 | foo(baz="baz", bam="bam", *["bar"])
   |                           ^^^^^^^^
19 | foo(bar="bar", baz="baz", bam="bam", *[])
20 | foo(bam="bam", *["bar"], *["baz"])
   |

B026 Star-arg unpacking after a keyword argument is strongly discouraged
  --> B026.py:19:38
   |
17 | foo(bam="bam", *bar_baz)
18 | foo(baz="baz", bam="bam", *["bar"])
19 | foo(bar="bar", baz="baz", bam="bam", *[])
   |                                      ^^^
20 | foo(bam="bam", *["bar"], *["baz"])
21 | foo(*["bar"], bam="bam", *["baz"])
   |

B026 Star-arg unpacking after a keyword argument is strongly discouraged
  --> B026.py:20:16
   |
18 | foo(baz="baz", bam="bam", *["bar"])
19 | foo(bar="bar", baz="baz", bam="bam", *[])
20 | foo(bam="bam", *["bar"], *["baz"])
   |                ^^^^^^^^
21 | foo(*["bar"], bam="bam", *["baz"])
   |

B026 Star-arg unpacking after a keyword argument is strongly discouraged
  --> B026.py:20:26
   |
18 | foo(baz="baz", bam="bam", *["bar"])
19 | foo(bar="bar", baz="baz", bam="bam", *[])
20 | foo(bam="bam", *["bar"], *["baz"])
   |                          ^^^^^^^^
21 | foo(*["bar"], bam="bam", *["baz"])
   |

B026 Star-arg unpacking after a keyword argument is strongly discouraged
  --> B026.py:21:26
   |
19 | foo(bar="bar", baz="baz", bam="bam", *[])
20 | foo(bam="bam", *["bar"], *["baz"])
21 | foo(*["bar"], bam="bam", *["baz"])
   |                          ^^^^^^^^
   |
