10 Commits

Author SHA256 Message Date
5b6ff8d07b - update to 0.31.0:
- Add 'BLANK_LINES_BETWEEN_TOP_LEVEL_IMPORTS_AND_VARIABLES' to support setting
  a custom number of blank lines between top-level imports and variable
  definitions.
  - Ignore end of line `# copybara:` directives when checking line length.
  - Do not scan exlcuded directories. Prior versions would scan an exluded
  folder then exclude its contents on a file by file basis. Preventing the
  folder being scanned is faster.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-yapf?expand=0&rev=19
2021-07-17 06:46:24 +00:00
Tomáš Chvátal
87b943793a Accepting request 810164 from home:mcalabkova:branches:devel:languages:python
- update to 0.30.0
  * Added `SPACES_AROUND_LIST_DELIMITERS`, `SPACES_AROUND_DICT_DELIMITERS`,
    and `SPACES_AROUND_TUPLE_DELIMITERS` to add spaces after the opening
    and before the closing delimiters for lists, dicts, and tuples.
  * Adds `FORCE_MULTILINE_DICT` knob to ensure dictionaries always split,
    even when shorter than the max line length.
  * New knob `SPACE_INSIDE_BRACKETS` to add spaces inside brackets, braces, and
    parentheses.
  * New knob `SPACES_AROUND_SUBSCRIPT_COLON` to add spaces around the subscript /
    slice operator.
  * Renamed "chromium" style to "yapf". Chromium will now use PEP-8 directly.
  * `CONTINUATION_ALIGN_STYLE` with `FIXED` or `VALIGN-RIGHT` now works with
    space indentation.
  * Don't over-indent a parameter list when not needed. But make sure it is
    properly indented so that it doesn't collide with the lines afterwards.
  * Don't split between two-word comparison operators: "is not", "not in", etc.
- Replace nose with pytest
  * not WLOG, some tests get skipped because of capturing stdin

OBS-URL: https://build.opensuse.org/request/show/810164
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-yapf?expand=0&rev=17
2020-05-29 11:00:49 +00:00
Tomáš Chvátal
705d1f9fe9 Accepting request 770029 from home:mcalabkova:branches:devel:languages:python
- update to 0.29.0
  * Add the `--quiet` flag to suppress output. The return code is 1 if there are
    changes, similarly to the `--diff` flag.
  * Catch and report `UnicodeDecodeError` exceptions.
  * Few bugfixes, see CHANGELOG

OBS-URL: https://build.opensuse.org/request/show/770029
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-yapf?expand=0&rev=15
2020-02-04 18:26:12 +00:00
Tomáš Chvátal
9d16c81074 - Update to 0.28.0:
* Bugfix release, see CHANGELOG

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-yapf?expand=0&rev=13
2019-07-22 11:28:58 +00:00
Tomáš Chvátal
a02e1e0169 Accepting request 692597 from home:mcalabkova:branches:devel:languages:python
- update to version 0.27.0
  * mostly bugfix release, see CHANGELOG for details

OBS-URL: https://build.opensuse.org/request/show/692597
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-yapf?expand=0&rev=11
2019-04-10 06:29:00 +00:00
Tomáš Chvátal
4b0acf56ca Accepting request 674779 from home:jayvdb:coala:python3-bears
- Remove optional dependency from BuildRequires as no tests fail
  or are skipped when it is missing.
- Remove tests from package
- Update from 0.24.0 to v0.26.0

OBS-URL: https://build.opensuse.org/request/show/674779
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-yapf?expand=0&rev=9
2019-02-14 08:32:53 +00:00
Tomáš Chvátal
72e392777a - Version update to 0.24.0:
* Support for python 3.7

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-yapf?expand=0&rev=7
2018-10-24 13:24:49 +00:00
Tomáš Chvátal
5395c2346c - Version update to 0.23.0:
* Many changes to behaviour based on CHANGELOG
  * Add various documents/license to distributed tarball

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-yapf?expand=0&rev=5
2018-08-29 11:40:45 +00:00
Tomáš Chvátal
84a20ed3dc Accepting request 582349 from home:jengelh:branches:devel:languages:python
- Trim description and focus on the package, not the process.

OBS-URL: https://build.opensuse.org/request/show/582349
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-yapf?expand=0&rev=2
2018-03-04 11:10:46 +00:00
Todd R
789d7f7685 Accepting request 539615 from home:TheBlackCat:branches:devel:languages:python
port from dlp3

OBS-URL: https://build.opensuse.org/request/show/539615
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-yapf?expand=0&rev=1
2017-11-07 16:19:02 +00:00