Method: Dependabot::Python::FileUpdater::PyprojectPreparer#sanitize
- Defined in:
- lib/dependabot/python/file_updater/pyproject_preparer.rb
#sanitize ⇒ Object
29 30 31 32 33 34 |
# File 'lib/dependabot/python/file_updater/pyproject_preparer.rb', line 29 def sanitize # {{ name }} syntax not allowed pyproject_content. gsub(/\{\{.*?\}\}/, "something"). gsub('#{', "{") end |