joaomcteixeira/taurenmd

View on GitHub
devtools/clean_dist_check.py

Summary

Maintainability
A
0 mins
Test Coverage
"""Clean dist files after tox -e check"""
from pathlib import Path

folder = Path(__file__).resolve().parents[1]

whls = folder.glob('dist/*.whl')

for f in whls:
    f.unlink()

targz = folder.glob('dist/*.tar.gz')

for f in targz:
    f.unlink()