Skip to content

Commit 6f9feaf

Browse files
committed
style(core.utils): apply ruff format to _program_cache.py
1 parent 1773340 commit 6f9feaf

1 file changed

Lines changed: 2 additions & 3 deletions

File tree

cuda_core/cuda/core/utils/_program_cache.py

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1120,9 +1120,8 @@ def _connect_and_init(self) -> None:
11201120
entries_present_with_unknown_version = row is not None
11211121

11221122
needs_drop = (
1123-
(schema_version_known and existing_version != _SQLITE_SCHEMA_VERSION)
1124-
or entries_present_with_unknown_version
1125-
)
1123+
schema_version_known and existing_version != _SQLITE_SCHEMA_VERSION
1124+
) or entries_present_with_unknown_version
11261125
if needs_drop:
11271126
# Drop all cache tables -- ensures structural mismatch (whether
11281127
# a version bump or a foreign/pre-schema_meta ``entries``

0 commit comments

Comments
 (0)