diff --git a/poetry.lock b/poetry.lock index 576e9c0..78e3a21 100644 --- a/poetry.lock +++ b/poetry.lock @@ -471,6 +471,21 @@ category = "dev" optional = false python-versions = "*" +[[package]] +name = "flake8-bugbear" +version = "21.4.3" +description = "A plugin for flake8 finding likely bugs and design problems in your program. Contains warnings that don't belong in pyflakes and pycodestyle." +category = "dev" +optional = false +python-versions = ">=3.6" + +[package.dependencies] +attrs = ">=19.2.0" +flake8 = ">=3.0.0" + +[package.extras] +dev = ["coverage", "black", "hypothesis", "hypothesmith"] + [[package]] name = "flake8-cognitive-complexity" version = "0.1.0" @@ -692,14 +707,14 @@ flake8 = "*" [[package]] name = "flake8-pytest-style" -version = "1.4.1" +version = "1.4.2" description = "A flake8 plugin checking common style issues or inconsistencies with pytest-based tests." category = "dev" optional = false python-versions = ">=3.6,<4.0" [package.dependencies] -flake8-plugin-utils = ">=1.3.1,<2.0.0" +flake8-plugin-utils = ">=1.3.2,<2.0.0" [[package]] name = "flake8-rst" @@ -712,6 +727,19 @@ python-versions = "*" [package.dependencies] flake8 = ">=3.5.0" +[[package]] +name = "flake8-rst-docstrings" +version = "0.2.3" +description = "Python docstring reStructuredText (RST) validator" +category = "dev" +optional = false +python-versions = ">=3.3" + +[package.dependencies] +flake8 = ">=3.0.0" +pygments = "*" +restructuredtext-lint = "*" + [[package]] name = "flake8-strict" version = "0.2.1" @@ -814,7 +842,7 @@ gitdb = ">=4.0.1,<5" [[package]] name = "identify" -version = "2.2.4" +version = "2.2.5" description = "File identification library for Python" category = "dev" optional = false @@ -924,19 +952,6 @@ widgetsnbextension = ">=3.5.0,<3.6.0" [package.extras] test = ["pytest (>=3.6.0)", "pytest-cov", "mock"] -[[package]] -name = "isort" -version = "5.8.0" -description = "A Python utility / library to sort Python imports." -category = "dev" -optional = false -python-versions = ">=3.6,<4.0" - -[package.extras] -pipfile_deprecated_finder = ["pipreqs", "requirementslib"] -requirements_deprecated_finder = ["pipreqs", "pip-api"] -colors = ["colorama (>=0.4.3,<0.5.0)"] - [[package]] name = "jedi" version = "0.18.0" @@ -1378,7 +1393,7 @@ dev = ["pre-commit", "tox"] [[package]] name = "pre-commit" -version = "2.12.1" +version = "2.13.0" description = "A framework for managing and maintaining multi-language pre-commit hooks." category = "dev" optional = false @@ -1662,6 +1677,17 @@ urllib3 = ">=1.21.1,<1.27" security = ["pyOpenSSL (>=0.14)", "cryptography (>=1.3.4)"] socks = ["PySocks (>=1.5.6,!=1.5.7)", "win-inet-pton"] +[[package]] +name = "restructuredtext-lint" +version = "1.3.2" +description = "reStructuredText linter" +category = "dev" +optional = false +python-versions = "*" + +[package.dependencies] +docutils = ">=0.11,<1.0" + [[package]] name = "rstcheck" version = "3.3.1" @@ -1775,13 +1801,14 @@ test = ["pytest", "pytest-cov", "html5lib", "cython", "typed-ast"] [[package]] name = "sphinx-autobuild" -version = "2020.9.1" +version = "2021.3.14" description = "Rebuild Sphinx documentation on changes, with live-reload in the browser." category = "dev" optional = false python-versions = ">=3.6" [package.dependencies] +colorama = "*" livereload = "*" sphinx = "*" @@ -1842,11 +1869,11 @@ test = ["pytest"] [[package]] name = "sphinxcontrib-htmlhelp" -version = "1.0.3" +version = "2.0.0" description = "sphinxcontrib-htmlhelp is a sphinx extension which renders HTML help files" category = "dev" optional = false -python-versions = ">=3.5" +python-versions = ">=3.6" [package.extras] lint = ["flake8", "mypy", "docutils-stubs"] @@ -1877,7 +1904,7 @@ test = ["pytest"] [[package]] name = "sphinxcontrib-serializinghtml" -version = "1.1.4" +version = "1.1.5" description = "sphinxcontrib-serializinghtml is a sphinx extension which outputs \"serialized\" HTML files (json and pickle)." category = "dev" optional = false @@ -2132,7 +2159,7 @@ pyyaml = "*" [metadata] lock-version = "1.1" python-versions = "^3.9" -content-hash = "7beb742fac3fc4f3fdfde7fff41144de2a933992f462eea20c10715d174ad06c" +content-hash = "61eddebfee1e96eb7e1eab1964b3e10a9429012a56e865cf06853476d98881d8" [metadata.files] aioreactive = [ @@ -2425,6 +2452,10 @@ flake8-bandit = [ flake8-blind-except = [ {file = "flake8-blind-except-0.2.0.tar.gz", hash = "sha256:02a860a1a19cb602c006a3fe0778035b0d14d3f57929b4b798bc7d6684f204e5"}, ] +flake8-bugbear = [ + {file = "flake8-bugbear-21.4.3.tar.gz", hash = "sha256:2346c81f889955b39e4a368eb7d508de723d9de05716c287dc860a4073dc57e7"}, + {file = "flake8_bugbear-21.4.3-py36.py37.py38-none-any.whl", hash = "sha256:4f305dca96be62bf732a218fe6f1825472a621d3452c5b994d8f89dae21dbafa"}, +] flake8-cognitive-complexity = [ {file = "flake8_cognitive_complexity-0.1.0.tar.gz", hash = "sha256:f202df054e4f6ff182b659c261922b9c684628a47beb19cb0973c50d6a7831c1"}, ] @@ -2500,12 +2531,16 @@ flake8-pytest = [ {file = "flake8_pytest-1.3-py2.py3-none-any.whl", hash = "sha256:61686128a79e1513db575b2bcac351081d5a293811ddce2d5dfc25e8c762d33e"}, ] flake8-pytest-style = [ - {file = "flake8-pytest-style-1.4.1.tar.gz", hash = "sha256:1bd3b7bb95608d6b70daebb0b0ee636be92d8175527f2e9919cbeb76f7515118"}, - {file = "flake8_pytest_style-1.4.1-py3-none-any.whl", hash = "sha256:bc4c10e5fcc2a20937bb6ce523579e9f91adfcb5403dce3adda5ac7c9bce364f"}, + {file = "flake8-pytest-style-1.4.2.tar.gz", hash = "sha256:33a2f24c65a5cbd68c501459a5c49b81f4a5e506e3e53afef968942f8e45a2f9"}, + {file = "flake8_pytest_style-1.4.2-py3-none-any.whl", hash = "sha256:c2d11f3964928a8bf8d160c66b28a3c92209f4cde286338adac9ccdf9a3fcbb3"}, ] flake8-rst = [ {file = "flake8_rst-0.8.0-py3-none-any.whl", hash = "sha256:ceabbafbad817e4d22c7836c06c9cf559e394ca89d8ae73155dec81302890d44"}, ] +flake8-rst-docstrings = [ + {file = "flake8-rst-docstrings-0.2.3.tar.gz", hash = "sha256:3045794e1c8467fba33aaea5c246b8369efc9c44ef8b0b20199bb6df7a4bd47b"}, + {file = "flake8_rst_docstrings-0.2.3-py3-none-any.whl", hash = "sha256:565bbb391d7e4d0042924102221e9857ad72929cdd305b26501736ec22c1451a"}, +] flake8-strict = [ {file = "flake8_strict-0.2.1-py2.py3-none-any.whl", hash = "sha256:2ef66f75f9215c2084ae7d1b18e158a3c392141a5621ecab28858256ea75d41e"}, {file = "flake8_strict-0.2.1.tar.gz", hash = "sha256:75d5c11babe3f3b2bc5349e645112571a1d80d6183bda99afe5ffdfc70192d10"}, @@ -2537,8 +2572,8 @@ gitpython = [ {file = "GitPython-3.1.17.tar.gz", hash = "sha256:ee24bdc93dce357630764db659edaf6b8d664d4ff5447ccfeedd2dc5c253f41e"}, ] identify = [ - {file = "identify-2.2.4-py2.py3-none-any.whl", hash = "sha256:ad9f3fa0c2316618dc4d840f627d474ab6de106392a4f00221820200f490f5a8"}, - {file = "identify-2.2.4.tar.gz", hash = "sha256:9bcc312d4e2fa96c7abebcdfb1119563b511b5e3985ac52f60d9116277865b2e"}, + {file = "identify-2.2.5-py2.py3-none-any.whl", hash = "sha256:9c3ab58543c03bd794a1735e4552ef6dec49ec32053278130d525f0982447d47"}, + {file = "identify-2.2.5.tar.gz", hash = "sha256:bc1705694253763a3160b943316867792ec00ba7a0ee40b46e20aebaf4e0c46a"}, ] idna = [ {file = "idna-2.10-py2.py3-none-any.whl", hash = "sha256:b97d804b1e9b523befed77c48dacec60e6dcb0b5391d57af6a65a312a90648c0"}, @@ -2568,10 +2603,6 @@ ipywidgets = [ {file = "ipywidgets-7.6.3-py2.py3-none-any.whl", hash = "sha256:e6513cfdaf5878de30f32d57f6dc2474da395a2a2991b94d487406c0ab7f55ca"}, {file = "ipywidgets-7.6.3.tar.gz", hash = "sha256:9f1a43e620530f9e570e4a493677d25f08310118d315b00e25a18f12913c41f0"}, ] -isort = [ - {file = "isort-5.8.0-py3-none-any.whl", hash = "sha256:2bb1680aad211e3c9944dbce1d4ba09a989f04e238296c87fe2139faa26d655d"}, - {file = "isort-5.8.0.tar.gz", hash = "sha256:0a943902919f65c5684ac4e0154b1ad4fac6dcaa5d9f3426b732f1c8b5419be6"}, -] jedi = [ {file = "jedi-0.18.0-py2.py3-none-any.whl", hash = "sha256:18456d83f65f400ab0c2d3319e48520420ef43b23a086fdc05dff34132f0fb93"}, {file = "jedi-0.18.0.tar.gz", hash = "sha256:92550a404bad8afed881a137ec9a461fed49eca661414be45059329614ed0707"}, @@ -2759,8 +2790,8 @@ pluggy = [ {file = "pluggy-0.13.1.tar.gz", hash = "sha256:15b2acde666561e1298d71b523007ed7364de07029219b604cf808bfa1c765b0"}, ] pre-commit = [ - {file = "pre_commit-2.12.1-py2.py3-none-any.whl", hash = "sha256:70c5ec1f30406250b706eda35e868b87e3e4ba099af8787e3e8b4b01e84f4712"}, - {file = "pre_commit-2.12.1.tar.gz", hash = "sha256:900d3c7e1bf4cf0374bb2893c24c23304952181405b4d88c9c40b72bda1bb8a9"}, + {file = "pre_commit-2.13.0-py2.py3-none-any.whl", hash = "sha256:b679d0fddd5b9d6d98783ae5f10fd0c4c59954f375b70a58cbe1ce9bcf9809a4"}, + {file = "pre_commit-2.13.0.tar.gz", hash = "sha256:764972c60693dc668ba8e86eb29654ec3144501310f7198742a767bec385a378"}, ] pre-commit-hooks = [ {file = "pre_commit_hooks-3.4.0-py2.py3-none-any.whl", hash = "sha256:b1d329fc712f53f56af7c4a0ac08c414a7fcfd634dbd829c3a03f39cfb9c3574"}, @@ -2968,6 +2999,9 @@ requests = [ {file = "requests-2.25.1-py2.py3-none-any.whl", hash = "sha256:c210084e36a42ae6b9219e00e48287def368a26d03a048ddad7bfee44f75871e"}, {file = "requests-2.25.1.tar.gz", hash = "sha256:27973dd4a904a4f13b263a19c866c13b92a39ed1c964655f025f3f8d3d75b804"}, ] +restructuredtext-lint = [ + {file = "restructuredtext_lint-1.3.2.tar.gz", hash = "sha256:d3b10a1fe2ecac537e51ae6d151b223b78de9fafdd50e5eb6b08c243df173c80"}, +] rstcheck = [ {file = "rstcheck-3.3.1.tar.gz", hash = "sha256:92c4f79256a54270e0402ba16a2f92d0b3c15c8f4410cb9c57127067c215741f"}, ] @@ -3033,8 +3067,8 @@ sphinx = [ {file = "Sphinx-3.5.4.tar.gz", hash = "sha256:19010b7b9fa0dc7756a6e105b2aacd3a80f798af3c25c273be64d7beeb482cb1"}, ] sphinx-autobuild = [ - {file = "sphinx-autobuild-2020.9.1.tar.gz", hash = "sha256:4b184a7db893f2100bbd831991ae54ca89167a2b9ce68faea71eaa9e37716aed"}, - {file = "sphinx_autobuild-2020.9.1-py3-none-any.whl", hash = "sha256:df5c72cb8b8fc9b31279c4619780c4e95029be6de569ff60a8bb2e99d20f63dd"}, + {file = "sphinx-autobuild-2021.3.14.tar.gz", hash = "sha256:de1ca3b66e271d2b5b5140c35034c89e47f263f2cd5db302c9217065f7443f05"}, + {file = "sphinx_autobuild-2021.3.14-py3-none-any.whl", hash = "sha256:8fe8cbfdb75db04475232f05187c776f46f6e9e04cacf1e49ce81bdac649ccac"}, ] sphinx-click = [ {file = "sphinx-click-2.7.1.tar.gz", hash = "sha256:1b6175df5392564fd3780000d4627e5a2c8c3b29d05ad311dbbe38fcf5f3327b"}, @@ -3053,8 +3087,8 @@ sphinxcontrib-devhelp = [ {file = "sphinxcontrib_devhelp-1.0.2-py2.py3-none-any.whl", hash = "sha256:8165223f9a335cc1af7ffe1ed31d2871f325254c0423bc0c4c7cd1c1e4734a2e"}, ] sphinxcontrib-htmlhelp = [ - {file = "sphinxcontrib-htmlhelp-1.0.3.tar.gz", hash = "sha256:e8f5bb7e31b2dbb25b9cc435c8ab7a79787ebf7f906155729338f3156d93659b"}, - {file = "sphinxcontrib_htmlhelp-1.0.3-py2.py3-none-any.whl", hash = "sha256:3c0bc24a2c41e340ac37c85ced6dafc879ab485c095b1d65d2461ac2f7cca86f"}, + {file = "sphinxcontrib-htmlhelp-2.0.0.tar.gz", hash = "sha256:f5f8bb2d0d629f398bf47d0d69c07bc13b65f75a81ad9e2f71a63d4b7a2f6db2"}, + {file = "sphinxcontrib_htmlhelp-2.0.0-py2.py3-none-any.whl", hash = "sha256:d412243dfb797ae3ec2b59eca0e52dac12e75a241bf0e4eb861e450d06c6ed07"}, ] sphinxcontrib-jsmath = [ {file = "sphinxcontrib-jsmath-1.0.1.tar.gz", hash = "sha256:a9925e4a4587247ed2191a22df5f6970656cb8ca2bd6284309578f2153e0c4b8"}, @@ -3065,8 +3099,8 @@ sphinxcontrib-qthelp = [ {file = "sphinxcontrib_qthelp-1.0.3-py2.py3-none-any.whl", hash = "sha256:bd9fc24bcb748a8d51fd4ecaade681350aa63009a347a8c14e637895444dfab6"}, ] sphinxcontrib-serializinghtml = [ - {file = "sphinxcontrib-serializinghtml-1.1.4.tar.gz", hash = "sha256:eaa0eccc86e982a9b939b2b82d12cc5d013385ba5eadcc7e4fed23f4405f77bc"}, - {file = "sphinxcontrib_serializinghtml-1.1.4-py2.py3-none-any.whl", hash = "sha256:f242a81d423f59617a8e5cf16f5d4d74e28ee9a66f9e5b637a18082991db5a9a"}, + {file = "sphinxcontrib-serializinghtml-1.1.5.tar.gz", hash = "sha256:aa5f6de5dfdf809ef505c4895e51ef5c9eac17d0f287933eb49ec495280b6952"}, + {file = "sphinxcontrib_serializinghtml-1.1.5-py2.py3-none-any.whl", hash = "sha256:352a9a00ae864471d3a7ead8d7d79f5fc0b57e8b3f95e9867eb9eb28999b92fd"}, ] sqlalchemy = [ {file = "SQLAlchemy-1.3.24-cp27-cp27m-macosx_10_14_x86_64.whl", hash = "sha256:87a2725ad7d41cd7376373c15fd8bf674e9c33ca56d0b8036add2d634dba372e"}, diff --git a/pyproject.toml b/pyproject.toml index 90ce895..367ff9f 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -34,34 +34,29 @@ uvloop = "^0.15.2" desert = "^2020.11.18" [tool.poetry.dev-dependencies] -coverage = {extras = ["toml"], version = "^5.4"} +mypy = "^0.812" +typeguard = "^2.12.0" +bandit = "^1.7.0" safety = "^1.10.3" -typeguard = "^2.11.1" -xdoctest = {extras = ["colors"], version = "^0.15.4"} -sphinx = "^3.5.2" -sphinx-autobuild = "^2020.9.1" -pre-commit = "^2.11.1" -darglint = "^1.7.0" -reorder-python-imports = "^2.4.0" -pre-commit-hooks = "^3.4.0" -sphinx-rtd-theme = "^0.5.1" -sphinx-click = "^2.6.0" -Pygments = "^2.8.1" +reorder-python-imports = "^2.5.0" +black = "^20.8b1" wheel = "^0.36.2" jupyter = "^1.0.0" -flake8 = "^3.8.4" +flake8 = "^3.9.1" flake8_strict = "^0.2.1" flake8-absolute-import = "^1.0" flake8-aaa = "^0.11.1" flake8-alfred = "^1.1.1" flake8-annotations-complexity = "^0.0.6" flake8-annotations = "^2.5.0" +flake8-bandit = "^2.1.2" +flake8-bugbear = "^21.4.3" flake8-cognitive-complexity = "^0.1.0" flake8-commas = "^2.0.0" flake8-comprehensions = "^3.3.1" flake8-debugger = "^4.0.0" flake8-deprecated = "^1.3" -flake8-docstrings = "^1.5.0" +flake8-docstrings = "^1.6.0" flake8-expression-complexity = "^0.0.9" flake8-executable = "^2.1.1" flake8-fixme = "^1.1.1" @@ -77,21 +72,28 @@ flake8-pyi = "^20.10.0" flake8-pytest = "^1.3" flake8-pytest-style = "^1.3.0" flake8-rst = "^0.8.0" +flake8-rst-docstrings = "^0.2.3" flake8-string-format = "^0.3.0" flake8-tidy-imports = "^4.2.1" flake8-use-fstring = "^1.1" flake8-variables-names = "^0.0.4" pep8-naming = "^0.11.1" -flake8-bandit = "^2.1.2" -mypy = "^0.812" -bandit = "^1.7.0" -isort = "^5.7.0" -black = "^20.8b1" -pytest = "^6.2.2" +darglint = "^1.8.0" +sphinx-rtd-theme = "^0.5.2" +sphinx-click = "^2.7.1" +Pygments = "^2.9.0" +coverage = {extras = ["toml"], version = "^5.4"} +pytest = "^6.2.4" pytest-cov = "^2.11.1" +xdoctest = {extras = ["colors"], version = "^0.15.4"} +sphinx = "^3.5.4" +sphinx-autobuild = "^2021.3.14" +pre-commit = "^2.12.1" +pre-commit-hooks = "^3.4.0" yamllint = "^1.26.0" rstcheck = "^3.3.1" + [tool.poetry.scripts] plex-playlist = "playlist.__main__:main"