Use Black stable to format python code
authorMichael Jeanson <mjeanson@efficios.com>
Mon, 28 Feb 2022 15:54:43 +0000 (10:54 -0500)
committerSimon Marchi <simon.marchi@efficios.com>
Fri, 11 Mar 2022 21:17:38 +0000 (16:17 -0500)
commit768f9bcbf4b5acd09dda85ab32c0ea30d8826136
tree64426b5682da6063a7be39c145b93c37d10c2b99
parent53a47a3f01d6bfa4e940e1943e7645cb89d04cd5
Use Black stable to format python code

The first stable release of the Black code formatter, 22.1.0 [1] is now
available with a promise of code style stability for all versions
sharing the same major version number [2].

Set the requirements to 'black ~= 22.0' to get bug fix releases while
maintaining a stable code style.

[1] https://github.com/psf/black/releases/tag/22.1.0
[2] https://black.readthedocs.io/en/latest/the_black_code_style/index.html#stability-policy

Change-Id: I8b7843deff87464237a9214d4ea3bf18e4d987a1
Signed-off-by: Michael Jeanson <mjeanson@efficios.com>
Reviewed-on: https://review.lttng.org/c/babeltrace/+/7406
Reviewed-by: Philippe Proulx <eeppeliteloop@gmail.com>
Tested-by: jenkins <jenkins@lttng.org>
14 files changed:
dev-requirements.txt
src/bindings/python/bt2/bt2/field.py
src/bindings/python/bt2/bt2/utils.py
tests/bindings/python/bt2/test_clock_class.py
tests/bindings/python/bt2/test_field.py
tests/bindings/python/bt2/test_value.py
tests/utils/python/tap/adapter.py
tests/utils/python/tap/directive.py
tests/utils/python/tap/line.py
tests/utils/python/tap/main.py
tests/utils/python/tap/parser.py
tests/utils/python/tap/rules.py
tests/utils/python/tap/runner.py
tests/utils/python/tap/tracker.py
This page took 0.025457 seconds and 4 git commands to generate.