Skip to content

Commit f6c1c66

Browse files
committed
docs(providers): add example implementation of new method for custom version providers
1 parent 9573f0b commit f6c1c66

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

docs/config.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -366,6 +366,9 @@ class MyProvider(VersionProvider):
366366
def set_version(self, version: str):
367367
self.file.write_text(version)
368368
369+
def get_files(self) -> list[str]:
370+
return [str(file)]
371+
369372
```
370373

371374
```python title="setup.py"

0 commit comments

Comments
 (0)