mirror of
https://github.com/TECHNOFAB11/bumpver.git
synced 2025-12-12 22:40:09 +01:00
make fmt
This commit is contained in:
parent
871a2a9740
commit
99c14c0df9
7 changed files with 10 additions and 11 deletions
|
|
@ -27,8 +27,9 @@ _VERBOSE = 0
|
|||
|
||||
# To enable pretty tracebacks:
|
||||
# echo "export ENABLE_BACKTRACE=1;" >> ~/.bashrc
|
||||
if os.environ.get('ENABLE_BACKTRACE') == "1":
|
||||
if os.environ.get('ENABLE_BACKTRACE') == '1':
|
||||
import backtrace
|
||||
|
||||
backtrace.hook(align=True, strip_path=True, enable_on_envvar_only=True)
|
||||
|
||||
|
||||
|
|
@ -327,5 +328,6 @@ def bump(
|
|||
|
||||
_bump(cfg, new_version, allow_dirty)
|
||||
|
||||
|
||||
if __name__ == '__main__':
|
||||
cli()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue