From 31f5cc9f8b46ea09f70f54ee21d21934a7d22ac6 Mon Sep 17 00:00:00 2001 From: didier Date: Tue, 25 May 2021 01:32:33 +0100 Subject: [PATCH] update to latest black version --- poetry.lock | 18 ++++++++++-------- pyproject.toml | 2 +- requirements-full.txt | 16 ++++++++-------- 3 files changed, 19 insertions(+), 17 deletions(-) diff --git a/poetry.lock b/poetry.lock index d69fd27ce4d..4e468ce8ec1 100644 --- a/poetry.lock +++ b/poetry.lock @@ -189,26 +189,27 @@ lxml = ["lxml"] [[package]] name = "black" -version = "20.8b1" +version = "21.5b1" description = "The uncompromising code formatter." category = "main" optional = false -python-versions = ">=3.6" +python-versions = ">=3.6.2" [package.dependencies] appdirs = "*" click = ">=7.1.2" dataclasses = {version = ">=0.6", markers = "python_version < \"3.7\""} mypy-extensions = ">=0.4.3" -pathspec = ">=0.6,<1" +pathspec = ">=0.8.1,<1" regex = ">=2020.1.8" toml = ">=0.10.1" -typed-ast = ">=1.4.0" -typing-extensions = ">=3.7.4" +typed-ast = {version = ">=1.4.2", markers = "python_version < \"3.8\""} +typing-extensions = {version = ">=3.7.4", markers = "python_version < \"3.8\""} [package.extras] colorama = ["colorama (>=0.4.3)"] -d = ["aiohttp (>=3.3.2)", "aiohttp-cors"] +d = ["aiohttp (>=3.6.0)", "aiohttp-cors"] +python2 = ["typed-ast (>=1.4.2)"] [[package]] name = "bleach" @@ -3138,7 +3139,7 @@ prediction = ["fbprophet", "tensorflow", "pmdarima", "transformers", "flair", "t [metadata] lock-version = "1.1" python-versions = "^3.6.8" -content-hash = "203f6b98ee0189ca8dafa214cb6491445d64c93408402dfc638759240dd0653d" +content-hash = "d02dbc6f83afe219def062e0ddb9f58f370a3d1f3b9f0fd077f8212654e0f143" [metadata.files] absl-py = [ @@ -3258,7 +3259,8 @@ beautifulsoup4 = [ {file = "beautifulsoup4-4.9.3.tar.gz", hash = "sha256:84729e322ad1d5b4d25f805bfa05b902dd96450f43842c4e99067d5e1369eb25"}, ] black = [ - {file = "black-20.8b1.tar.gz", hash = "sha256:1c02557aa099101b9d21496f8a914e9ed2222ef70336404eeeac8edba836fbea"}, + {file = "black-21.5b1-py3-none-any.whl", hash = "sha256:8a60071a0043876a4ae96e6c69bd3a127dad2c1ca7c8083573eb82f92705d008"}, + {file = "black-21.5b1.tar.gz", hash = "sha256:23695358dbcb3deafe7f0a3ad89feee5999a46be5fec21f4f1d108be0bcdb3b1"}, ] bleach = [ {file = "bleach-3.3.0-py2.py3-none-any.whl", hash = "sha256:6123ddc1052673e52bab52cdc955bcb57a015264a1c57d37bea2f6b817af0125"}, diff --git a/pyproject.toml b/pyproject.toml index 3c3209ed5ea..3c904efa5ce 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -71,7 +71,7 @@ pyupgrade = "2.18.2" pytest = "^6.2.2" pylint = "^2.7.2" flake8 = "^3.9.0" -black = "^20.8b1" +black = "21.5b1" mypy = "^0.812" mock = "^4.0.3" codespell = "^2.0.0" diff --git a/requirements-full.txt b/requirements-full.txt index c40868e2ca8..bb17295eb75 100644 --- a/requirements-full.txt +++ b/requirements-full.txt @@ -3,7 +3,7 @@ aiohttp==3.7.4.post0; python_version >= "3.6" alpaca-trade-api==1.2.1 alpha-vantage==2.3.1 ansiwrap==0.8.4; python_version >= "3.6" -appdirs==1.4.4; python_version >= "3.6" +appdirs==1.4.4; python_full_version >= "3.6.2" and python_version >= "3.6" appnope==0.1.2; platform_system == "Darwin" and python_version >= "3.6" and sys_platform == "darwin" argon2-cffi==20.1.0; python_version >= "3.6" astunparse==1.6.3 @@ -12,7 +12,7 @@ async-timeout==3.0.1; python_full_version >= "3.5.3" and python_version >= "3.6" attrs==21.2.0; python_version >= "3.6" and python_full_version < "3.0.0" or python_full_version >= "3.5.0" and python_version >= "3.6" backcall==0.2.0; python_version >= "3.6" beautifulsoup4==4.9.3; python_version >= "3.5" -black==20.8b1; python_version >= "3.6" +black==21.5b1; python_full_version >= "3.6.2" bleach==3.3.0; python_version >= "3.6" and python_full_version < "3.0.0" or python_full_version >= "3.5.0" and python_version >= "3.6" bpemb==0.3.3; python_version >= "3.6" bs4==0.0.1 @@ -22,7 +22,7 @@ cachetools==4.2.2; python_version >= "3.5" and python_version < "4.0" and (pytho certifi==2020.12.5; python_version >= "2.7" and python_full_version < "3.0.0" or python_full_version >= "3.5.0" cffi==1.14.5; implementation_name == "pypy" and python_version >= "3.6" chardet==4.0.0; python_version >= "3.6" and python_full_version < "3.0.0" or python_full_version >= "3.5.0" and python_version >= "3.6" -click==8.0.1; python_version >= "3.6" and python_full_version >= "3.6.0" +click==8.0.1; python_full_version >= "3.6.2" and python_version >= "3.6" cloudpickle==1.6.0; python_version >= "3.6" cmdstanpy==0.4.0 colorama==0.4.4; (python_version >= "2.7" and python_full_version < "3.0.0") or (python_full_version >= "3.5.0") @@ -103,7 +103,7 @@ mplfinance==0.12.7a17 msgpack==1.0.2 multidict==5.1.0; python_version >= "3.6" multitasking==0.0.9 -mypy-extensions==0.4.3; python_version >= "3.6" +mypy-extensions==0.4.3; python_full_version >= "3.6.2" and python_version >= "3.6" nbclient==0.5.3; python_full_version >= "3.6.1" and python_version >= "3.6" nbconvert==6.0.7; python_version >= "3.6" nbformat==5.1.3; python_full_version >= "3.6.1" and python_version >= "3.6" @@ -125,7 +125,7 @@ pandas==1.1.5; python_full_version >= "3.6.1" pandocfilters==1.4.3; python_version >= "3.6" and python_full_version < "3.0.0" or python_full_version >= "3.4.0" and python_version >= "3.6" papermill==2.3.3; python_version >= "3.6" parso==0.8.2; python_version >= "3.6" -pathspec==0.8.1; python_version >= "3.6" and python_full_version < "3.0.0" or python_full_version >= "3.5.0" and python_version >= "3.6" +pathspec==0.8.1; python_full_version >= "3.6.2" and python_version >= "3.6" patsy==0.5.1; python_version >= "3.6" pexpect==4.8.0; sys_platform != "win32" and python_version >= "3.6" pickleshare==0.7.5; python_version >= "3.6" @@ -210,15 +210,15 @@ threadpoolctl==2.1.0; python_version >= "3.6" timeseries-cv==0.1.4; python_version >= "3.6" and python_version < "4.0" tokenize-rt==4.1.0; python_full_version >= "3.6.1" tokenizers==0.9.3; python_full_version >= "3.6.0" and python_version >= "3.6" -toml==0.10.2; python_version >= "3.6" and python_full_version < "3.0.0" or python_full_version >= "3.3.0" and python_version >= "3.6" +toml==0.10.2; python_full_version >= "3.6.2" and python_version >= "3.6" torch==1.7.1; python_full_version >= "3.6.2" tornado==6.1; python_full_version >= "3.6.1" and python_version >= "3.6" tqdm==4.61.0; python_full_version >= "3.6.0" and python_version >= "3.6" and (python_version >= "3.6" and python_full_version < "3.0.0" or python_full_version >= "3.4.0" and python_version >= "3.6") tradingview-ta==3.2.3; python_version >= "3.5" traitlets==4.3.3; python_full_version >= "3.6.1" and python_version >= "3.6" transformers==3.5.1; python_full_version >= "3.6.0" -typed-ast==1.4.3; python_version >= "3.6" -typing-extensions==3.7.4.3; python_full_version >= "3.6.2" and python_version >= "3.6" and python_version < "3.8" +typed-ast==1.4.3; python_version < "3.8" and python_full_version >= "3.6.2" and python_version >= "3.6" +typing-extensions==3.7.4.3; python_version < "3.8" and python_full_version >= "3.6.2" and python_version >= "3.6" tzlocal==2.1; python_version >= "3.5" ujson==4.0.2; python_version >= "3.6" update-checker==0.18.0; python_version >= "3.6" and python_version < "4.0"