mirror of
https://github.com/webclinic017/drift.git
synced 2026-08-16 04:18:07 +00:00
Create copy_repo.yml (#200)
* Create copy_repo.yml * Create strip_action.yaml * Create .libcst.codemod.yaml * Create replace_functions.py * Create __init__.py * Update copy_repo.yml (#201) * Update copy_repo.yml (#202) * Update copy_repo.yml * Update copy_repo.yml (#203) * Update copy_repo.yml * Update replace_functions.py * Update copy_repo.yml * Update copy_repo.yml * Update copy_repo.yml * Update copy_repo.yml * Update copy_repo.yml * Update copy_repo.yml * Rename strip_action.yaml to environment-strip-action.yaml * Update copy_repo.yml * Update replace_functions.py (#206)
This commit is contained in:
@@ -0,0 +1,35 @@
|
||||
# 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: ['black', '-']
|
||||
|
||||
# List of regex patterns which LibCST will evaluate against filenames to
|
||||
|
||||
# determine if the module should be touched.
|
||||
|
||||
blacklist_patterns: ['.*replace_functions\.py']
|
||||
|
||||
# List of modules that contain codemods inside of them.
|
||||
|
||||
modules:
|
||||
|
||||
- 'libcst.codemod.commands'
|
||||
- 'mycodemod'
|
||||
|
||||
# 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: '.'
|
||||
|
||||
Reference in New Issue
Block a user