Skip to content

Commit

Permalink
smokin dungbeetle
Browse files Browse the repository at this point in the history
  • Loading branch information
byt3bl33d3r committed Nov 23, 2023
1 parent a751a73 commit 8ceae43
Show file tree
Hide file tree
Showing 6 changed files with 349 additions and 480 deletions.
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -19,5 +19,5 @@ tests:

requirements:
poetry export -f requirements.txt > requirements.txt
poetry export -f requirements.txt --with=api > requirements-api.txt
poetry export -f requirements.txt --with=api,dev > requirements-dev.txt
poetry export -f requirements.txt --extras=api > requirements-api.txt
poetry export -f requirements.txt --with=dev > requirements-dev.txt
329 changes: 166 additions & 163 deletions poetry.lock

Large diffs are not rendered by default.

39 changes: 20 additions & 19 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,30 @@ classifiers = [
]
exclude = ["tests"]

[tool.poetry.scripts]
dnschef = 'dnschef.__main__:main'
dnschef-ng = 'dnschef.__main__:main'

[tool.poetry.dependencies]
python = "^3.11"
dnslib = "^0.9.23"
rich = "^13.5.3"
structlog = "^23.1.0"
fastapi = { version = "^0.103.1", optional = true }
uvicorn = { version = "^0.23.2", optional = true }
pydantic-settings = { version = "^2.0.3", optional = true }

[tool.poetry.extras]
api = ["fastapi", "uvicorn", "pydantic-settings"]

[tool.poetry.group.dev.dependencies]
pytest = "^7.4.2"
pytest-asyncio = "^0.21.1"
poetry-plugin-export = "^1.6.0"
ruff = "^0.1.6"
dnspython = "^2.4.2"
pytest-cov = "^4.1.0"
httpx = "^0.25.1"

[tool.pytest.ini_options]
addopts = "--cov=dnschef"
Expand All @@ -30,24 +49,6 @@ filterwarnings = [
'ignore:`general_plain_validator_function` is deprecated',
]

[tool.poetry.scripts]
dnschef = 'dnschef.__main__:main'
dnschef-ng = 'dnschef.__main__:main'

[tool.poetry.group.api.dependencies]
fastapi = "^0.103.1"
uvicorn = "^0.23.2"
pydantic-settings = "^2.0.3"

[tool.poetry.group.dev.dependencies]
pytest = "^7.4.2"
pytest-asyncio = "^0.21.1"
poetry-plugin-export = "^1.6.0"
ruff = "^0.1.6"
dnspython = "^2.4.2"
pytest-cov = "^4.1.0"
httpx = "^0.25.1"

[build-system]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"
build-backend = "poetry.core.masonry.api"
Loading

0 comments on commit 8ceae43

Please sign in to comment.