mirror of
https://github.com/RYDE-WORK/ballistica.git
synced 2026-01-29 10:43:21 +08:00
tidying
This commit is contained in:
parent
277ba7095f
commit
27811b8487
@ -1 +1 @@
|
||||
168473775412204194101843586699698465034
|
||||
226926683788933102100058650343380221118
|
||||
@ -682,10 +682,11 @@ def _dummy_module_dirty() -> Tuple[bool, str]:
|
||||
with open(outpath) as infile:
|
||||
existing_hash = infile.read()
|
||||
|
||||
# Important to keep this deterministic...
|
||||
pysources.sort()
|
||||
|
||||
# Note: returning plain integers instead of hex so linters
|
||||
# don't see words and give spelling errors.
|
||||
# Note: going with plain integers instead of hex so linters
|
||||
# don't see words and whine about spelling errors.
|
||||
pysources_hash = get_files_hash(pysources, int_only=True)
|
||||
dirty = existing_hash != pysources_hash
|
||||
return dirty, pysources_hash
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user