From 97398eb017f7391a952c07b438a63b78ddd264b3 Mon Sep 17 00:00:00 2001 From: Marquis Kurt Date: Wed, 15 Apr 2020 21:29:08 -0400 Subject: [PATCH] [fira] Add typing requisite --- poetry.lock | 27 ++++++++++++++++++++------- pyproject.toml | 3 ++- 2 files changed, 22 insertions(+), 8 deletions(-) diff --git a/poetry.lock b/poetry.lock index 906e4a4..be87b43 100644 --- a/poetry.lock +++ b/poetry.lock @@ -52,7 +52,7 @@ version = "0.4.3" [[package]] category = "dev" description = "Updated configparser from Python 3.7 for Python 2.6+." -marker = "python_version >= \"2.7\" and python_version < \"3.0\" and (python_version >= \"2.7\" and python_version < \"3.0\" or python_version > \"3.5\" and python_version < \"3.8\") or python_version >= \"2.7\" and python_version < \"3.0\"" +marker = "python_version >= \"2.7\" and python_version < \"3.0\"" name = "configparser" optional = false python-versions = ">=2.6" @@ -65,7 +65,7 @@ testing = ["pytest (>=3.5,<3.7.3 || >3.7.3)", "pytest-checkdocs (>=1.2)", "pytes [[package]] category = "dev" description = "Backports and enhancements for the contextlib module" -marker = "python_version >= \"2.7\" and python_version < \"3.0\" and (python_version >= \"2.7\" and python_version < \"3.0\" or python_version > \"3.5\" and python_version < \"3.8\") or python_version >= \"2.7\" and python_version < \"3.0\"" +marker = "python_version >= \"2.7\" and python_version < \"3.0\"" name = "contextlib2" optional = false python-versions = ">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*" @@ -178,7 +178,7 @@ six = "*" [[package]] category = "dev" description = "Object-oriented filesystem paths" -marker = "python_version >= \"2.7\" and python_version < \"3.0\" and (python_version >= \"2.7\" and python_version < \"3.0\" or python_version > \"3.5\" and python_version < \"3.8\") or python_version >= \"2.7\" and python_version < \"3.0\"" +marker = "python_version >= \"2.7\" and python_version < \"3.0\"" name = "pathlib2" optional = false python-versions = "*" @@ -312,7 +312,7 @@ testing = ["argcomplete", "hypothesis (>=3.56)", "mock", "nose", "requests", "xm [[package]] category = "dev" description = "scandir, a better directory iterator and faster os.walk()" -marker = "python_version >= \"2.7\" and python_version < \"3.0\" and (python_version >= \"2.7\" and python_version < \"3.0\" or python_version > \"3.5\" and python_version < \"3.8\") and (python_version >= \"2.7\" and python_version < \"3.0\" and (python_version >= \"2.7\" and python_version < \"3.0\" or python_version > \"3.5\" and python_version < \"3.8\") or python_version >= \"2.7\" and python_version < \"3.0\") or python_version >= \"2.7\" and python_version < \"3.0\" and (python_version >= \"2.7\" and python_version < \"3.0\" or python_version > \"3.5\" and python_version < \"3.8\") or python_version >= \"2.7\" and python_version < \"3.0\" or python_version >= \"2.7\" and python_version < \"3.0\" and (python_version >= \"2.7\" and python_version < \"3.0\" and (python_version >= \"2.7\" and python_version < \"3.0\" or python_version > \"3.5\" and python_version < \"3.8\") or python_version >= \"2.7\" and python_version < \"3.0\")" +marker = "python_version >= \"2.7\" and python_version < \"3.0\" and (python_version >= \"2.7\" and python_version < \"3.0\" or python_version > \"3.5\" and python_version < \"3.8\") or python_version >= \"2.7\" and python_version < \"3.0\"" name = "scandir" optional = false python-versions = "*" @@ -321,7 +321,7 @@ version = "1.10.0" [[package]] category = "dev" description = "Python 2 and 3 compatibility utilities" -marker = "python_version >= \"2.7\" and python_version < \"3.0\" or python_version >= \"2.7\" and python_version < \"3.0\" and (python_version >= \"2.7\" and python_version < \"3.0\" or python_version > \"3.5\" and python_version < \"3.8\") and (python_version >= \"2.7\" and python_version < \"3.0\" and (python_version >= \"2.7\" and python_version < \"3.0\" or python_version > \"3.5\" and python_version < \"3.8\") or python_version >= \"2.7\" and python_version < \"3.0\") or python_version >= \"2.7\" and python_version < \"3.0\" and (python_version >= \"2.7\" and python_version < \"3.0\" or python_version > \"3.5\" and python_version < \"3.8\") or python_version >= \"2.7\" and python_version < \"3.0\" and (python_version >= \"2.7\" and python_version < \"3.0\" and (python_version >= \"2.7\" and python_version < \"3.0\" or python_version > \"3.5\" and python_version < \"3.8\") or python_version >= \"2.7\" and python_version < \"3.0\") or python_version >= \"2.7\" and python_version <= \"2.7\" or python_version > \"3.5\"" +marker = "python_version >= \"2.7\" and python_version < \"3.0\" or python_version >= \"2.7\" and python_version < \"3.0\" and (python_version >= \"2.7\" and python_version < \"3.0\" or python_version > \"3.5\" and python_version < \"3.8\") or python_version >= \"2.7\" and python_version <= \"2.7\" or python_version > \"3.5\"" name = "six" optional = false python-versions = ">=2.7, !=3.0.*, !=3.1.*, !=3.2.*" @@ -344,6 +344,14 @@ optional = false python-versions = "*" version = "1.4.1" +[[package]] +category = "main" +description = "Type Hints for Python" +name = "typing" +optional = false +python-versions = "*" +version = "3.7.4.1" + [[package]] category = "dev" description = "Measures number of Terminal column cells of wide-character codes" @@ -365,7 +373,7 @@ version = "1.11.2" [[package]] category = "dev" description = "Backport of pathlib-compatible object wrapper for zip files" -marker = "python_version >= \"2.7\" and python_version < \"3.0\" and (python_version >= \"2.7\" and python_version < \"3.0\" or python_version > \"3.5\" and python_version < \"3.8\") or python_version >= \"2.7\" and python_version < \"3.0\"" +marker = "python_version >= \"2.7\" and python_version < \"3.0\"" name = "zipp" optional = false python-versions = ">=2.7" @@ -394,7 +402,7 @@ docs = ["sphinx", "jaraco.packaging (>=3.2)", "rst.linker (>=1.9)"] testing = ["jaraco.itertools", "func-timeout"] [metadata] -content-hash = "6c823397345e8b4f308e9ebbddf2f4494c63295268332efa094f56e8693e8543" +content-hash = "0f756b2025f6c1f7592f8b17cefc0231744680fd7c4bd2bebf5c6169fd393a86" python-versions = ">= 3.7 || ~2.7.16" [metadata.files] @@ -543,6 +551,11 @@ typed-ast = [ {file = "typed_ast-1.4.1-cp39-cp39-macosx_10_15_x86_64.whl", hash = "sha256:d43943ef777f9a1c42bf4e552ba23ac77a6351de620aa9acf64ad54933ad4d34"}, {file = "typed_ast-1.4.1.tar.gz", hash = "sha256:8c8aaad94455178e3187ab22c8b01a3837f8ee50e09cf31f1ba129eb293ec30b"}, ] +typing = [ + {file = "typing-3.7.4.1-py2-none-any.whl", hash = "sha256:c8cabb5ab8945cd2f54917be357d134db9cc1eb039e59d1606dc1e60cb1d9d36"}, + {file = "typing-3.7.4.1-py3-none-any.whl", hash = "sha256:f38d83c5a7a7086543a0f649564d661859c5146a85775ab90c0d2f93ffaa9714"}, + {file = "typing-3.7.4.1.tar.gz", hash = "sha256:91dfe6f3f706ee8cc32d38edbbf304e9b7583fb37108fef38229617f8b3eba23"}, +] wcwidth = [ {file = "wcwidth-0.1.9-py2.py3-none-any.whl", hash = "sha256:cafe2186b3c009a04067022ce1dcd79cb38d8d65ee4f4791b8888d6599d1bbe1"}, {file = "wcwidth-0.1.9.tar.gz", hash = "sha256:ee73862862a156bf77ff92b09034fc4825dd3af9cf81bc5b360668d425f3c5f1"}, diff --git a/pyproject.toml b/pyproject.toml index fad37dd..2fa2748 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [tool.poetry] name = "uvn-fira" -version = "1.2.9" +version = "1.2.10" description = "The backend and API code for the Unscripted mini-game." authors = ["Marquis Kurt "] license = "MPL-2.0" @@ -11,6 +11,7 @@ documentation = "https://fira.marquiskurt.net" [tool.poetry.dependencies] python = ">= 3.7 || ~2.7.16" toml = "^0.10.0" +typing = "^3.7.4" [tool.poetry.dev-dependencies] pylint = [{ version="^2.4.4", python=">=3.7" }]