diff options
author | Ronny Pfannschmidt <opensource@ronnypfannschmidt.de> | 2018-05-13 12:31:45 +0200 |
---|---|---|
committer | Ronny Pfannschmidt <opensource@ronnypfannschmidt.de> | 2018-05-13 12:31:45 +0200 |
commit | b27e814d70f484cc7b6f4673735b85391b25b42e (patch) | |
tree | b063c423ea6cfad0e0b1c7670e2aeeb728ee455f /README.rst | |
parent | ac2fee8189c1540a0d05ea3020726174a2b6785a (diff) | |
download | setuptools-scm-b27e814d70f484cc7b6f4673735b85391b25b42e.tar.gz |
steal pre-commit config from tox
Diffstat (limited to 'README.rst')
-rw-r--r-- | README.rst | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -287,14 +287,14 @@ The callable must return the configuration. # content of setup.py import setuptools - + def myversion(): from setuptools_scm.version import get_local_dirty_tag def clean_scheme(version): return get_local_dirty_tag(version) if version.dirty else '+clean' return {'local_scheme': clean_scheme} - + setup( ..., use_scm_version=myversion, |