Files
drift/.libcst.codemod.yaml
T
Daniel Szemerey 1f813f89e3 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)
2022-02-02 17:23:16 +01:00

36 lines
802 B
YAML

# 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: '.'