2023-12-04 22:21:21 -08:00
|
|
|
[tool.poetry]
|
|
|
|
name = "dnd-item-generator"
|
|
|
|
version = "1.0"
|
|
|
|
description = "Random item generator for D&D"
|
|
|
|
authors = ["evilchili <evilchili@gmail.com>"]
|
|
|
|
license = "The Unlicense"
|
|
|
|
packages = [
|
2023-12-04 22:28:03 -08:00
|
|
|
{ include = 'dnd_item' },
|
2023-12-04 22:21:21 -08:00
|
|
|
]
|
|
|
|
|
|
|
|
[tool.poetry.dependencies]
|
|
|
|
python = "^3.10"
|
|
|
|
rich = "^13.7.0"
|
|
|
|
typer = "^0.9.0"
|
|
|
|
dice = "^4.0.0"
|
|
|
|
|
2023-12-23 16:41:21 -08:00
|
|
|
dnd-name-generator = { git = "https://github.com/evilchili/dnd-name-generator", branch='main' }
|
2023-12-26 18:41:43 -08:00
|
|
|
dnd-rolltable = { git = "https://github.com/evilchili/dnd-rolltable", branch='main' }
|
2023-12-23 16:41:21 -08:00
|
|
|
random-sets = { git = "https://github.com/evilchili/random-sets", branch='main' }
|
2023-12-19 23:52:09 -08:00
|
|
|
|
2023-12-04 22:21:21 -08:00
|
|
|
[tool.poetry.group.dev.dependencies]
|
|
|
|
pytest = "^7.4.3"
|
|
|
|
black = "^23.3.0"
|
|
|
|
isort = "^5.12.0"
|
|
|
|
pyproject-autoflake = "^1.0.2"
|
|
|
|
|
|
|
|
[build-system]
|
|
|
|
requires = ["poetry-core>=1.0.0"]
|
|
|
|
build-backend = "poetry.core.masonry.api"
|
|
|
|
|
|
|
|
[tool.black]
|
|
|
|
line-length = 120
|
|
|
|
target-version = ['py310']
|
|
|
|
|
|
|
|
[tool.isort]
|
|
|
|
multi_line_output = 3
|
|
|
|
line_length = 120
|
|
|
|
include_trailing_comma = true
|
|
|
|
|
|
|
|
[tool.autoflake]
|
|
|
|
check = false # return error code if changes are needed
|
|
|
|
in-place = true # make changes to files instead of printing diffs
|
|
|
|
recursive = true # drill down directories recursively
|
|
|
|
remove-all-unused-imports = true # remove all unused imports (not just those from the standard library)
|
|
|
|
ignore-init-module-imports = true # exclude __init__.py when removing unused imports
|
|
|
|
remove-duplicate-keys = true # remove all duplicate keys in objects
|
|
|
|
remove-unused-variables = true # remove unused variables
|
|
|
|
|
|
|
|
[tool.poetry.scripts]
|
2023-12-23 16:41:21 -08:00
|
|
|
dnd-item = "dnd_item.cli:app"
|
2023-12-04 22:21:21 -08:00
|
|
|
|