------------------------------------------------------------------- Fri Jan 5 18:15:23 UTC 2024 - Dirk Müller - update to 2.0.0: * Add support to format indented selections of code. This requires Black 23.11.0+ * Change entrypoint name to be `black`. This changes the options namespace for this plugin from `pylsp.pylsp_black` to `pylsp.black`. * Drop support for Python 3.7. ------------------------------------------------------------------- Wed Nov 1 15:46:08 UTC 2023 - Ben Greiner - Revert the last change. The error message was genuine and showed a dependency issue. ------------------------------------------------------------------- Wed Nov 1 06:12:25 UTC 2023 - Steve Kowalik - Be clear that we require lsp-jsonrpc, because the test suite does. ------------------------------------------------------------------- Sat Jul 1 13:42:33 UTC 2023 - Ben Greiner - Update to 1.3.0 * Support for black's preview and skip-magic-trailing-comma config options. * Better TOML support. ------------------------------------------------------------------- Thu Oct 27 17:12:59 UTC 2022 - Ben Greiner - Update to 1.2.1 * This release disables autopep8 and yapf plugins to avoid conflicts with black. * black minimum version has been increased to 22.3.0 because of an incompatibility with new versions of click. - Enable test suite ------------------------------------------------------------------- Sat Apr 9 22:46:36 UTC 2022 - Ben Greiner - Fix runtime requirement for black ------------------------------------------------------------------- Sat Apr 9 21:17:31 UTC 2022 - Ben Greiner - Update to 1.2.0 * This release fixes formatting of Python files with non-UNIX line endings, adds plugin configuration support and black configuration caching to improve performance. * Official support for Python 3.10 by @wlcx (PR 31). * Correctly format files and ranges with line endings other than LF by @ccordoba12 (PR 28). * Plugin configuration support and black configuration caching by @ccordoba12 and @haplo (PR 26). * Fixed PyPI badge in Readme (PR 32). * Updated pre-commit hooks' versions (PR 33). ------------------------------------------------------------------- Fri Mar 25 12:39:20 UTC 2022 - Ben Greiner - Update to 1.1.0 * Support global config as a fallback by @jdost in #19 * Fix TypeError when formatting with black 22.1.0+ by @wlcx in #30 ------------------------------------------------------------------- Tue Jul 13 12:59:29 UTC 2021 - Ben Greiner - Initial specfile for version 1.0.0 * The python-lsp-server version for python-pyls-black, which was for the python-python-language-server abandoned by upstream. * required by spyder.