random-sets/pyproject.toml

45 lines
1.3 KiB
TOML

[tool.poetry]
name = "random-sets"
version = "0.1.1"
description = "A small library of helper classes for dealing with random data using weighted distributions"
authors = ["evilchili <evilchili@gmail.com>"]
readme = "README.md"
packages = [
{ include = 'random_sets' },
]
[tool.poetry.dependencies]
python = "^3.10"
dice = "^4.0.0"
pyyaml = "^6.0.1"
[tool.poetry.group.dev.dependencies]
pytest = "^7.4.3"
black = "^23.3.0"
isort = "^5.12.0"
pyproject-autoflake = "^1.0.2"
[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
[build-system]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"