diff --git a/poetry.lock b/poetry.lock index 947ef9917e945033cb73672bbafe69d532d92d96..671738956dc68b634cf33ab2165d1e5ea6c31300 100644 --- a/poetry.lock +++ b/poetry.lock @@ -487,18 +487,6 @@ django-phonenumber-field = ">=1.1.0,<4.99" django_otp = ">=0.6.0,<0.99" qrcode = ">=4.0.0,<6.99" -[package.dependencies.django-otp-yubikey] -optional = true -version = "*" - -[package.dependencies.phonenumbers] -optional = true -version = ">=7.0.9,<8.99" - -[package.dependencies.twilio] -optional = true -version = ">=6.0" - [package.extras] Call = ["twilio (>=6.0)"] SMS = ["twilio (>=6.0)"] @@ -510,6 +498,7 @@ phonenumberslite = ["phonenumberslite (>=7.0.9,<8.99)"] reference = "fceecb23a60cfd23398cf58f29148be644853697" type = "git" url = "https://github.com/Natureshadow/django-two-factor-auth" + [[package]] category = "main" description = "Integrate django with yarnpkg" @@ -643,6 +632,20 @@ flake8 = "*" flake8-polyfill = "*" pycodestyle = "*" +[[package]] +category = "dev" +description = "Check for python builtins being used as variables or parameters." +name = "flake8-builtins" +optional = false +python-versions = "*" +version = "1.4.1" + +[package.dependencies] +flake8 = "*" + +[package.extras] +test = ["coverage", "coveralls", "mock", "pytest", "pytest-cov"] + [[package]] category = "dev" description = "Plugin to catch bad style specific to Django Projects" @@ -654,6 +657,18 @@ version = "0.0.4" [package.dependencies] flake8 = "*" +[[package]] +category = "dev" +description = "Extension for flake8 which uses pydocstyle to check docstrings" +name = "flake8-docstrings" +optional = false +python-versions = "*" +version = "1.5.0" + +[package.dependencies] +flake8 = ">=3" +pydocstyle = ">=2.1" + [[package]] category = "dev" description = "Check for FIXME, TODO and other temporary developer notes. Plugin for flake8." @@ -686,6 +701,18 @@ version = "1.0.2" [package.dependencies] flake8 = "*" +[[package]] +category = "dev" +description = "Python docstring reStructuredText (RST) validator" +name = "flake8-rst-docstrings" +optional = false +python-versions = "*" +version = "0.0.12" + +[package.dependencies] +flake8 = ">=3.0.0" +restructuredtext_lint = "*" + [[package]] category = "dev" description = "Git Object Database" @@ -927,6 +954,17 @@ optional = false python-versions = ">=2.6, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*" version = "3.9.4" +[[package]] +category = "dev" +description = "Python docstring style checker" +name = "pydocstyle" +optional = false +python-versions = ">=3.5" +version = "5.0.1" + +[package.dependencies] +snowballstemmer = "*" + [[package]] category = "dev" description = "passive checker of Python programs" @@ -1124,6 +1162,17 @@ urllib3 = ">=1.21.1,<1.25.0 || >1.25.0,<1.25.1 || >1.25.1,<1.26" security = ["pyOpenSSL (>=0.14)", "cryptography (>=1.3.4)", "idna (>=2.0.0)"] socks = ["PySocks (>=1.5.6,<1.5.7 || >1.5.7)", "win-inet-pton"] +[[package]] +category = "dev" +description = "reStructuredText linter" +name = "restructuredtext-lint" +optional = false +python-versions = "*" +version = "1.3.0" + +[package.dependencies] +docutils = ">=0.11,<1.0" + [[package]] category = "dev" description = "Safety checks your installed dependencies for known security vulnerabilities." @@ -1469,7 +1518,7 @@ testing = ["pathlib2", "contextlib2", "unittest2"] ldap = ["django-auth-ldap"] [metadata] -content-hash = "4b372ee0c5e61140af045ef5b1d6e298a359b7e3652165e22951061c07fa6d57" +content-hash = "cbeeaf3f1d7128817a3d92cb65b50bda67f408de5b62e518bc57c639ecf5575d" python-versions = "^3.7" [metadata.files] @@ -1697,9 +1746,17 @@ flake8 = [ flake8-bandit = [ {file = "flake8_bandit-2.1.2.tar.gz", hash = "sha256:687fc8da2e4a239b206af2e54a90093572a60d0954f3054e23690739b0b0de3b"}, ] +flake8-builtins = [ + {file = "flake8-builtins-1.4.1.tar.gz", hash = "sha256:cd7b1b7fec4905386a3643b59f9ca8e305768da14a49a7efb31fe9364f33cd04"}, + {file = "flake8_builtins-1.4.1-py2.py3-none-any.whl", hash = "sha256:8d806360767947c0035feada4ddef3ede32f0a586ef457e62d811b8456ad9a51"}, +] flake8-django = [ {file = "flake8-django-0.0.4.tar.gz", hash = "sha256:7329ec2e2b8b194e8109639c534359014c79df4d50b14f4b85b8395edc5d6760"}, ] +flake8-docstrings = [ + {file = "flake8-docstrings-1.5.0.tar.gz", hash = "sha256:3d5a31c7ec6b7367ea6506a87ec293b94a0a46c0bce2bb4975b7f1d09b6f3717"}, + {file = "flake8_docstrings-1.5.0-py2.py3-none-any.whl", hash = "sha256:a256ba91bc52307bef1de59e2a009c3cf61c3d0952dbe035d6ff7208940c2edc"}, +] flake8-fixme = [ {file = "flake8-fixme-1.1.1.tar.gz", hash = "sha256:50cade07d27a4c30d4f12351478df87339e67640c83041b664724bda6d16f33a"}, {file = "flake8_fixme-1.1.1-py2.py3-none-any.whl", hash = "sha256:226a6f2ef916730899f29ac140bed5d4a17e5aba79f00a0e3ae1eff1997cb1ac"}, @@ -1712,6 +1769,9 @@ flake8-polyfill = [ {file = "flake8-polyfill-1.0.2.tar.gz", hash = "sha256:e44b087597f6da52ec6393a709e7108b2905317d0c0b744cdca6208e670d8eda"}, {file = "flake8_polyfill-1.0.2-py2.py3-none-any.whl", hash = "sha256:12be6a34ee3ab795b19ca73505e7b55826d5f6ad7230d31b18e106400169b9e9"}, ] +flake8-rst-docstrings = [ + {file = "flake8-rst-docstrings-0.0.12.tar.gz", hash = "sha256:01d38327801781b26c3dfeb71ae37e5a02c5ca1b774a686f63feab8824ca6f9c"}, +] gitdb2 = [ {file = "gitdb2-2.0.6-py2.py3-none-any.whl", hash = "sha256:96bbb507d765a7f51eb802554a9cfe194a174582f772e0d89f4e87288c288b7b"}, {file = "gitdb2-2.0.6.tar.gz", hash = "sha256:1b6df1433567a51a4a9c1a5a0de977aa351a405cc56d7d35f3388bad1f630350"}, @@ -1951,6 +2011,10 @@ pycryptodome = [ {file = "pycryptodome-3.9.4-cp38-cp38-win_amd64.whl", hash = "sha256:c53348358408d94869059e16fba5ff3bef8c52c25b18421472aba272b9bb450f"}, {file = "pycryptodome-3.9.4.tar.gz", hash = "sha256:a168e73879619b467072509a223282a02c8047d932a48b74fbd498f27224aa04"}, ] +pydocstyle = [ + {file = "pydocstyle-5.0.1-py3-none-any.whl", hash = "sha256:4167fe954b8f27ebbbef2fbcf73c6e8ad1e7bb31488fce44a69fdfc4b0cd0fae"}, + {file = "pydocstyle-5.0.1.tar.gz", hash = "sha256:a0de36e549125d0a16a72a8c8c6c9ba267750656e72e466e994c222f1b6e92cb"}, +] pyflakes = [ {file = "pyflakes-2.1.1-py2.py3-none-any.whl", hash = "sha256:17dbeb2e3f4d772725c777fabc446d5634d1038f234e77343108ce445ea69ce0"}, {file = "pyflakes-2.1.1.tar.gz", hash = "sha256:d976835886f8c5b31d47970ed689944a0262b5f3afa00a5a7b4dc81e5449f8a2"}, @@ -2023,6 +2087,9 @@ requests = [ {file = "requests-2.22.0-py2.py3-none-any.whl", hash = "sha256:9cf5292fcd0f598c671cfc1e0d7d1a7f13bb8085e9a590f48c010551dc6c4b31"}, {file = "requests-2.22.0.tar.gz", hash = "sha256:11e007a8a2aa0323f5a921e9e6a2d7e4e67d9877e85773fba9ba6419025cbeb4"}, ] +restructuredtext-lint = [ + {file = "restructuredtext_lint-1.3.0.tar.gz", hash = "sha256:97b3da356d5b3a8514d8f1f9098febd8b41463bed6a1d9f126cf0a048b6fd908"}, +] safety = [ {file = "safety-1.8.5-py2.py3-none-any.whl", hash = "sha256:0a3a8a178a9c96242b224f033ee8d1d130c0448b0e6622d12deaf37f6c3b4e59"}, {file = "safety-1.8.5.tar.gz", hash = "sha256:5059f3ffab3648330548ea9c7403405bbfaf085b11235770825d14c58f24cb78"}, diff --git a/pyproject.toml b/pyproject.toml index 3424c27964d6241adeb35159cc20facdf1ebe915..27babcdb08fc8f44713665a63f15fe3116927a15 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -72,6 +72,9 @@ flake8-django = "^0.0.4" flake8-fixme = "^1.1.1" flake8-mypy = "^17.8.0" flake8-bandit = "^2.1.2" +flake8-builtins = "^1.4.1" +flake8-docstrings = "^1.5.0" +flake8-rst-docstrings = "^0.0.12" [build-system] requires = ["poetry>=0.12"]