Skip to content

Commit

Permalink
🚨 run black
Browse files Browse the repository at this point in the history
Signed-off-by: rjdbcm <[email protected]>
  • Loading branch information
rjdbcm committed Aug 29, 2024
1 parent ff8aa92 commit a681472
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 3 deletions.
5 changes: 4 additions & 1 deletion ozi/scripts/meson_dist_setuptools_scm.py
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,10 @@
try:
path = Path(source / setuptools_scm.get('version_file')).resolve()
except TypeError:
print('no METADATA path provided by setuptools_scm, assuming OZI.build 1.3+', file=sys.stderr)
print(
'no METADATA path provided by setuptools_scm, assuming OZI.build 1.3+',
file=sys.stderr,
)
exit(0)
if path.exists():
path.unlink()
Expand Down
2 changes: 1 addition & 1 deletion ozi/scripts/meson_postconf_install_dependencies.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@

# noqa: INP001
import os
import sys
from pathlib import Path
Expand Down
5 changes: 4 additions & 1 deletion ozi/scripts/meson_setuptools_scm.py
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,10 @@
try:
path = Path(source / setuptools_scm.get('version_file')).resolve()
except TypeError:
print('no METADATA path provided by setuptools_scm, assuming OZI.build 1.3+', file=sys.stderr)
print(
'no METADATA path provided by setuptools_scm, assuming OZI.build 1.3+',
file=sys.stderr,
)
exit(0)
if path.parent != Path(source).resolve():
raise RuntimeError('Invalid version_file path in pyproject.toml')
Expand Down

0 comments on commit a681472

Please sign in to comment.