mirror of
https://github.com/github/octodns.git
synced 2024-05-11 05:55:00 +00:00
Implement black formatting
This commit is contained in:
9
script/format
Executable file
9
script/format
Executable file
@@ -0,0 +1,9 @@
|
||||
#!/bin/bash
|
||||
|
||||
set -e
|
||||
|
||||
SOURCES=$(find *.py octodns tests -name "*.py")
|
||||
|
||||
. env/bin/activate
|
||||
|
||||
black --line-length=80 --skip-string-normalization --skip-magic-trailing-comma "$@" $SOURCES
|
||||
Reference in New Issue
Block a user