Skip to content

Commit

Permalink
fix: poetry extras
Browse files Browse the repository at this point in the history
  • Loading branch information
browniebroke committed Oct 19, 2020
1 parent 5ca3fc6 commit cc36e0f
Show file tree
Hide file tree
Showing 2 changed files with 49 additions and 64 deletions.
96 changes: 38 additions & 58 deletions poetry.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

17 changes: 11 additions & 6 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -26,17 +26,22 @@ packages = [
[tool.poetry.dependencies]
python = "^3.6.1"
requests = "^2.18"
tornado = {version = "^6.0.4", optional = true, extras = ["tornado"]}
tornado = {version = "^6.0.4", optional = true}

# Docs deps:
myst-parser = {version = "^0.12", optional = true, extras = ["docs"]}
sphinx = {version = "^3", optional = true, extras = ["docs"]}
sphinx-autobuild = {version = "^2020.9.1", optional = true, extras = ["docs"]}
sphinx-rtd-theme = {version = "^0.5", optional = true, extras = ["docs"]}
myst-parser = {version = "^0.12", optional = true}
sphinx = {version = "^3", optional = true}
sphinx-autobuild = {version = "^2020.9.1", optional = true}
sphinx-rtd-theme = {version = "^0.5", optional = true}

[tool.poetry.extras]
tornado = ["tornado"]
docs = ["myst-parser", "sphinx", "sphinx-autobuild", "sphinx-rtd-theme"]
docs = [
"myst-parser",
"sphinx",
"sphinx-autobuild",
"sphinx-rtd-theme",
]

[tool.poetry.dev-dependencies]
bandit = "^1.6.2"
Expand Down

0 comments on commit cc36e0f

Please sign in to comment.