Skip to content

Commit

Permalink
Merge pull request #269 from mraniki/dev
Browse files Browse the repository at this point in the history
  • Loading branch information
mraniki committed Jun 22, 2023
2 parents fb86775 + e02f799 commit 44fc422
Show file tree
Hide file tree
Showing 3 changed files with 75 additions and 10 deletions.
22 changes: 22 additions & 0 deletions .github/.readthedocs.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
# .readthedocs.yaml
# Read the Docs configuration file
# See https://docs.readthedocs.io/en/stable/config-file/v2.html for details

# Required
version: 2

build:
os: ubuntu-22.04
tools:
python: "3.11"

python:
install:
- method: pip
path: .
extra_requirements:
- docs
sphinx:
builder: html
configuration: docs/conf.py
fail_on_warning: false
35 changes: 35 additions & 0 deletions docs/conf.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
# Configuration file for the Sphinx documentation builder.
#
# For the full list of built-in configuration values, see the documentation:
# https://www.sphinx-doc.org/en/master/usage/configuration.html

# -- Project information -----------------------------------------------------
# https://www.sphinx-doc.org/en/master/usage/configuration.html#project-information

project = 'dxsp'
copyright = '2023, mraniki'
author = 'mraniki'

# -- General configuration ---------------------------------------------------
# https://www.sphinx-doc.org/en/master/usage/configuration.html#general-configuration

extensions = [
'sphinx.ext.autodoc',
'sphinx.ext.viewcode',
'sphinx.ext.napoleon'
]

templates_path = ['_templates']
exclude_patterns = ['_build', 'Thumbs.db', '.DS_Store']

language = "en"

# -- Options for HTML output -------------------------------------------------
# https://www.sphinx-doc.org/en/master/usage/configuration.html#options-for-html-output


html_theme = "furo"
html_static_path = ["_static"]
add_module_names = False
autoapi_python_class_content = "both"
python_use_unqualified_type_names = True
28 changes: 18 additions & 10 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -15,17 +15,17 @@ packages = [
"Issues" = "https://github.com/mraniki/dxsp/issues"

[tool.poetry.dependencies]
python = "^3.11"
dynaconf = "^3.1"
python = "^3.10"
dynaconf = "^3.1.12"
web3 = "^6.4.0"
pycoingecko = "^3.1.0"

[tool.poetry.dev-dependencies]
python-semantic-release = "^7.34.3"
pytest = "^7.0.0"
pytest-cov = "*"
pytest-asyncio = "*"
pytest-mock = "*"
pytest = "^7.0"
pytest-cov = "^4.1"
pytest-asyncio = "^0.21.0"
pytest-mock = "^3.11.1"

[tool.pytest.ini_options]
pythonpath = "."
Expand All @@ -37,9 +37,17 @@ log_level = "DEBUG"
[tool.coverage.run]
omit = [
"tests/*",
"examples/*"
"examples/*",
"docs/*",
"*/config.py"
]

[tool.poetry.group.docs.dependencies]
sphinx = "^7.0.1"
sphinx-autoapi = "^2.1.0"
furo = "^2023.5.20"


[build-system]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"
Expand All @@ -52,6 +60,6 @@ upload_to_release = true
build_command = "pip install poetry && poetry build"
commit_parser = "semantic_release.history.emoji_parser"
use_textual_changelog_sections = true
major_emoji = "πŸ’₯"
minor_emoji = "πŸ₯š,πŸš€,πŸ’„,✨"
patch_emoji = "🎨,πŸ›,πŸš‘,⚑,πŸ”₯,🚨,♻️,πŸ”§,⬆️,🩹,πŸ‘·,πŸ“,πŸ”’,πŸ‘½,πŸ’¬,πŸ₯…,βœ…,🐳,πŸ™ˆ,βš—οΈ,🧐,πŸ”‡,πŸ”Š"
major_emoji = "BREAKING,πŸ’₯,:boom:"
minor_emoji = "feat,πŸ₯š,:egg:,πŸš€,:rocket:,πŸ’„,:lipstick:,✨,:sparkles:"
patch_emoji = "fix,bump,Update,🎨,:art:,πŸ›,:bug:,πŸš‘,:ambulance:,⚑,:zap:,πŸ”₯,:fire:,🚨,:rotating_light:,♻️,:recycle:,πŸ”§,:wrench:,⬆️,:arrow_up:,🩹,:adhesive_bandage:,πŸ‘·,:construction_worker:,πŸ“,:memo:,πŸ”’,:lock:,πŸ‘½,:alien:,πŸ’¬,:speech_balloon:,πŸ₯…,:goal_net:,βœ…,:white_check_mark:,🐳,:whale:,πŸ™ˆ,:see_no_evil:,βš—οΈ,:alembic:,🧐,:monocle_face:,πŸ”‡,:mute:,πŸ”Š:volume:"

0 comments on commit 44fc422

Please sign in to comment.