(content: str)
| 60 | |
| 61 | def process_version(version: Version) -> typing.Sequence[str]: |
| 62 | def replace_pyproject_toml(content: str) -> str: |
| 63 | return re.sub(r'"ruff==.*"', f'"ruff=={version}"', content) |
| 64 | |
| 65 | def replace_readme_md(content: str) -> str: |
| 66 | content = re.sub(r"rev: v\d+\.\d+\.\d+", f"rev: v{version}", content) |
nothing calls this directly
no outgoing calls
no test coverage detected