chore: use Ruff (#1405)

chore: use ruff

Signed-off-by: Henry Schreiner <henryschreineriii@gmail.com>
This commit is contained in:
Henry Schreiner
2023-01-30 15:53:44 -05:00
committed by GitHub
parent 80a8ec7f32
commit c8b037ba3e
25 changed files with 141 additions and 157 deletions
+1 -1
View File
@@ -68,7 +68,7 @@ def bump_version() -> None:
sys.exit(1)
# fmt: off
print( 'Current version:', current_version) # noqa: E201 whitespace
print( 'Current version:', current_version)
new_version = input(' New version: ').strip()
# fmt: on
+2 -3
View File
@@ -280,9 +280,8 @@ class AllVersions:
config_update = self.windows_64.update_version_windows(spec)
elif identifier.startswith("pp"):
config_update = self.windows_pypy_64.update_version_windows(spec)
elif "win_arm64" in identifier:
if identifier.startswith("cp"):
config_update = self.windows_arm64.update_version_windows(spec)
elif "win_arm64" in identifier and identifier.startswith("cp"):
config_update = self.windows_arm64.update_version_windows(spec)
assert config_update is not None, f"{identifier} not found!"
config.update(**config_update)