mirror of
https://github.com/pret/pokemon-reverse-engineering-tools.git
synced 2026-04-25 07:36:47 -05:00
remove extra newlines from python files
Remove all of the ending newlines at the end of the file, since this is apparently against pep8.
This commit is contained in:
parent
7ea430ac9a
commit
f17090f319
1
chars.py
1
chars.py
|
|
@ -277,4 +277,3 @@ jap_chars.update({
|
|||
for key, value in jap_chars.items():
|
||||
if key not in chars.keys():
|
||||
chars[key] = value
|
||||
|
||||
|
|
|
|||
|
|
@ -265,4 +265,3 @@ for blob in found_blobs:
|
|||
print "Found " + str(len(found_blobs)) + " possibly copied functions."
|
||||
|
||||
print [hex(x) for x in found_blobs[10].locations]
|
||||
|
||||
|
|
|
|||
|
|
@ -7627,4 +7627,3 @@ main = run_main
|
|||
# when you load the module.. parse everything
|
||||
if __name__ == "crystal":
|
||||
pass
|
||||
|
||||
|
|
|
|||
|
|
@ -127,4 +127,3 @@ if __name__ == "__main__":
|
|||
|
||||
# dump everything to stdout
|
||||
sys.stdout.write(output)
|
||||
|
||||
|
|
|
|||
1
gfx.py
1
gfx.py
|
|
@ -1669,4 +1669,3 @@ if __name__ == "__main__":
|
|||
|
||||
elif argv[1] == '2bpp-to-png':
|
||||
to_png(argv[2])
|
||||
|
||||
|
|
|
|||
|
|
@ -101,4 +101,3 @@ class IntervalMap(object):
|
|||
v
|
||||
))
|
||||
return '{'+', '.join(s)+'}'
|
||||
|
||||
|
|
|
|||
|
|
@ -238,4 +238,3 @@ def generate_item_constants():
|
|||
while len(item)<13: item+= " "
|
||||
output += item + " EQU " + val + "\n"
|
||||
return output
|
||||
|
||||
|
|
|
|||
|
|
@ -169,4 +169,3 @@ def get_label_from_line(line):
|
|||
#split up the line
|
||||
label = line.split(":")[0]
|
||||
return label
|
||||
|
||||
|
|
|
|||
1
pksv.py
1
pksv.py
|
|
@ -312,4 +312,3 @@ pksv_crystal_unknowns = [
|
|||
0xF0, 0xF1, 0xF2, 0xF3, 0xF4, 0xF5, 0xF6, 0xF7, 0xF8,
|
||||
0xFA, 0xFB, 0xFC, 0xFD, 0xFE, 0xFF,
|
||||
]
|
||||
|
||||
|
|
|
|||
|
|
@ -22,4 +22,3 @@ def calculate_pointer(short_pointer, bank=None):
|
|||
bank = 0
|
||||
pointer = short_pointer + (bank * 0x4000)
|
||||
return pointer
|
||||
|
||||
|
|
|
|||
1
tests.py
1
tests.py
|
|
@ -1012,4 +1012,3 @@ def run_tests(): # rather than unittest.main()
|
|||
# run the unit tests when this file is executed directly
|
||||
if __name__ == "__main__":
|
||||
run_tests()
|
||||
|
||||
|
|
|
|||
1
vba.py
1
vba.py
|
|
@ -1064,4 +1064,3 @@ class TestWriter(unittest.TestCase):
|
|||
|
||||
if __name__ == "__main__":
|
||||
unittest.main()
|
||||
|
||||
|
|
|
|||
|
|
@ -560,4 +560,3 @@ def plan_typing(text, current="A"):
|
|||
buttons.append("a")
|
||||
current = target
|
||||
return buttons
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user