diff options
author | Gaetan Semet <gaetan@xeberon.net> | 2013-09-10 11:33:58 +0200 |
---|---|---|
committer | Gaetan Semet <gaetan@xeberon.net> | 2013-09-10 11:33:58 +0200 |
commit | 45438528761b0bbc143f8f2f013ee01917eb48cc (patch) | |
tree | d41b13a71f08021be8e5c39a7f872a30e7218aa1 /plugins/pep8/_pep8 | |
parent | d3e005d6b42995021ad6f1009734a55cb65be6ce (diff) | |
download | zsh-45438528761b0bbc143f8f2f013ee01917eb48cc.tar.gz zsh-45438528761b0bbc143f8f2f013ee01917eb48cc.tar.bz2 zsh-45438528761b0bbc143f8f2f013ee01917eb48cc.zip |
Completion for python, pep8, autopep8 and pylint
Signed-off-by: Gaetan Semet <gaetan@xeberon.net>
Diffstat (limited to 'plugins/pep8/_pep8')
-rw-r--r-- | plugins/pep8/_pep8 | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/plugins/pep8/_pep8 b/plugins/pep8/_pep8 new file mode 100644 index 000000000..ce19951dc --- /dev/null +++ b/plugins/pep8/_pep8 @@ -0,0 +1,34 @@ +#compdef pep8 +# +# this is zsh completion function file. +# generated by genzshcomp(ver: 0.5.1) +# + +typeset -A opt_args +local context state line + +_arguments -s -S \ + "--help[show this help message and exit]:" \ + "-h[show this help message and exit]:" \ + "--version[show program's version number and exit]:" \ + "--verbose[print status messages, or debug with -vv]" \ + "-v[print status messages, or debug with -vv]" \ + "--quiet[report only file names, or nothing with -qq]" \ + "-q[report only file names, or nothing with -qq]" \ + "--repeat[(obsolete) show all occurrences of the same error]" \ + "-r[(obsolete) show all occurrences of the same error]" \ + "--first[show first occurrence of each error]" \ + "--exclude[exclude files or directories which match these comma separated patterns (default: .svn,CVS,.bzr,.hg,.git,__pycache__)]::patterns:_files" \ + "--filename[when parsing directories, only check filenames matching these comma separated patterns (default: *.py)]::patterns:_files" \ + "--select[select errors and warnings (e.g. E,W6)]::errors:_files" \ + "--ignore[skip errors and warnings (e.g. E4,W)]::errors:_files" \ + "--show-source[show source code for each error]" \ + "--show-pep8[show text of PEP 8 for each error (implies --first)]" \ + "--statistics[count errors and warnings]" \ + "--count[print total number of errors and warnings to standard error and set exit code to 1 if total is not null]" \ + "--max-line-length[set maximum allowed line length (default: 79)]::n:_files" \ + "--format[set the error format \[default|pylint|<custom>\]]::format:_files" \ + "--diff[report only lines changed according to the unified diff received on STDIN]" \ + "--benchmark[measure processing speed are read from the \[pep8\] section of the tox.ini fg file located in any parent folder of the path(s) llowed options are: exclude, filename, select, ngth, count, format, quiet, show-pep8, show-source, .]" \ + "--config[user config file location (default: /home/gsemet/.config/pep8)]::path:_files" \ + "*::args:_files" |