yapf

View on PyPIReverse Dependencies (560)

0.40.2 yapf-0.40.2-py3-none-any.whl

Wheel Details

Project: yapf
Version: 0.40.2
Filename: yapf-0.40.2-py3-none-any.whl
Download: [link]
Size: 254707
MD5: b60684d2916e11e1b0d3c1ddc77450ec
SHA256: adc8b5dd02c0143108878c499284205adb258aad6db6634e5b869e7ee2bd548b
Uploaded: 2023-09-22 18:40:43 +0000

dist-info

METADATA

Metadata-Version: 2.1
Name: yapf
Version: 0.40.2
Summary: A formatter for Python code
Author: Google Inc.
Maintainer-Email: Bill Wendling <morbo[at]google.com>
Project-Url: url, https://github.com/google/yapf
Project-Url: changelog, https://github.com/google/yapf/blob/main/CHANGELOG.md
License: Apache License Version 2.0, January 2004 http://www.apache.org/licenses/ TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION 1. Definitions. "License" shall mean the terms and conditions for use, reproduction, and distribution as defined by Sections 1 through 9 of this document. "Licensor" shall mean the copyright owner or entity authorized by the copyright owner that is granting the License. "Legal Entity" shall mean the union of the acting entity and all other entities that control, are controlled by, or are under common control with that entity. For the purposes of this definition, "control" means (i) the power, direct or indirect, to cause the direction or management of such entity, whether by contract or otherwise, or (ii) ownership of fifty percent (50%) or more of the outstanding shares, or (iii) beneficial ownership of such entity. "You" (or "Your") shall mean an individual or Legal Entity exercising permissions granted by this License. "Source" form shall mean the preferred form for making modifications, including but not limited to software source code, documentation source, and configuration files. "Object" form shall mean any form resulting from mechanical transformation or translation of a Source form, including but not limited to compiled object code, generated documentation, and conversions to other media types. "Work" shall mean the work of authorship, whether in Source or Object form, made available under the License, as indicated by a copyright notice that is included in or attached to the work (an example is provided in the Appendix below). "Derivative Works" shall mean any work, whether in Source or Object form, that is based on (or derived from) the Work and for which the editorial revisions, annotations, elaborations, or other modifications represent, as a whole, an original work of authorship. For the purposes of this License, Derivative Works shall not include works that remain separable from, or merely link (or bind by name) to the interfaces of, the Work and Derivative Works thereof. "Contribution" shall mean any work of authorship, including the original version of the Work and any modifications or additions to that Work or Derivative Works thereof, that is intentionally submitted to Licensor for inclusion in the Work by the copyright owner or by an individual or Legal Entity authorized to submit on behalf of the copyright owner. For the purposes of this definition, "submitted" means any form of electronic, verbal, or written communication sent to the Licensor or its representatives, including but not limited to communication on electronic mailing lists, source code control systems, and issue tracking systems that are managed by, or on behalf of, the Licensor for the purpose of discussing and improving the Work, but excluding communication that is conspicuously marked or otherwise designated in writing by the copyright owner as "Not a Contribution." "Contributor" shall mean Licensor and any individual or Legal Entity on behalf of whom a Contribution has been received by Licensor and subsequently incorporated within the Work. 2. Grant of Copyright License. Subject to the terms and conditions of this License, each Contributor hereby grants to You a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable copyright license to reproduce, prepare Derivative Works of, publicly display, publicly perform, sublicense, and distribute the Work and such Derivative Works in Source or Object form. 3. Grant of Patent License. Subject to the terms and conditions of this License, each Contributor hereby grants to You a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable (except as stated in this section) patent license to make, have made, use, offer to sell, sell, import, and otherwise transfer the Work, where such license applies only to those patent claims licensable by such Contributor that are necessarily infringed by their Contribution(s) alone or by combination of their Contribution(s) with the Work to which such Contribution(s) was submitted. If You institute patent litigation against any entity (including a cross-claim or counterclaim in a lawsuit) alleging that the Work or a Contribution incorporated within the Work constitutes direct or contributory patent infringement, then any patent licenses granted to You under this License for that Work shall terminate as of the date such litigation is filed. 4. Redistribution. You may reproduce and distribute copies of the Work or Derivative Works thereof in any medium, with or without modifications, and in Source or Object form, provided that You meet the following conditions: (a) You must give any other recipients of the Work or Derivative Works a copy of this License; and (b) You must cause any modified files to carry prominent notices stating that You changed the files; and (c) You must retain, in the Source form of any Derivative Works that You distribute, all copyright, patent, trademark, and attribution notices from the Source form of the Work, excluding those notices that do not pertain to any part of the Derivative Works; and (d) If the Work includes a "NOTICE" text file as part of its distribution, then any Derivative Works that You distribute must include a readable copy of the attribution notices contained within such NOTICE file, excluding those notices that do not pertain to any part of the Derivative Works, in at least one of the following places: within a NOTICE text file distributed as part of the Derivative Works; within the Source form or documentation, if provided along with the Derivative Works; or, within a display generated by the Derivative Works, if and wherever such third-party notices normally appear. The contents of the NOTICE file are for informational purposes only and do not modify the License. You may add Your own attribution notices within Derivative Works that You distribute, alongside or as an addendum to the NOTICE text from the Work, provided that such additional attribution notices cannot be construed as modifying the License. You may add Your own copyright statement to Your modifications and may provide additional or different license terms and conditions for use, reproduction, or distribution of Your modifications, or for any such Derivative Works as a whole, provided Your use, reproduction, and distribution of the Work otherwise complies with the conditions stated in this License. 5. Submission of Contributions. Unless You explicitly state otherwise, any Contribution intentionally submitted for inclusion in the Work by You to the Licensor shall be under the terms and conditions of this License, without any additional terms or conditions. Notwithstanding the above, nothing herein shall supersede or modify the terms of any separate license agreement you may have executed with Licensor regarding such Contributions. 6. Trademarks. This License does not grant permission to use the trade names, trademarks, service marks, or product names of the Licensor, except as required for reasonable and customary use in describing the origin of the Work and reproducing the content of the NOTICE file. 7. Disclaimer of Warranty. Unless required by applicable law or agreed to in writing, Licensor provides the Work (and each Contributor provides its Contributions) on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied, including, without limitation, any warranties or conditions of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A PARTICULAR PURPOSE. You are solely responsible for determining the appropriateness of using or redistributing the Work and assume any risks associated with Your exercise of permissions under this License. 8. Limitation of Liability. In no event and under no legal theory, whether in tort (including negligence), contract, or otherwise, unless required by applicable law (such as deliberate and grossly negligent acts) or agreed to in writing, shall any Contributor be liable to You for damages, including any direct, indirect, special, incidental, or consequential damages of any character arising as a result of this License or out of the use or inability to use the Work (including but not limited to damages for loss of goodwill, work stoppage, computer failure or malfunction, or any and all other commercial damages or losses), even if such Contributor has been advised of the possibility of such damages. 9. Accepting Warranty or Additional Liability. While redistributing the Work or Derivative Works thereof, You may choose to offer, and charge a fee for, acceptance of support, warranty, indemnity, or other liability obligations and/or rights consistent with this License. However, in accepting such obligations, You may act only on Your own behalf and on Your sole responsibility, not on behalf of any other Contributor, and only if You agree to indemnify, defend, and hold each Contributor harmless for any liability incurred by, or claims asserted against, such Contributor by reason of your accepting any such warranty or additional liability. END OF TERMS AND CONDITIONS APPENDIX: How to apply the Apache License to your work. To apply the Apache License to your work, attach the following boilerplate notice, with the fields enclosed by brackets "[]" replaced with your own identifying information. (Don't include the brackets!) The text should be enclosed in the appropriate comment syntax for the file format. We also recommend that a file or class name and description of purpose be included on the same "printed page" as the copyright notice for easier identification within third-party archives. Copyright [yyyy] [name of copyright owner] Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
Classifier: Development Status :: 4 - Beta
Classifier: Environment :: Console
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: Apache Software License
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python
Classifier: Programming Language :: Python :: 3 :: Only
Classifier: Programming Language :: Python :: 3.7
Classifier: Programming Language :: Python :: 3.8
Classifier: Programming Language :: Python :: 3.9
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Classifier: Topic :: Software Development :: Libraries :: Python Modules
Classifier: Topic :: Software Development :: Quality Assurance
Requires-Python: >=3.7
Requires-Dist: importlib-metadata (>=6.6.0)
Requires-Dist: platformdirs (>=3.5.1)
Requires-Dist: tomli (>=2.0.1)
Description-Content-Type: text/markdown
License-File: LICENSE
License-File: AUTHORS
[Description omitted; length: 31171 characters]

