Skip to content

Commit

Permalink
feat: Add reorder-python-imports formatter (#284)
Browse files Browse the repository at this point in the history
  • Loading branch information
pmav99 committed Feb 3, 2024
1 parent 0d700ba commit 9a07f60
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions lua/conform/formatters/reorder-python-imports.lua
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
--@type conform.FileFormatterConfig-
return {
meta = {
url = "https://github.com/asottile/reorder-python-imports",
description = "Rewrites source to reorder python imports",
},
command = "reorder-python-imports",
args = { "--exit-zero-even-if-changed", "-" },
stdin = true,
}

0 comments on commit 9a07f60

Please sign in to comment.