Searched refs:yapf (Results 1 – 25 of 65) sorted by relevance
123
/external/yapf/yapftests/ |
D | main_test.py | 20 import yapf 22 from yapf.yapflib import py3compat 79 orig_raw_import = yapf.py3compat.raw_input 80 yapf.py3compat.raw_input = patch_raw_input 83 yapf.py3compat.raw_input = orig_raw_import 94 yapf.run_main() 102 with self.assertRaisesRegexp(yapf.errors.YapfError, 104 yapf.main(['yapf', 'foo.c']) 110 ret = yapf.main([]) 119 ret = yapf.main(['-', '--style=chromium']) [all …]
|
D | yapf_test_helper.py | 20 from yapf.yapflib import blank_line_calculator 21 from yapf.yapflib import comment_splicer 22 from yapf.yapflib import continuation_splicer 23 from yapf.yapflib import identify_container 24 from yapf.yapflib import pytree_unwrapper 25 from yapf.yapflib import pytree_utils 26 from yapf.yapflib import pytree_visitor 27 from yapf.yapflib import split_penalty 28 from yapf.yapflib import style 29 from yapf.yapflib import subtype_assigner
|
D | reformatter_verify_test.py | 19 from yapf.yapflib import py3compat 20 from yapf.yapflib import reformatter 21 from yapf.yapflib import style 22 from yapf.yapflib import verifier
|
D | pytree_visitor_test.py | 18 from yapf.yapflib import py3compat 19 from yapf.yapflib import pytree_utils 20 from yapf.yapflib import pytree_visitor
|
D | format_decision_state_test.py | 19 from yapf.yapflib import format_decision_state 20 from yapf.yapflib import pytree_utils 21 from yapf.yapflib import style 22 from yapf.yapflib import unwrapped_line
|
D | unwrapped_line_test.py | 22 from yapf.yapflib import format_token 23 from yapf.yapflib import split_penalty 24 from yapf.yapflib import unwrapped_line
|
D | blank_line_calculator_test.py | 19 from yapf.yapflib import reformatter 20 from yapf.yapflib import style 21 from yapf.yapflib import yapf_api
|
D | split_penalty_test.py | 22 from yapf.yapflib import pytree_utils 23 from yapf.yapflib import pytree_visitor 24 from yapf.yapflib import split_penalty
|
/external/yapf/yapf/yapflib/ |
D | yapf_api.py | 41 from yapf.yapflib import blank_line_calculator 42 from yapf.yapflib import comment_splicer 43 from yapf.yapflib import continuation_splicer 44 from yapf.yapflib import file_resources 45 from yapf.yapflib import identify_container 46 from yapf.yapflib import py3compat 47 from yapf.yapflib import pytree_unwrapper 48 from yapf.yapflib import pytree_utils 49 from yapf.yapflib import reformatter 50 from yapf.yapflib import split_penalty [all …]
|
D | blank_line_calculator.py | 25 from yapf.yapflib import py3compat 26 from yapf.yapflib import pytree_utils 27 from yapf.yapflib import pytree_visitor 28 from yapf.yapflib import style
|
D | pytree_unwrapper.py | 34 from yapf.yapflib import pytree_utils 35 from yapf.yapflib import pytree_visitor 36 from yapf.yapflib import split_penalty 37 from yapf.yapflib import style 38 from yapf.yapflib import unwrapped_line
|
D | identify_container.py | 22 from yapf.yapflib import pytree_utils 23 from yapf.yapflib import pytree_visitor
|
/external/yapf/ |
D | HACKING.rst | 6 $ PYTHONPATH=$PWD/yapf python -m yapf -i -r . 10 $ PYTHONPATH=$PWD/yapf python -m yapf -i $(git diff --name-only @{upstream}) 18 * Bump version in yapf/__init__.py 22 * Check it looks OK, install it onto a virtualenv, run tests, run yapf as a tool 28 * Test in a clean virtualenv that 'pip install yapf' works with the new version
|
D | MANIFEST.in | 3 include plugins/vim/autoload/yapf.vim plugins/vim/plugin/yapf.vim pylintrc 4 include .style.yapf tox.ini .travis.yml .vimrc
|
D | README.rst | 5 .. image:: https://badge.fury.io/py/yapf.svg 6 :target: https://badge.fury.io/py/yapf 9 .. image:: https://travis-ci.org/google/yapf.svg?branch=master 10 :target: https://travis-ci.org/google/yapf 13 .. image:: https://coveralls.io/repos/google/yapf/badge.svg?branch=master 14 :target: https://coveralls.io/r/google/yapf?branch=master 39 Try out YAPF with this `online demo <https://yapf.now.sh>`_. 56 $ pip install yapf 75 $ PYTHONPATH=DIR python DIR/yapf [options] ... 94 usage: yapf [-h] [-v] [-d | -i] [-r | -l START-END] [-e PATTERN] [all …]
|
D | setup.py | 22 import yapf 45 version=yapf.__version__,
|
/external/grpc-grpc/tools/distrib/ |
D | yapf_code.sh | 37 "$PYTHON" -m pip install yapf==0.20.0 39 yapf() { function 44 $PYTHON -m yapf -i -r --style=setup.cfg -p "${exclusion_args[@]}" "${1}" 49 yapf "${dir}" 56 yapf "${tempdir}"
|
/external/yapf/plugins/ |
D | README.rst | 9 found here: https://github.com/paetzke/py-yapf.el 21 Plug 'google/yapf', { 'rtp': 'plugins/vim', 'for': 'python' } 24 Plugin 'google/yapf', { 'rtp': 'plugins/vim' } 31 map <C-Y> :call yapf#YAPF()<cr> 32 imap <C-Y> <c-o>:call yapf#YAPF()<cr> 59 are committed to your local repository. Any changes ``yapf`` makes to the files 68 curl -o pre-commit.sh https://raw.githubusercontent.com/google/yapf/master/plugins/pre-commit.sh 76 Plugin for ``Textmate 2`` requires ``yapf`` Python package installed on your 81 pip install yapf 103 "$TPY" "/usr/local/bin/yapf" "$TM_FILEPATH"</string>
|
D | pre-commit.sh | 32 if [ -z $(which yapf) ]; then 67 yapf -i -r ${PYTHON_FILES[@]}
|
/external/yapf/plugins/vim/autoload/ |
D | yapf.vim | 20 " map <C-Y> :call yapf#YAPF()<cr> 21 " imap <C-Y> <c-o>:call yapf#YAPF()<cr> 23 function! yapf#YAPF() range 26 let l:cmd = 'yapf --lines=' . l:line_ranges
|
/external/yapf/yapf/ |
D | __main__.py | 16 import yapf 18 yapf.run_main()
|
D | __init__.py | 35 from yapf.yapflib import errors 36 from yapf.yapflib import file_resources 37 from yapf.yapflib import py3compat 38 from yapf.yapflib import style 39 from yapf.yapflib import yapf_api
|
/external/rust/crates/grpcio-sys/grpc/tools/distrib/ |
D | yapf_code.sh | 38 "$PYTHON" -m pip install yapf==0.28.0 40 $PYTHON -m yapf $ACTION --recursive --style=setup.cfg "${DIRS[@]}"
|
D | format_bazel.sh | 26 "$PYTHON" -m pip install yapf==0.28.0 30 echo "${FILES}" | xargs "$PYTHON" -m yapf -i --style="${CONFIG_PATH}"
|
/external/brotli/python/ |
D | README.md | 41 $ pip install yapf 53 [YAPF]: https://github.com/google/yapf 54 [YAPF usage]: https://github.com/google/yapf#usage
|
123