This repository was archived by the owner on Jan 3, 2025. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Fixes #16 * Bump version * Upgrade black * Remove skip_numeric_underscore_normalization * Test target_version option * Use 19.3b0 * Remove py36 * Lint * Add new fixtures
- Loading branch information
Showing
7 changed files
with
50 additions
and
26 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
[tool.black] | ||
py36 = true | ||
target-version = ['py36', 'py37', 'py38'] | ||
exclude = ''' | ||
/( | ||
\.venv | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,15 +5,15 @@ | |
|
||
setup( | ||
name="pyls-black", | ||
version="0.4.2", | ||
version="0.4.3", | ||
description="Black plugin for the Python Language Server", | ||
long_description=long_description, | ||
long_description_content_type="text/markdown", | ||
url="https://github.com/rupert/pyls-black", | ||
author="Rupert Bedford", | ||
author_email="[email protected]", | ||
packages=find_packages(exclude=["tests"]), | ||
install_requires=["python-language-server", "black==18.9b0", "toml"], | ||
install_requires=["python-language-server", "black>=19.3b0", "toml"], | ||
extras_require={"dev": ["isort", "flake8", "pytest", "mypy", "pytest"]}, | ||
entry_points={"pyls": ["pyls_black = pyls_black.plugin"]}, | ||
classifiers=( | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,5 @@ | ||
[tool.black] | ||
line-length = 20 | ||
--fast = true | ||
py36 = true | ||
pyi = true | ||
skip-string-normalization = true | ||
skip-numeric-underscore-normalization = true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
[tool.black] | ||
py36 = true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
[tool.black] | ||
target-version = ['py27'] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters