about summary refs log tree commit diff
path: root/devscripts/zsh-completion.py
diff options
context:
space:
mode:
authorYen Chi Hsuan <yan12125@gmail.com>2016-11-17 19:42:56 +0800
committerYen Chi Hsuan <yan12125@gmail.com>2016-11-17 19:45:42 +0800
commit582be3584761030bfbee13b0c6ea9e6ce2c8a790 (patch)
tree7de027866475514d227e4e776b63a5e8e06e7153 /devscripts/zsh-completion.py
parent073d5bf583e8ff8ae71efca5fc6fae0743ac8961 (diff)
downloadyoutube-dl-582be3584761030bfbee13b0c6ea9e6ce2c8a790.tar.gz
youtube-dl-582be3584761030bfbee13b0c6ea9e6ce2c8a790.tar.xz
youtube-dl-582be3584761030bfbee13b0c6ea9e6ce2c8a790.zip
Update coding style after pycodestyle 2.1.0
In pycodestyle 2.1.0, E305 was introduced, which requires two blank
lines after top level declarations, too.

See https://github.com/PyCQA/pycodestyle/issues/400

See also #10689; thanks @stepshal for first mentioning this issue and
initial patches
Diffstat (limited to 'devscripts/zsh-completion.py')
-rwxr-xr-xdevscripts/zsh-completion.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/devscripts/zsh-completion.py b/devscripts/zsh-completion.py
index 04728e8e2..60aaf76cc 100755
--- a/devscripts/zsh-completion.py
+++ b/devscripts/zsh-completion.py
@@ -44,5 +44,6 @@ def build_completion(opt_parser):
     with open(ZSH_COMPLETION_FILE, "w") as f:
         f.write(template)
 
+
 parser = youtube_dl.parseOpts()[0]
 build_completion(parser)