dotfiles: leviathan: arch-openbox-20231010
This commit is contained in:
8
.local/bin/format-python
Executable file
8
.local/bin/format-python
Executable file
@ -0,0 +1,8 @@
|
||||
#!/usr/bin/python
|
||||
# -*- coding: utf-8 -*-
|
||||
import re
|
||||
import sys
|
||||
from formatter2.main import main
|
||||
if __name__ == '__main__':
|
||||
sys.argv[0] = re.sub(r'(-script\.pyw|\.exe)?$', '', sys.argv[0])
|
||||
sys.exit(main())
|
Reference in New Issue
Block a user