3
0
Fork 0

fix: format all code with black

and from now on should not deviate from that...
This commit is contained in:
Lance Edgar 2025-08-30 21:25:44 -05:00
parent 49f9a0228b
commit a6bb538ce9
59 changed files with 2762 additions and 2131 deletions

View file

@ -15,14 +15,14 @@ def release(c, skip_tests=False):
Release a new version of WuttJamaican
"""
if not skip_tests:
c.run('pytest')
c.run("pytest")
# rebuild local tar.gz file for distribution
if os.path.exists('dist'):
shutil.rmtree('dist')
if os.path.exists('WuttJamaican.egg-info'):
shutil.rmtree('WuttJamaican.egg-info')
c.run('python -m build --sdist')
if os.path.exists("dist"):
shutil.rmtree("dist")
if os.path.exists("WuttJamaican.egg-info"):
shutil.rmtree("WuttJamaican.egg-info")
c.run("python -m build --sdist")
# upload to PyPI
c.run('twine upload dist/*')
c.run("twine upload dist/*")