Home
last modified time | relevance | path

Searched full:pep8 (Results 1 – 25 of 153) sorted by relevance

1234567

/aosp_15_r20/external/yapf/yapftests/
H A Dstyle_test.py102 # default is PEP8
107 for pep8_name in ('PEP8', 'pep8', 'Pep8'):
151 based_on_style = pep8
184 based_on_style = pep8
197 based_on_style = pep8
251 based_on_style = "pep8"
270 'based_on_style': 'pep8',
281 {'based_on_styl': 'pep8'})
295 '{based_on_style: pep8,'
303 '{based_on_style : pep8'
[all …]
H A Dyapf_test.py105 formatted_code, _, _ = yapf_api.FormatFile(filepath, style_config='pep8')
129 formatted_code, _, _ = yapf_api.FormatFile(filepath, style_config='pep8')
152 formatted_code, _, _ = yapf_api.FormatFile(filepath, style_config='pep8')
180 formatted_code, _, _ = yapf_api.FormatFile(filepath, style_config='pep8')
196 formatted_code, _, _ = yapf_api.FormatFile(filepath, style_config='pep8')
209 formatted_code, _, _ = yapf_api.FormatFile(filepath, style_config='pep8')
236 filepath, style_config='pep8', lines=[(1, 2)])
239 filepath, style_config='pep8', lines=[(3, 3)])
289 formatted_code, _, _ = yapf_api.FormatFile(filepath, style_config='pep8')
300 formatted_code, _, _ = yapf_api.FormatFile(filepath, style_config='pep8')
[all …]
H A Dreformatter_pep8_test.py14 """PEP8 tests for yapf.reformatter."""
244 '{based_on_style: pep8, split_before_logical_operator: True}'))
292 '{based_on_style: pep8, split_before_first_argument: True}'))
380 style.CreateStyleFromConfig('{based_on_style: pep8, '
526 '{based_on_style: pep8, split_before_arithmetic_operator: true}'))
561 '{based_on_style: pep8, '
H A Dreformatter_python3_test.py143 '{based_on_style: pep8, SPACES_AROUND_POWER_OPERATOR: True}'))
162 '{based_on_style: pep8, '
341 '{based_on_style: pep8, '
H A Dfile_resources_test.py156 self.assertEqual(style_name, 'pep8')
184 self.assertEqual(style_name, 'pep8')
204 self.assertEqual(style_name, 'pep8')
/aosp_15_r20/external/yapf/
H A DREADME.rst114 example "pep8" or "google"), or the name of a file
115 with style settings. The default is pep8 unless a
174 the predefined styles (e.g., ``pep8`` or ``google``), a path to a configuration
183 based_on_style = pep8
191 - ``pep8`` (default)
207 --style='{based_on_style: pep8, indent_width: 2}'
209 This will take the ``pep8`` base style and modify it to have two space
224 If none of those files are found, the default style is used (PEP8).
295 >>> FormatCode("def g():\n return True", style_config='pep8')[0]
380 example "pep8" or "google"), or the name of a file
[all …]
H A DCHANGELOG21 - Enable `BLANK_LINE_BEFORE_NESTED_CLASS_OR_DEF` knob for "pep8" style, so
23 prescribed by PEP8.
488 comment. (But not between a decorator and a comment.) This is related to PEP8
497 which is set to PEP8 by default. Fix this by making the first call set which
/aosp_15_r20/external/rappor/
H A Dtest.sh98 if pep8 --ignore=E111 "$@"; then
109 which pep8 >/dev/null || die "pep8 not installed ('sudo apt-get install pep8' on Ubuntu)"
112 # pep8 lint errors
/aosp_15_r20/external/python/httplib2/
D.travis.yml34 env: _=py2-pep8
37 script: test_group=pep8 script/test
39 env: _=py3-pep8
42 script: test_group=pep8 script/test
/aosp_15_r20/external/pytorch/tools/linter/adapters/
H A Dflake8_linter.py194 # "E2": PEP8 horizontal whitespace "errors"
195 # "E3": PEP8 blank line "errors"
196 # "E5": PEP8 line length "errors"
227 # "E": PEP8 "Error"
228 # "W": PEP8 Warning
H A Druff_linter.py167 # "E2": PEP8 horizontal whitespace "errors"
168 # "E3": PEP8 blank line "errors"
169 # "E5": PEP8 line length "errors"
196 # "E": PEP8 "Error"
197 # "W": PEP8 Warning
/aosp_15_r20/external/trusty/arm-trusted-firmware/
D.editorconfig14 # [PEP8] Style Guide for Python Code
65 # [PEP8] Indentation
70 # [PEP8] Maximum Line Length
/aosp_15_r20/external/arm-trusted-firmware/
H A D.editorconfig14 # [PEP8] Style Guide for Python Code
65 # [PEP8] Indentation
70 # [PEP8] Maximum Line Length
/aosp_15_r20/external/python/uritemplates/
Dtox.ini9 pep8,
16 [testenv:pep8]
/aosp_15_r20/external/python/python-api-core/
DCONTRIBUTING.rst102 - PEP8 compliance is required, with exceptions defined in the linter configuration.
129 Exceptions to PEP8:
132 "Function-Under-Test"), which is PEP8-incompliant, but more readable.
/aosp_15_r20/external/python/google-api-python-client/
DCONTRIBUTING.rst103 - PEP8 compliance is required, with exceptions defined in the linter configuration.
130 Exceptions to PEP8:
133 "Function-Under-Test"), which is PEP8-incompliant, but more readable.
DMakefile1 pep8: target
2 find googleapiclient samples -name "*.py" | xargs pep8 --ignore=E111,E202
/aosp_15_r20/external/yapf/yapf/third_party/yapf_diff/
H A Dyapf_diff.py76 'example "pep8" or "google"), or the name of a file with '
77 'style settings. The default is pep8 unless a '
/aosp_15_r20/external/scapy/
H A DCONTRIBUTING.md68 [pep8](https://pypi.python.org/pypi/pep8).
/aosp_15_r20/prebuilts/clang/host/linux-x86/clang-r530567/python3/lib/python3.11/site-packages/pkg_resources/_vendor/pyparsing/
Dhelpers.py225 - ``asKeyword`` and ``useRegex`` are retained for pre-PEP8 compatibility,
385 The ``asString`` pre-PEP8 argument is retained for compatibility,
482 - ``ignoreExpr`` - this pre-PEP8 argument is retained for compatibility
1066 # pre-PEP8 compatible names
/aosp_15_r20/prebuilts/clang/host/linux-x86/clang-r530567b/python3/lib/python3.11/site-packages/setuptools/_vendor/pyparsing/
Dhelpers.py225 - ``asKeyword`` and ``useRegex`` are retained for pre-PEP8 compatibility,
385 The ``asString`` pre-PEP8 argument is retained for compatibility,
482 - ``ignoreExpr`` - this pre-PEP8 argument is retained for compatibility
1066 # pre-PEP8 compatible names
/aosp_15_r20/prebuilts/clang/host/linux-x86/clang-r536225/python3/lib/python3.11/site-packages/pkg_resources/_vendor/pyparsing/
Dhelpers.py225 - ``asKeyword`` and ``useRegex`` are retained for pre-PEP8 compatibility,
385 The ``asString`` pre-PEP8 argument is retained for compatibility,
482 - ``ignoreExpr`` - this pre-PEP8 argument is retained for compatibility
1066 # pre-PEP8 compatible names
/aosp_15_r20/prebuilts/clang/host/linux-x86/clang-r522817/python3/lib/python3.11/site-packages/setuptools/_vendor/pyparsing/
Dhelpers.py225 - ``asKeyword`` and ``useRegex`` are retained for pre-PEP8 compatibility,
385 The ``asString`` pre-PEP8 argument is retained for compatibility,
482 - ``ignoreExpr`` - this pre-PEP8 argument is retained for compatibility
1066 # pre-PEP8 compatible names
/aosp_15_r20/prebuilts/clang/host/linux-x86/clang-r530567b/python3/lib/python3.11/site-packages/pip/_vendor/pyparsing/
Dhelpers.py225 - ``asKeyword`` and ``useRegex`` are retained for pre-PEP8 compatibility,
385 The ``asString`` pre-PEP8 argument is retained for compatibility,
482 - ``ignoreExpr`` - this pre-PEP8 argument is retained for compatibility
1066 # pre-PEP8 compatible names
/aosp_15_r20/prebuilts/clang/host/linux-x86/clang-r530567b/python3/lib/python3.11/site-packages/pkg_resources/_vendor/pyparsing/
Dhelpers.py225 - ``asKeyword`` and ``useRegex`` are retained for pre-PEP8 compatibility,
385 The ``asString`` pre-PEP8 argument is retained for compatibility,
482 - ``ignoreExpr`` - this pre-PEP8 argument is retained for compatibility
1066 # pre-PEP8 compatible names

1234567