From 3e968899768fb4bb561087e27519cecd482cf7d6 Mon Sep 17 00:00:00 2001 From: UpstreamData Date: Wed, 28 Sep 2022 12:53:55 -0600 Subject: [PATCH] improve poetry setup instructions and improve documentation --- docs/miners/supported_types.md | 9 ++++++++- poetry.lock | 34 +++++++++++++++++++++++++++++++++- pyproject.toml | 2 +- 3 files changed, 42 insertions(+), 3 deletions(-) diff --git a/docs/miners/supported_types.md b/docs/miners/supported_types.md index 6d40e4f1..357de80b 100644 --- a/docs/miners/supported_types.md +++ b/docs/miners/supported_types.md @@ -4,7 +4,14 @@ Supported miner types are here on this list. If your miner (or miner version) is not on this list, please feel free to [open an issue on GitHub](https://github.com/UpstreamData/pyasic/issues) to get it added. ##### pyasic currently supports the following miners and subtypes: -
+ +
Braiins OS+ Devices:
    diff --git a/poetry.lock b/poetry.lock index 8b7cb1de..e71c8564 100644 --- a/poetry.lock +++ b/poetry.lock @@ -135,6 +135,17 @@ python-dateutil = ">=2.8.1" [package.extras] dev = ["flake8", "markdown", "twine", "wheel"] +[[package]] +name = "griffe" +version = "0.22.2" +description = "Signatures for entire Python programs. Extract the structure, the frame, the skeleton of your project, to generate API documentation or find breaking changes in your API." +category = "dev" +optional = false +python-versions = ">=3.7" + +[package.extras] +async = ["aiofiles (>=0.7,<1.0)"] + [[package]] name = "h11" version = "0.12.0" @@ -309,6 +320,7 @@ Markdown = ">=3.3" MarkupSafe = ">=1.1" mkdocs = ">=1.2" mkdocs-autorefs = ">=0.3.1" +mkdocstrings-python = {version = ">=0.5.2", optional = true, markers = "extra == \"python\""} pymdown-extensions = ">=6.3" [package.extras] @@ -316,6 +328,18 @@ crystal = ["mkdocstrings-crystal (>=0.3.4)"] python = ["mkdocstrings-python (>=0.5.2)"] python-legacy = ["mkdocstrings-python-legacy (>=0.2.1)"] +[[package]] +name = "mkdocstrings-python" +version = "0.7.1" +description = "A Python handler for mkdocstrings." +category = "dev" +optional = false +python-versions = ">=3.7" + +[package.dependencies] +griffe = ">=0.11.1" +mkdocstrings = ">=0.19" + [[package]] name = "nodeenv" version = "1.7.0" @@ -553,7 +577,7 @@ testing = ["func-timeout", "jaraco.itertools", "pytest (>=6)", "pytest-black (>= [metadata] lock-version = "1.1" python-versions = "^3.9" -content-hash = "380b9581d75faf77a5d6cc73bf6f94aaf09d79ababad8e318801854ac0db10f7" +content-hash = "98c3026a6f27c29c0357bbfa07166d6d8b604a869f3a802adc3bb3610f86964c" [metadata.files] anyio = [ @@ -686,6 +710,10 @@ ghp-import = [ {file = "ghp-import-2.1.0.tar.gz", hash = "sha256:9c535c4c61193c2df8871222567d7fd7e5014d835f97dc7b7439069e2413d343"}, {file = "ghp_import-2.1.0-py3-none-any.whl", hash = "sha256:8337dd7b50877f163d4c0289bc1f1c7f127550241988d568c1db512c4324a619"}, ] +griffe = [ + {file = "griffe-0.22.2-py3-none-any.whl", hash = "sha256:cea5415ac6a92f4a22638e3f1f2e661402bac09fb8e8266936d67185a7e0d0fb"}, + {file = "griffe-0.22.2.tar.gz", hash = "sha256:1408e336a4155392bbd81eed9f2f44bf144e71b9c664e905630affe83bbc088e"}, +] h11 = [ {file = "h11-0.12.0-py3-none-any.whl", hash = "sha256:36a3cb8c0a032f56e2da7084577878a035d3b61d104230d4bd49c0c6b555a9c6"}, {file = "h11-0.12.0.tar.gz", hash = "sha256:47222cb6067e4a307d535814917cd98fd0a57b6788ce715755fa2b6c28b56042"}, @@ -776,6 +804,10 @@ mkdocstrings = [ {file = "mkdocstrings-0.19.0-py3-none-any.whl", hash = "sha256:3217d510d385c961f69385a670b2677e68e07b5fea4a504d86bf54c006c87c7d"}, {file = "mkdocstrings-0.19.0.tar.gz", hash = "sha256:efa34a67bad11229d532d89f6836a8a215937548623b64f3698a1df62e01cc3e"}, ] +mkdocstrings-python = [ + {file = "mkdocstrings-python-0.7.1.tar.gz", hash = "sha256:c334b382dca202dfa37071c182418a6df5818356a95d54362a2b24822ca3af71"}, + {file = "mkdocstrings_python-0.7.1-py3-none-any.whl", hash = "sha256:a22060bfa374697678e9af4e62b020d990dad2711c98f7a9fac5c0345bef93c7"}, +] nodeenv = [ {file = "nodeenv-1.7.0-py2.py3-none-any.whl", hash = "sha256:27083a7b96a25f2f5e1d8cb4b6317ee8aeda3bdd121394e5ac54e498028a042e"}, {file = "nodeenv-1.7.0.tar.gz", hash = "sha256:e0e7f7dfb85fc5394c6fe1e8fa98131a2473e04311a45afb6508f7cf1836fa2b"}, diff --git a/pyproject.toml b/pyproject.toml index 1a21f5ae..0d1fb312 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -26,7 +26,7 @@ optional = true [tool.poetry.group.docs.dependencies] mkdocs = "^1.4.0" -mkdocstrings = "^0.19.0" +mkdocstrings = {extras = ["python"], version = "^0.19.0"} [build-system]