_pep8 2.0 KB

12345678910111213141516171819202122232425262728293031323334
  1. #compdef pep8
  2. #
  3. # this is zsh completion function file.
  4. # generated by genzshcomp(ver: 0.5.1)
  5. #
  6. typeset -A opt_args
  7. local context state line
  8. _arguments -s -S \
  9. "--help[show this help message and exit]:" \
  10. "-h[show this help message and exit]:" \
  11. "--version[show program's version number and exit]:" \
  12. "--verbose[print status messages, or debug with -vv]" \
  13. "-v[print status messages, or debug with -vv]" \
  14. "--quiet[report only file names, or nothing with -qq]" \
  15. "-q[report only file names, or nothing with -qq]" \
  16. "--repeat[(obsolete) show all occurrences of the same error]" \
  17. "-r[(obsolete) show all occurrences of the same error]" \
  18. "--first[show first occurrence of each error]" \
  19. "--exclude[exclude files or directories which match these comma separated patterns (default: .svn,CVS,.bzr,.hg,.git,__pycache__)]::patterns:_files" \
  20. "--filename[when parsing directories, only check filenames matching these comma separated patterns (default: *.py)]::patterns:_files" \
  21. "--select[select errors and warnings (e.g. E,W6)]::errors:_files" \
  22. "--ignore[skip errors and warnings (e.g. E4,W)]::errors:_files" \
  23. "--show-source[show source code for each error]" \
  24. "--show-pep8[show text of PEP 8 for each error (implies --first)]" \
  25. "--statistics[count errors and warnings]" \
  26. "--count[print total number of errors and warnings to standard error and set exit code to 1 if total is not null]" \
  27. "--max-line-length[set maximum allowed line length (default: 79)]::n:_files" \
  28. "--format[set the error format \[default|pylint|<custom>\]]::format:_files" \
  29. "--diff[report only lines changed according to the unified diff received on STDIN]" \
  30. "--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, .]" \
  31. "--config[user config file location (default: /home/gsemet/.config/pep8)]::path:_files" \
  32. "*::args:_files"