Skip to content

Commit

Permalink
Merge pull request #217 from jorenham/restore-codemod-config
Browse files Browse the repository at this point in the history
restore the `libcst` codemod config
  • Loading branch information
jorenham authored Nov 28, 2024
2 parents 35a0c17 + e6489ea commit 6c10331
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 10 deletions.
File renamed without changes.
11 changes: 1 addition & 10 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -109,16 +109,7 @@ stubtest
args = [{name = "modules", positional = true, multiple = true, default = "scipy"}]

[tool.poe.tasks.codemod]
cmd = """
python -m libcst.tool codemod
-x
--hide-generated-warnings
--hide-blacklisted-warnings
--hide-progress
--include-stubs
codegen.mods.$name
$path
"""
cmd = "python -m libcst.tool codemod -x --hide-progress --include-stubs codegen.mods.$name $path"
args = [
{name = "name", positional = true, multiple = false, required = true},
{name = "path", positional = true, multiple = false, default = "scipy-stubs"}
Expand Down

0 comments on commit 6c10331

Please sign in to comment.