Saleor Core: the high performance, composable, headless commerce API.
Python cartcheckoutcommercecomposablee-commerceecommercegraphqlheadlessheadless-commercemultichannelomsorder-managementpaymentspimpythonshopshopping-cartstore
Bump black and formatting to new version
Krzysztof Wolskif8ed7294b141
diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yamlindex 72197aaf64..dcbd2e15a9 100644--- a/.pre-commit-config.yaml+++ b/.pre-commit-config.yaml@@ -1,6 +1,6 @@repos:- repo: https://github.com/ambv/black- rev: 19.3b0+ rev: 19.10b0hooks:- id: blacklanguage_version: python3diff --git a/poetry.lock b/poetry.lockindex ee0f895126..a00dc769c1 100644--- a/poetry.lock+++ b/poetry.lock@@ -139,13 +139,16 @@ description = "The uncompromising code formatter."name = "black"optional = falsepython-versions = ">=3.6"-version = "19.3b0"+version = "19.10b0"[package.dependencies]appdirs = "*"attrs = ">=18.1.0"click = ">=6.5"+pathspec = ">=0.6,<1"+regex = "*"toml = ">=0.9.4"+typed-ast = ">=1.4.0"[package.extras]d = ["aiohttp (>=3.3.2)", "aiohttp-cors"]@@ -168,10 +171,10 @@ description = "The AWS SDK for Python"name = "boto3"optional = falsepython-versions = "*"-version = "1.10.8"+version = "1.10.41"[package.dependencies]-botocore = ">=1.13.8,<1.14.0"+botocore = ">=1.13.41,<1.14.0"jmespath = ">=0.7.1,<1.0.0"s3transfer = ">=0.2.0,<0.3.0"@@ -181,7 +184,7 @@ description = "Low-level, data-driven core of boto 3."name = "botocore"optional = falsepython-versions = "*"-version = "1.13.8"+version = "1.13.41"[package.dependencies]docutils = ">=0.10,<0.16"@@ -189,7 +192,7 @@ jmespath = ">=0.7.1,<1.0.0"[package.dependencies.python-dateutil]python = ">=2.7"-version = ">=2.1,<3.0.0"+version = ">=2.1,<2.8.1"[package.dependencies.urllib3]python = ">=3.4"@@ -255,14 +258,14 @@ category = "main"description = "Distributed Task Queue."name = "celery"optional = false-python-versions = ">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*"-version = "4.3.0"+python-versions = ">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*, !=3.4.*,"+version = "4.4.0"[package.dependencies]-billiard = ">=3.6.0,<4.0"-kombu = ">=4.4.0,<5.0"+billiard = ">=3.6.1,<4.0"+kombu = ">=4.6.7,<4.7"pytz = ">0.0-dev"-vine = ">=1.3.0"+vine = "1.3.0"[package.dependencies.redis]optional = true@@ -278,8 +281,8 @@ consul = ["python-consul"]cosmosdbsql = ["pydocumentdb (2.3.2)"]couchbase = ["couchbase", "couchbase-cffi"]couchdb = ["pycouchdb"]-django = ["Django (>=1.8)"]-dynamodb = ["boto3 (>=1.4.6)"]+django = ["Django (>=1.11)"]+dynamodb = ["boto3 (>=1.9.178)"]elasticsearch = ["elasticsearch"]eventlet = ["eventlet (>=0.24.1)"]gevent = ["gevent"]@@ -292,12 +295,12 @@ pymemcache = ["python-memcached"]pyro = ["pyro4"]redis = ["redis (>=3.2.0)"]riak = ["riak (>=2.0)"]-s3 = ["boto3 (>=1.4.6)"]+s3 = ["boto3 (>=1.9.125)"]slmq = ["softlayer-messaging (>=1.0.3)"]solar = ["ephem"]sqlalchemy = ["sqlalchemy"]-sqs = ["boto3 (>=1.4.6)", "pycurl"]-tblib = ["tblib (>=1.3.0)"]+sqs = ["boto3 (>=1.9.125)", "pycurl"]+tblib = ["tblib (>=1.3.0)", "tblib (>=1.5.0)"]yaml = ["PyYAML (>=3.10)"]zookeeper = ["kazoo (>=1.3.1)"]zstd = ["zstandard"]@@ -420,7 +423,7 @@ description = "A high-level Python Web framework that encourages rapid developmename = "django"optional = falsepython-versions = ">=3.5"-version = "2.2.8"+version = "2.2.9"[package.dependencies]pytz = "*"@@ -819,7 +822,7 @@ description = "Google API client core library"name = "google-api-core"optional = falsepython-versions = ">=2.7,!=3.0.*,!=3.1.*,!=3.2.*,!=3.3.*"-version = "1.14.3"+version = "1.15.0"[package.dependencies]google-auth = ">=0.4.0,<2.0dev"@@ -841,7 +844,7 @@ description = "Google Authentication Library"name = "google-auth"optional = falsepython-versions = ">=2.7,!=3.0.*,!=3.1.*,!=3.2.*,!=3.3.*"-version = "1.8.2"+version = "1.9.0"[package.dependencies]cachetools = ">=2.0.0,<3.2"@@ -1317,6 +1320,14 @@ version = "19.2"pyparsing = ">=2.0.2"six = "*"+[[package]]+category = "dev"+description = "Utility library for gitignore style pattern matching of file paths."+name = "pathspec"+optional = false+python-versions = ">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*"+version = "0.6.0"+[[package]]category = "main"description = "Python version of Google's common library for parsing, formatting, storing and validating international phone numbers."@@ -1380,13 +1391,13 @@ description = "Promises/A+ implementation for Python"name = "promise"optional = falsepython-versions = "*"-version = "2.2.1"+version = "2.3"[package.dependencies]six = "*"[package.extras]-test = ["coveralls", "futures", "mock", "pytest (>=2.7.3)", "pytest-benchmark", "pytest-cov"]+test = ["pytest (>=2.7.3)", "pytest-cov", "coveralls", "futures", "pytest-benchmark", "mock"][[package]]category = "main"@@ -1578,7 +1589,7 @@ description = "pytest: simple powerful testing with Python"name = "pytest"optional = falsepython-versions = ">=3.5"-version = "5.3.1"+version = "5.3.2"[package.dependencies]atomicwrites = ">=1.0"@@ -1704,8 +1715,8 @@ category = "main"description = "Extensions to the standard Python datetime module"name = "python-dateutil"optional = false-python-versions = "!=3.0.*,!=3.1.*,!=3.2.*,>=2.7"-version = "2.8.1"+python-versions = ">=2.7, !=3.0.*, !=3.1.*, !=3.2.*"+version = "2.8.0"[package.dependencies]six = ">=1.5"@@ -1765,6 +1776,14 @@ version = "3.3.11"[package.extras]hiredis = ["hiredis (>=0.1.3)"]+[[package]]+category = "dev"+description = "Alternative regular expression module, to replace re."+name = "regex"+optional = false+python-versions = "*"+version = "2019.12.19"+[[package]]category = "main"description = "Python HTTP for Humans."@@ -1900,8 +1919,8 @@ category = "main"description = "Computer algebra system (CAS) in Python"name = "sympy"optional = false-python-versions = "*"-version = "1.4"+python-versions = ">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*, !=3.4.*"+version = "1.5"[package.dependencies]mpmath = ">=0.19"@@ -2035,7 +2054,7 @@ description = "Automatically mock your HTTP interactions to simplify and speed uname = "vcrpy"optional = falsepython-versions = ">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*, !=3.4.*"-version = "2.1.1"+version = "3.0.0"[package.dependencies]PyYAML = "*"@@ -2060,7 +2079,7 @@ description = "Virtual Python Environment builder"name = "virtualenv"optional = falsepython-versions = "!=3.0.*,!=3.1.*,!=3.2.*,!=3.3.*,>=2.7"-version = "16.7.8"+version = "16.7.9"[package.extras]docs = ["sphinx (>=1.8.0,<2)", "towncrier (>=18.5.0)", "sphinx-rtd-theme (>=0.4.2,<1)"]@@ -2126,7 +2145,7 @@ idna = ">=2.0"multidict = ">=4.0"[metadata]-content-hash = "0ef25bbc976160de0224894aa9f914b90dc87bb6ff574145ad36ca9cabf1ba51"+content-hash = "e90f826b544b26ad717155366b3929d578f4f823a0907a84db55ebbb025aee88"python-versions = "~3.8"[metadata.files]@@ -2183,20 +2202,20 @@ billiard = [{file = "billiard-3.6.1.0.tar.gz", hash = "sha256:b8809c74f648dfe69b973c8e660bcec00603758c9db8ba89d7719f88d5f01f26"},]black = [- {file = "black-19.3b0-py36-none-any.whl", hash = "sha256:09a9dcb7c46ed496a9850b76e4e825d6049ecd38b611f1224857a79bd985a8cf"},- {file = "black-19.3b0.tar.gz", hash = "sha256:68950ffd4d9169716bcb8719a56c07a2f4485354fec061cdd5910aa07369731c"},+ {file = "black-19.10b0-py36-none-any.whl", hash = "sha256:1b30e59be925fafc1ee4565e5e08abef6b03fe455102883820fe5ee2e4734e0b"},+ {file = "black-19.10b0.tar.gz", hash = "sha256:c2edb73a08e9e0e6f65a0e6af18b059b8b1cdd5bef997d7a0b181df93dc81539"},]bleach = [{file = "bleach-2.1.4-py2.py3-none-any.whl", hash = "sha256:24754b9a7d530bf30ce7cbc805bc6cce785660b4a10ff3a43633728438c105ab"},{file = "bleach-2.1.4.tar.gz", hash = "sha256:0ee95f6167129859c5dce9b1ca291ebdb5d8cd7e382ca0e237dfd0dad63f63d8"},]boto3 = [- {file = "boto3-1.10.8-py2.py3-none-any.whl", hash = "sha256:16425b461149e57cecf1afef53382f187ed325dddb764b1047aa47f78197d9e2"},- {file = "boto3-1.10.8.tar.gz", hash = "sha256:593f67dcf6417b8c39641236761604cf47134bc27c25ef4d7c3d22da824e2c05"},+ {file = "boto3-1.10.41-py2.py3-none-any.whl", hash = "sha256:5db4db12a017be2a0b07ec662584b7b9e8afa05894c8aaac145576a7c39a9886"},+ {file = "boto3-1.10.41.tar.gz", hash = "sha256:7fb8bf70ff2403991c8ae7bc548333811be6e432c7665721364ea0c858eb824e"},]botocore = [- {file = "botocore-1.13.8-py2.py3-none-any.whl", hash = "sha256:b565ce26203ce94fc94f8056951fedc16e1e0b02d1fbdbf8dca420e1fbe05d81"},- {file = "botocore-1.13.8.tar.gz", hash = "sha256:5cc7e0bfa41eb2789674485fdda62ce44ff5e3fee8accb4e0ef317ebdf1a319a"},+ {file = "botocore-1.13.41-py2.py3-none-any.whl", hash = "sha256:5bfffa38ebba26ab462bb40e858702390fbe3ae2093a2177a8cde050ad6cb7e3"},+ {file = "botocore-1.13.41.tar.gz", hash = "sha256:62ddff63be904781f97ced737836a66f5b72579af788c905cfdab32d2970e15e"},]braintree = [{file = "braintree-3.49.0-py2.py3-none-any.whl", hash = "sha256:7cdd715a5a61339e4e5dcb5611cf80512d5fdb0e4da69307a64141d3597357f7"},@@ -2214,8 +2233,8 @@ cairosvg = [{file = "CairoSVG-2.4.2.tar.gz", hash = "sha256:4e668f96653326780036ebb0a9ff2bb59a8443d7bcfc51a14aab77b57a8e67ad"},]celery = [- {file = "celery-4.3.0-py2.py3-none-any.whl", hash = "sha256:528e56767ae7e43a16cfef24ee1062491f5754368d38fcfffa861cdb9ef219be"},- {file = "celery-4.3.0.tar.gz", hash = "sha256:4c4532aa683f170f40bd76f928b70bc06ff171a959e06e71bf35f2f9d6031ef9"},+ {file = "celery-4.4.0-py2.py3-none-any.whl", hash = "sha256:7c544f37a84a5eadc44cab1aa8c9580dff94636bb81978cdf9bf8012d9ea7d8f"},+ {file = "celery-4.4.0.tar.gz", hash = "sha256:d3363bb5df72d74420986a435449f3c3979285941dff57d5d97ecba352a0e3e2"},]certifi = [{file = "certifi-2019.11.28-py2.py3-none-any.whl", hash = "sha256:017c25db2a153ce562900032d5bc68e9f191e44e9a0f762f373977de9df1fbb3"},@@ -2327,8 +2346,8 @@ dj-email-url = [{file = "dj_email_url-0.2.0-py2.py3-none-any.whl", hash = "sha256:136ac43c7f29022130fc4769b4ca8b01cd1c39fedf1659c641c143808182a084"},]django = [- {file = "Django-2.2.8-py3-none-any.whl", hash = "sha256:fa98ec9cc9bf5d72a08ebf3654a9452e761fbb8566e3f80de199cbc15477e891"},- {file = "Django-2.2.8.tar.gz", hash = "sha256:a4ad4f6f9c6a4b7af7e2deec8d0cbff28501852e5010d6c2dc695d3d1fae7ca0"},+ {file = "Django-2.2.9-py3-none-any.whl", hash = "sha256:687c37153486cf26c3fdcbdd177ef16de38dc3463f094b5f9c9955d91f277b14"},+ {file = "Django-2.2.9.tar.gz", hash = "sha256:662a1ff78792e3fd77f16f71b1f31149489434de4b62a74895bd5d6534e635a5"},]django-appconf = [{file = "django-appconf-1.0.3.tar.gz", hash = "sha256:35f13ca4d567f132b960e2cd4c832c2d03cb6543452d34e29b7ba10371ba80e3"},@@ -2442,12 +2461,12 @@ freezegun = [{file = "freezegun-0.3.12.tar.gz", hash = "sha256:2a4d9c8cd3c04a201e20c313caf8b6338f1cfa4cda43f46a94cc4a9fd13ea5e7"},]google-api-core = [- {file = "google-api-core-1.14.3.tar.gz", hash = "sha256:df8adc4b97f5ab4328a0e745bee77877cf4a7d4601cb1cd5959d2bbf8fba57aa"},- {file = "google_api_core-1.14.3-py2.py3-none-any.whl", hash = "sha256:b95895a9398026bc0500cf9b4a3f82c3f72c3f9150b26ff53af40c74e91c264a"},+ {file = "google-api-core-1.15.0.tar.gz", hash = "sha256:2d661c8d650a1df5805d0e360121cb55c55d8bd29f858fa62cbe943e59ce89f7"},+ {file = "google_api_core-1.15.0-py2.py3-none-any.whl", hash = "sha256:9006e1641599345056cc690a934e1262107c78d969d72cf96412f6db5d32147f"},]google-auth = [- {file = "google-auth-1.8.2.tar.gz", hash = "sha256:bf45ce767ac45704372a6d3677b4a036594a935f4e460e58c7accc3c36925f06"},- {file = "google_auth-1.8.2-py2.py3-none-any.whl", hash = "sha256:bdf3af2b19368fc50ed0542b891bf64c2e92d8f207d92064a6cf1e1a1014d761"},+ {file = "google-auth-1.9.0.tar.gz", hash = "sha256:038a921618620491502eeb4ed5b7af6a8ee2a7950918a5b3e0d718e841aff4da"},+ {file = "google_auth-1.9.0-py2.py3-none-any.whl", hash = "sha256:a977375be9f9c46cd20ffb90f0532a27fa0e171eb47373de270b6028005b8e8b"},]google-cloud-core = [{file = "google-cloud-core-1.1.0.tar.gz", hash = "sha256:49036087c1170c3fad026e45189f17092b8c584a9accb2d73d1854f494e223ae"},@@ -2686,6 +2705,9 @@ packaging = [{file = "packaging-19.2-py2.py3-none-any.whl", hash = "sha256:d9551545c6d761f3def1677baf08ab2a3ca17c56879e70fecba2fc4dde4ed108"},{file = "packaging-19.2.tar.gz", hash = "sha256:28b924174df7a2fa32c1953825ff29c61e2f5e082343165438812f00d3a7fc47"},]+pathspec = [+ {file = "pathspec-0.6.0.tar.gz", hash = "sha256:e285ccc8b0785beadd4c18e5708b12bb8fcf529a1e61215b3feff1d1e559ea5c"},+]phonenumberslite = [{file = "phonenumberslite-8.11.1-py2.py3-none-any.whl", hash = "sha256:9590121b80353d72fb7420d2530fd3fc79f6c61d56a13e0b4d41459ec2a9e62e"},{file = "phonenumberslite-8.11.1.tar.gz", hash = "sha256:1444f6260491075dba575bc2a8f5f8a72f5e50ad96160e9fadaecd747e83d3bf"},@@ -2734,8 +2756,7 @@ prices = [{file = "prices-1.0.0.tar.gz", hash = "sha256:1e920a2f3b8d610985e7effcecd2b9ccfe58798c4c9641f76f6b5eb4a4bcd91b"},]promise = [- {file = "promise-2.2.1-py2-none-any.whl", hash = "sha256:2ebbfc10b7abf6354403ed785fe4f04b9dfd421eb1a474ac8d187022228332af"},- {file = "promise-2.2.1.tar.gz", hash = "sha256:348f5f6c3edd4fd47c9cd65aed03ac1b31136d375aa63871a57d3e444c85655c"},+ {file = "promise-2.3.tar.gz", hash = "sha256:dfd18337c523ba4b6a58801c164c1904a9d4d1b1747c7d5dbf45b693a49d93d0"},]protobuf = [{file = "protobuf-3.11.1-cp27-cp27m-macosx_10_9_intel.whl", hash = "sha256:34a7270940f86da7a28be466ac541c89b6dbf144a6348b9cf7ac6f56b71006ce"},@@ -2875,8 +2896,8 @@ pyphen = [{file = "Pyphen-0.9.5.tar.gz", hash = "sha256:3b633a50873156d777e1f1075ba4d8e96a6ad0a3ca42aa3ea9a6259f93f18921"},]pytest = [- {file = "pytest-5.3.1-py3-none-any.whl", hash = "sha256:63344a2e3bce2e4d522fd62b4fdebb647c019f1f9e4ca075debbd13219db4418"},- {file = "pytest-5.3.1.tar.gz", hash = "sha256:f67403f33b2b1d25a6756184077394167fe5e2f9d8bdaab30707d19ccec35427"},+ {file = "pytest-5.3.2-py3-none-any.whl", hash = "sha256:e41d489ff43948babd0fad7ad5e49b8735d5d55e26628a58673c39ff61d95de4"},+ {file = "pytest-5.3.2.tar.gz", hash = "sha256:6b571215b5a790f9b41f19f3531c53a45cf6bb8ef2988bc1ff9afb38270b25fa"},]pytest-cov = [{file = "pytest-cov-2.8.1.tar.gz", hash = "sha256:cc6742d8bac45070217169f5f72ceee1e0e55b0221f54bcf24845972d3a47f2b"},@@ -2906,8 +2927,8 @@ pytest-xdist = [{file = "pytest_xdist-1.30.0-py2.py3-none-any.whl", hash = "sha256:a8569b027db70112b290911ce2ed732121876632fb3f40b1d39cd2f72f58b147"},]python-dateutil = [- {file = "python-dateutil-2.8.1.tar.gz", hash = "sha256:73ebfe9dbf22e832286dafa60473e4cd239f8592f699aa5adaf10050e6e1823c"},- {file = "python_dateutil-2.8.1-py2.py3-none-any.whl", hash = "sha256:75bb3f31ea686f1197762692a9ee6a7550b59fc6ca3a1f4b5d7e32fb98e2da2a"},+ {file = "python-dateutil-2.8.0.tar.gz", hash = "sha256:c89805f6f4d64db21ed966fda138f8a5ed7a4fdbc1a8ee329ce1b74e3c74da9e"},+ {file = "python_dateutil-2.8.0-py2.py3-none-any.whl", hash = "sha256:7e6584c74aeed623791615e26efd690f29817a27c73085b78e4bad02493df2fb"},]python-magic = [{file = "python-magic-0.4.15.tar.gz", hash = "sha256:f3765c0f582d2dfc72c15f3b5a82aecfae9498bd29ca840d72f37d7bd38bfcd5"},@@ -2943,6 +2964,29 @@ redis = [{file = "redis-3.3.11-py2.py3-none-any.whl", hash = "sha256:3613daad9ce5951e426f460deddd5caf469e08a3af633e9578fc77d362becf62"},{file = "redis-3.3.11.tar.gz", hash = "sha256:8d0fc278d3f5e1249967cba2eb4a5632d19e45ce5c09442b8422d15ee2c22cc2"},]+regex = [+ {file = "regex-2019.12.19-cp27-cp27m-win32.whl", hash = "sha256:ba449b56fa419fb19bf2a2438adbd2433f27087a6fe115917eaf9cfca684d5b6"},+ {file = "regex-2019.12.19-cp27-cp27m-win_amd64.whl", hash = "sha256:4eeb0fe936797ae00a085f99802642bfc722b3b4ea557e9e7849cb621ea10c91"},+ {file = "regex-2019.12.19-cp36-cp36m-manylinux1_i686.whl", hash = "sha256:47298bc8b89d1c747f0f5974aa528fc0b6b17396f1694136a224d51461279d83"},+ {file = "regex-2019.12.19-cp36-cp36m-manylinux1_x86_64.whl", hash = "sha256:7c5e2efcf079c35ff266c3f3a6708834f88f9fd04a3c16b855e036b2b7b1b543"},+ {file = "regex-2019.12.19-cp36-cp36m-manylinux2010_i686.whl", hash = "sha256:16709434c4e2332ee8ba26ae339aceb8ab0b24b8398ebd0f52ebc943f45c4fc2"},+ {file = "regex-2019.12.19-cp36-cp36m-manylinux2010_x86_64.whl", hash = "sha256:d51311496061863caae2cfe120cf1ef37900019b86c89c2d75f0918e0b4b8bf3"},+ {file = "regex-2019.12.19-cp36-cp36m-win32.whl", hash = "sha256:2404a50fb48badaf214b700f08822b68d93d79200e0aefd9569d0332d21fbfcb"},+ {file = "regex-2019.12.19-cp36-cp36m-win_amd64.whl", hash = "sha256:999a885f7f5194464238ad5d74b05982acee54002f3aa775d8e0e8c5fb74c06c"},+ {file = "regex-2019.12.19-cp37-cp37m-manylinux1_i686.whl", hash = "sha256:223fb63ec8dcab20b3318e93dcec4aee89e98b062934090bf29ffc374d2000a2"},+ {file = "regex-2019.12.19-cp37-cp37m-manylinux1_x86_64.whl", hash = "sha256:d3f632cefad2cf247bd845794002585e3772288bfcb0dbac59fdecd32cd38b67"},+ {file = "regex-2019.12.19-cp37-cp37m-manylinux2010_i686.whl", hash = "sha256:a2e1e53df7dd27943da2b512895125b33fb20f81862c9fed7b3bab2a1de684d1"},+ {file = "regex-2019.12.19-cp37-cp37m-manylinux2010_x86_64.whl", hash = "sha256:ab43bc0836820b7900dfffc025b996784aec26ec87dc1df4f95a40398760223f"},+ {file = "regex-2019.12.19-cp37-cp37m-win32.whl", hash = "sha256:23c3ebf05d1cd3adb26723fd598e75724e0cdb7d6a35185ac0caf061cc6edb49"},+ {file = "regex-2019.12.19-cp37-cp37m-win_amd64.whl", hash = "sha256:37e018d3746baf159aedfc9773c3cafacbd10d354ba15484f5cfc8ed9da5748b"},+ {file = "regex-2019.12.19-cp38-cp38-manylinux1_i686.whl", hash = "sha256:0472acc4b6319801c1bc681d838c88ba1446f9ae199e01f6e41091c701fb3d42"},+ {file = "regex-2019.12.19-cp38-cp38-manylinux1_x86_64.whl", hash = "sha256:2af3a7a16fed6eff85c25da106effa36f61cbbe801d00ade349b53ce7619eb15"},+ {file = "regex-2019.12.19-cp38-cp38-manylinux2010_i686.whl", hash = "sha256:3c9c2988d02a9238a1975c70e87c6ce94e6f36dd8e372b66f468990cfe077434"},+ {file = "regex-2019.12.19-cp38-cp38-manylinux2010_x86_64.whl", hash = "sha256:9fd2f4813eaa3e421e82819d38e5b634d900faff7ae5a80cd89ccff407175e69"},+ {file = "regex-2019.12.19-cp38-cp38-win32.whl", hash = "sha256:7ac08cee5055f548eed3889e9aaef15fd00172d037949496f1f0b34acb8a7c3e"},+ {file = "regex-2019.12.19-cp38-cp38-win_amd64.whl", hash = "sha256:6881be0218b47ed76db033f252bab3f912dfe7ed1fe7baa9daebf51de08546a0"},+ {file = "regex-2019.12.19.tar.gz", hash = "sha256:8355eaa64724a0fdb010a1654b77cb3e375dc08b7f592cc4a1c05ac606aa481c"},+]requests = [{file = "requests-2.22.0-py2.py3-none-any.whl", hash = "sha256:9cf5292fcd0f598c671cfc1e0d7d1a7f13bb8085e9a590f48c010551dc6c4b31"},{file = "requests-2.22.0.tar.gz", hash = "sha256:11e007a8a2aa0323f5a921e9e6a2d7e4e67d9877e85773fba9ba6419025cbeb4"},@@ -2988,8 +3032,8 @@ stripe = [{file = "stripe-2.41.0.tar.gz", hash = "sha256:2f0ec677136985ece9cca232f106c2a87193261cac1fe58d4e959215310a0da8"},]sympy = [- {file = "sympy-1.4-py2.py3-none-any.whl", hash = "sha256:f9b00ec76151c98470e84f1da2d7d03633180b71fb318428ddccce1c867d3eaa"},- {file = "sympy-1.4.tar.gz", hash = "sha256:71a11e5686ae7ab6cb8feb5bd2651ef4482f8fd43a7c27e645a165e4353b23e1"},+ {file = "sympy-1.5-py2.py3-none-any.whl", hash = "sha256:8ae4a95378304ed4081921767fe46f0adf5921bf471c9f5df425abf2c655d751"},+ {file = "sympy-1.5.tar.gz", hash = "sha256:31567dc010bff0967ef7a87210acf3f938c6ab24481581fc143536fb103e9ce8"},]text-unidecode = [{file = "text-unidecode-1.3.tar.gz", hash = "sha256:bad6603bb14d279193107714b288be206cac565dfa49aa5b105294dd5c4aab93"},@@ -3056,16 +3100,16 @@ uwsgi = [{file = "uwsgi-2.0.18.tar.gz", hash = "sha256:4972ac538800fb2d421027f49b4a1869b66048839507ccf0aa2fda792d99f583"},]vcrpy = [- {file = "vcrpy-2.1.1-py2.py3-none-any.whl", hash = "sha256:3203170a13fe26407183768fab48af10086fa22d487b3887859c89fd47e69935"},- {file = "vcrpy-2.1.1.tar.gz", hash = "sha256:27cc696df66d77703eab5cdfa041b2f9877bbf2b54bcd390de89a4be964ca536"},+ {file = "vcrpy-3.0.0-py2.py3-none-any.whl", hash = "sha256:a2e6b653a627f9f3d6ded4d68587e470b91e4c1444e7dae939510dfeacb65276"},+ {file = "vcrpy-3.0.0.tar.gz", hash = "sha256:21168d5ae14263a833d4b71acfd8278d8841114f24be1b4ab4a5719d0c7f07bc"},]vine = [{file = "vine-1.3.0-py2.py3-none-any.whl", hash = "sha256:ea4947cc56d1fd6f2095c8d543ee25dad966f78692528e68b4fada11ba3f98af"},{file = "vine-1.3.0.tar.gz", hash = "sha256:133ee6d7a9016f177ddeaf191c1f58421a1dcc6ee9a42c58b34bed40e1d2cd87"},]virtualenv = [- {file = "virtualenv-16.7.8-py2.py3-none-any.whl", hash = "sha256:b57776b44f91511866594e477dd10e76a6eb44439cdd7f06dcd30ba4c5bd854f"},- {file = "virtualenv-16.7.8.tar.gz", hash = "sha256:116655188441670978117d0ebb6451eb6a7526f9ae0796cc0dee6bd7356909b0"},+ {file = "virtualenv-16.7.9-py2.py3-none-any.whl", hash = "sha256:55059a7a676e4e19498f1aad09b8313a38fcc0cdbe4fdddc0e9b06946d21b4bb"},+ {file = "virtualenv-16.7.9.tar.gz", hash = "sha256:0d62c70883c0342d59c11d0ddac0d954d0431321a41ab20851facf2b222598f3"},]wcwidth = [{file = "wcwidth-0.1.7-py2.py3-none-any.whl", hash = "sha256:f4ebe71925af7b40a864553f761ed559b43544f8f71746c2d756c7fe788ade7c"},diff --git a/pyproject.toml b/pyproject.tomlindex 06f0c9ca91..16ad4b0be1 100644--- a/pyproject.toml+++ b/pyproject.toml@@ -64,7 +64,7 @@ weasyprint = ">=48"oauthlib = "^3.0"[tool.poetry.dev-dependencies]-black = "19.3b0"+black = "19.10b0"codecov = "^2.0.15"coverage = "^4.5.4"django-debug-toolbar = "^2.0"diff --git a/saleor/graphql/checkout/mutations.py b/saleor/graphql/checkout/mutations.pyindex 664018f1ef..7c10d10b68 100644--- a/saleor/graphql/checkout/mutations.py+++ b/saleor/graphql/checkout/mutations.py@@ -224,9 +224,10 @@ class CheckoutCreate(ModelMutation, I18nMixin):# Resolve and process the lines, retrieving the variants and quantitieslines = data.pop("lines", None)if lines:- cleaned_input["variants"], cleaned_input[- "quantities"- ] = cls.process_checkout_lines(lines)+ (+ cleaned_input["variants"],+ cleaned_input["quantities"],+ ) = cls.process_checkout_lines(lines)cleaned_input["shipping_address"] = cls.retrieve_shipping_address(user, data)cleaned_input["billing_address"] = cls.retrieve_billing_address(user, data)diff --git a/saleor/product/utils/availability.py b/saleor/product/utils/availability.pyindex 35bc435f9e..8bcaafe111 100644--- a/saleor/product/utils/availability.py+++ b/saleor/product/utils/availability.py@@ -63,7 +63,7 @@ def get_product_availability_status(product: "Product") -> ProductAvailabilityStdef get_variant_availability_status(- variant: ProductVariant+ variant: ProductVariant,) -> VariantAvailabilityStatus:if not variant.is_in_stock():return VariantAvailabilityStatus.OUT_OF_STOCKdiff --git a/saleor/product/utils/costs.py b/saleor/product/utils/costs.pyindex 0c79d8e177..b9f4fa2d34 100644--- a/saleor/product/utils/costs.py+++ b/saleor/product/utils/costs.py@@ -21,7 +21,7 @@ class CostsData:def get_product_costs_data(- product: "Product"+ product: "Product",) -> Tuple[MoneyRange, Tuple[float, float]]:purchase_costs_range = MoneyRange(start=zero_money(), stop=zero_money())diff --git a/tests/api/test_webhook.py b/tests/api/test_webhook.pyindex 382f5fe1ef..52a1391e11 100644--- a/tests/api/test_webhook.py+++ b/tests/api/test_webhook.py@@ -484,7 +484,7 @@ def test_query_webhooks_with_sort(def test_query_webhooks_by_service_account_without_permissions(- service_account_api_client+ service_account_api_client,):second_sa = ServiceAccount.objects.create(name="Sample service account", is_active=True@@ -557,7 +557,7 @@ def test_query_webhook_by_service_account(service_account_api_client, webhook):def test_query_webhook_by_service_account_without_permission(- service_account_api_client+ service_account_api_client,):second_sa = ServiceAccount.objects.create(name="Sample service account", is_active=Truediff --git a/tests/extensions/plugins/test_plugins.py b/tests/extensions/plugins/test_plugins.pyindex 7a676feb58..7b78f6f246 100644--- a/tests/extensions/plugins/test_plugins.py+++ b/tests/extensions/plugins/test_plugins.py@@ -36,7 +36,7 @@ def test_update_config_items_convert_to_bool_value():def test_base_plugin__update_configuration_structure_configuration_has_not_change(- plugin_configuration+ plugin_configuration,):plugin = PluginSample()old_configuration = plugin_configuration.configuration.copy()diff --git a/tests/test_order_actions.py b/tests/test_order_actions.pyindex 38a8ab9e7a..3c375642c2 100644--- a/tests/test_order_actions.py+++ b/tests/test_order_actions.py@@ -62,9 +62,12 @@ def test_handle_fully_paid_order_digital_lines(fulfillment = order.fulfillments.first()- event_order_paid, event_email_sent, event_order_fulfilled, event_digital_links = (- order.events.all()- )+ (+ event_order_paid,+ event_email_sent,+ event_order_fulfilled,+ event_digital_links,+ ) = order.events.all()assert event_order_paid.type == OrderEvents.ORDER_FULLY_PAIDassert event_email_sent.type == OrderEvents.EMAIL_SENTdiff --git a/tests/test_product_availability.py b/tests/test_product_availability.pyindex 2c18fab38b..2fa9f1d64b 100644--- a/tests/test_product_availability.py+++ b/tests/test_product_availability.py@@ -86,7 +86,7 @@ def test_variant_availability_status(variant, stock, expected_status):def test_variant_is_still_available_when_another_variant_is_unavailable(- product_variant_list+ product_variant_list,):"""Ensure a variant is not incorrectly flagged as out of stock when another variantdiff --git a/tests/test_wishlist.py b/tests/test_wishlist.pyindex 3319802f1c..8a6b280416 100644--- a/tests/test_wishlist.py+++ b/tests/test_wishlist.py@@ -15,7 +15,7 @@ def test_remove_only_variant_also_removes_wishlist_item(customer_wishlist_item):def test_remove_single_variant_from_wishlist_item(- customer_wishlist_item_with_two_variants+ customer_wishlist_item_with_two_variants,):assert customer_wishlist_item_with_two_variants.variants.count() == 2[variant_1, variant_2] = customer_wishlist_item_with_two_variants.variants.all()