WHEEL

Wheel-Version: 1.0
Generator: bdist_wheel (0.41.2)
Root-Is-Purelib: true
Tag: py3-none-any

RECORD

Path Digest Size
yapf/__init__.py sha256=pDbkA3RWJv96-hmxMQQa3BYIc6SkFcuUJMGC1c3COU4 13013
yapf/__main__.py sha256=jJ5Fcwe6tbXxqSuUxRO3uel44tHP53vVScojlus0cBM 680
yapf/pyparser/__init__.py sha256=dGRRtEG7QB5hVEiGxl5tBWPY33NOrtPvofVjbcQdA7s 596
yapf/pyparser/pyparser.py sha256=OEASzKRQfU3HzZUMTDGSEiWAxN3MDR0V_M4RyCinwG4 5247
yapf/pyparser/pyparser_utils.py sha256=WS4NHtq01H4I5Tnf9Ho2BNZ7f4IYJ6KlWBZfvOFa978 3076
yapf/pyparser/split_penalty_visitor.py sha256=EDD14Vj0u2Clwaij7FDzweV7kcu5B7MGJjuy6CWdg7Y 29136
yapf/pytree/__init__.py sha256=0BQHBsowG4Mkqe5qqLBWf9kH6-rDXpIgyytXhmUeXcw 596
yapf/pytree/blank_line_calculator.py sha256=D2IiDgJPQYXYD8z9oivF7NWdUMhixp7r-45O25A00no 6289
yapf/pytree/comment_splicer.py sha256=kx54hgFFg4HRd1d_QEHpnswKiJMY5VQT8ZXet9aN0Rw 15310
yapf/pytree/continuation_splicer.py sha256=k0m5s7FWUVEvCYuRTSmOF3BIXLh2YIYG0zIUsN7GsjA 1795
yapf/pytree/pytree_unwrapper.py sha256=Ii3nfMVUqNQ15wv1R40jfyCog1QTAd0iKmuyeEFkhYY 15688
yapf/pytree/pytree_utils.py sha256=8LgJJVEjuLu93L5-fry5Zy-IZx6drjfl5nlLZZGP4jI 10465
yapf/pytree/pytree_visitor.py sha256=DP1jM86rF9rsDS6PW9Txqzm8N18gC1kuuiKDIeQWnEU 4547
yapf/pytree/split_penalty.py sha256=dhaIeZPZdUoQ6nUSxoz2fbtcKz3Kj_Natl5Sh_TQaME 24445
yapf/pytree/subtype_assigner.py sha256=Qi1bGXbsePlpJDyS8RCXMcSnoh-xDdsH5JC6LkZrrUU 19352
yapf/yapflib/__init__.py sha256=abBqhqqPP10jK6pNCEt5VDVZfYK0u0fQugTp2AC0K4k 596
yapf/yapflib/errors.py sha256=RloRbCws02c5stwhSPqZGCSDG1tpi5LKjbyX5obQ_XY 1501
yapf/yapflib/file_resources.py sha256=ii8iGrayEB8C4wdzpoBMgJPcdueR7kcyhHVB9QwDgzc 9614
yapf/yapflib/format_decision_state.py sha256=RK0BcRm-CtF1qkcNr3Zx8SeJvfGSvJoWXnwAID77MDU 48530
yapf/yapflib/format_token.py sha256=tyiWuGin2Zys8hYP22wPNL_lTZuOoIOjuQhfSNc-cUA 11203
yapf/yapflib/identify_container.py sha256=fqv-rHIupgGcXAPH2IkDhY7D0F2jWnSQYSwPsY8VUWQ 2334
yapf/yapflib/line_joiner.py sha256=HR_jVQjR3sX7k2PcJ_d8cSFf2chKOW1-gWf2ixeZYcY 3916
yapf/yapflib/logical_line.py sha256=Bj_rxgroNnr_KlpHSfwqUPzTGh1iQzlEgtlfGDcflgs 25201
yapf/yapflib/object_state.py sha256=-JOCWaB34BBi1zPq1rM-Ih9DlR9Qqgm5PL2PvXm12-E 7912
yapf/yapflib/reformatter.py sha256=qllrDOTv_XhFVZZu3u292lTRIDL06n7CPFNpj5vrTvc 28278
yapf/yapflib/split_penalty.py sha256=tbTQliU49OILbPuNGjH9xCJr8sr2YY9SmEnQUQufo1s 1252
yapf/yapflib/style.py sha256=VGQsUYFyyQPmoxYLjjL_IgAGWQOHwRYpcehXGcYVSHo 32064
yapf/yapflib/subtypes.py sha256=A5vh3DAweeEu7s0Hll27ABgtVCUmo9Q_yroQd-M39Vw 1144
yapf/yapflib/yapf_api.py sha256=G7VR1utXlRb43OAbSJvhfG6nE9dDR-GUjj7lRKiuQd4 11973
yapf_third_party/__init__.py sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU 0
yapf_third_party/_ylib2to3/Grammar.txt sha256=uIxG7IrdemRi94OtTUaVoW2ktYyKyuXHluWFMMq8Af4 11278
yapf_third_party/_ylib2to3/LICENSE sha256=V4mIG4rrnJH1g19bt8q-hKD-zUuyvi9UyeaVenjseZ0 12762
yapf_third_party/_ylib2to3/PatternGrammar.txt sha256=7lul2ztnIqDi--JWDrwciD5yMo75w7TaHHxdHMZJvOM 793
yapf_third_party/_ylib2to3/__init__.py sha256=qjSpxnt8ZtKamxz0zBxlj0FICSIbfYhYEJ72T9-itak 73
yapf_third_party/_ylib2to3/fixer_base.py sha256=VH1BkFUBWEZJHYmdNDM3TqdBOde6hx0TZrS8BWxO_1A 6081
yapf_third_party/_ylib2to3/fixer_util.py sha256=0Sklp3vR9ej_HIEuBHZvZx1AaXbInoMgUkJL92jJVy4 14005
yapf_third_party/_ylib2to3/patcomp.py sha256=yTdjpIAf9Mck02LDWbu8PIi7YDv76rDaTDb0Fdt_rSo 6374
yapf_third_party/_ylib2to3/pygram.py sha256=mL1AwT9eSTSiolL_NswWSQ9MrTdOTiURQL6TPHgXqPU 1200
yapf_third_party/_ylib2to3/pytree.py sha256=ys0BCcdCzayH0E5FvDSSJlxqkU8yv1QNf79Ef--Tk_k 25583
yapf_third_party/_ylib2to3/pgen2/__init__.py sha256=7WIeTNKI48jLD2J7R8-eCiMKPaugyap-zIm3KU9v1ww 142
yapf_third_party/_ylib2to3/pgen2/conv.py sha256=HwFvs8OSeIUsuzxadn68UnSLSTW6NQ5wHOIHyHJeKec 8672
yapf_third_party/_ylib2to3/pgen2/driver.py sha256=mOATwVWEXK5d2PcTAWiXrYVC0-2KiERCKGgEWhHOZrc 8873
yapf_third_party/_ylib2to3/pgen2/grammar.py sha256=FvbjnupPB7A8MKRCdDfiPa_FEVisyfkNQk86T-zQRTA 5387
yapf_third_party/_ylib2to3/pgen2/literals.py sha256=zPKvTENZ4v5UpXsf9KCrkw3Yab05QHnUWSjfIGpCudI 1407
yapf_third_party/_ylib2to3/pgen2/parse.py sha256=OhFjvGVNQPsgF6JkV_VHw__d55F-WjcSGp8XUUKE0RQ 13020
yapf_third_party/_ylib2to3/pgen2/pgen.py sha256=qXJiIjBTgOND-QqMobNk5nTVHHWX5wILfjLjwq41LLU 12372
yapf_third_party/_ylib2to3/pgen2/token.py sha256=liT9awL3CILuUJaol1O4_t4G-iddMsI3O6qRBNxoueI 1293
yapf_third_party/_ylib2to3/pgen2/tokenize.py sha256=qGvScdXULtSA6cOUOuCNTQ7PJA37zWkmc6LM-orA-KI 19037
yapf_third_party/yapf_diff/LICENSE sha256=nkXoVr7czun2clQILKEYUdlU3i_tdEjEvtGa2aq5mpE 12262
yapf_third_party/yapf_diff/__init__.py sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU 0
yapf_third_party/yapf_diff/yapf_diff.py sha256=5jvzFoJ1t-GPKVnfG_7sUxM6OhYyhzZhgdvZaa1p6TM 4657
yapftests/__init__.py sha256=abBqhqqPP10jK6pNCEt5VDVZfYK0u0fQugTp2AC0K4k 596
yapftests/blank_line_calculator_test.py sha256=7vgwyXfbQhYxCzezhJsuyjHY_-v9teeWUGSVUoYiKlc 9045
yapftests/comment_splicer_test.py sha256=WLuHqyY8EYuFD-BWiKyGrZDQx1nRz2bbDd-mLSCLo8Q 11081
yapftests/file_resources_test.py sha256=MFLQUYFX0XCB2k4tMDt7UFRLY7SyxdoTXbDduE6SkKQ 19268
yapftests/format_decision_state_test.py sha256=XAB1v3m08fydVIzEvN23xNwVJBiog8mtgg7LGG2IuYk 4401
yapftests/format_token_test.py sha256=JO6-XnboqnufAPF0loWPbaYVMHPqqq4loqcu9mhtzMY 3123
yapftests/line_joiner_test.py sha256=GswiMcVRAuaoUNvEoBzORMZWHsvVXu4AIK4rAInCegQ 2590
yapftests/logical_line_test.py sha256=kXSigooG63K0FJPBs_Ifx4xNzlTibSTlU-E2YlsUZbk 3228
yapftests/main_test.py sha256=t4HMCLkb0y0VyMQlE1WzeZDT2iG02XadrEZekUnpEao 3935
yapftests/pytree_unwrapper_test.py sha256=HiouLUQBpc5lNll8MKZ4hiTTvEwWwSg4u-l3mrRpUp0 9351
yapftests/pytree_utils_test.py sha256=vhgXLaSycsd7zhRDTnuaIrSCn19R-2VACRsKajA-Mwo 7973
yapftests/pytree_visitor_test.py sha256=By6gpHcBZ1lw7dx_ZW08IvmtjRbMj504L7t0KtmG69E 4083
yapftests/reformatter_basic_test.py sha256=W_hamv2Qd_nyaegzd1RYMv5I2Al8WndqBthLuN63aHw 114305
yapftests/reformatter_buganizer_test.py sha256=JHDy6EDixvobthEma5G7i5wNMLBNMTg1bukuuECluEY 92309
yapftests/reformatter_facebook_test.py sha256=koxTPksYBVbhwxzWwvqz0_qvhg3qYju-tcfVaQSQ9DU 15193
yapftests/reformatter_pep8_test.py sha256=eynVZVg-RI3De16OwLgcBU6QCmsZhqxvz0i8r03MCyE 32060
yapftests/reformatter_python3_test.py sha256=3Dk9PjAiWPtlagbbIX3bLvhgfnrgmvcfSkW-BSF7aSk 18512
yapftests/reformatter_style_config_test.py sha256=dksg4n6OSt7_LXkN_jTyeG0i_KyORuS2LsaA-5PUlk8 7171
yapftests/split_penalty_test.py sha256=zN4AFeW0nEKF4pdOVyb5y7acwnNiWoJU2oM9XhCp06c 7551
yapftests/style_test.py sha256=27cDhL1OzXThpCZYYPLkL3yi5IlsXeRU5vUcNtoPTUw 11563
yapftests/subtype_assigner_test.py sha256=cnGHcYxSmpsED4jM2HPXFRlcuI7n6Zxva09s-djGWZU 17149
yapftests/utils.py sha256=SsgEwqMsg1zT0bsnKPVPIdUuTzgdtWWZyoeNOklmdKg 2567
yapftests/yapf_test.py sha256=HJ_G7wagp5ZHmcxHsFQqMjb120KTzSrHD_G0Tmpux50 63313
yapftests/yapf_test_helper.py sha256=-eZeC7t4FYV7EmouRN-AQvvCn5_dIcjOYOLa-HdpFUY 2910
yapf-0.40.2.dist-info/AUTHORS sha256=GjWR8Xly-Dl9VrKuzTLOvRoCbMNy278DxK2Sud9LcCw 307
yapf-0.40.2.dist-info/LICENSE sha256=z8d0m5b2O9McPEK1xHG_dWgUBT6EfBDz6wA0F7xSPTA 11358
yapf-0.40.2.dist-info/METADATA sha256=7b_vlZi_d-e6XoxfxywGzyVWUpBG49xA-C-VyYTKFPk 45373
yapf-0.40.2.dist-info/WHEEL sha256=yQN5g4mg4AybRjkgi-9yy4iQEFibGQmlz78Pik5Or-A 92
yapf-0.40.2.dist-info/entry_points.txt sha256=chaU6j8JZ8zlHOpcFgorw4P7Y7LnMUMnbOFgvx5pi1E 93
yapf-0.40.2.dist-info/top_level.txt sha256=1iB3lYw_nLFf6D_vd8fTd-TZTRfpRzoC4euULCCuu6c 32
yapf-0.40.2.dist-info/RECORD

top_level.txt

yapf
yapf_third_party
yapftests

entry_points.txt

yapf = yapf:run_main
yapf-diff = yapf_third_party.yapf_diff.yapf_diff:main