diff options
Diffstat (limited to '.libcst.codemod.yaml')
-rw-r--r-- | .libcst.codemod.yaml | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/.libcst.codemod.yaml b/.libcst.codemod.yaml new file mode 100644 index 000000000..6f8480f78 --- /dev/null +++ b/.libcst.codemod.yaml @@ -0,0 +1,19 @@ +# String that LibCST should look for in code which indicates that the +# module is generated code. +generated_code_marker: '@generated' +# Command line and arguments for invoking a code formatter. Anything +# specified here must be capable of taking code via stdin and returning +# formatted code via stdout. +formatter: [] +# formatter: ['black', '-'] +# List of regex patterns which LibCST will evaluate against filenames to +# determine if the module should be touched. +blacklist_patterns: [] +# List of modules that contain codemods inside of them. +modules: + - 'libcst.codemod.commands' + - 'scripts.codemods' +# Absolute or relative path of the repository root, used for providing +# full-repo metadata. Relative paths should be specified with this file +# location as the base. +repo_root: '.' |