Advent_of_code/pyproject.toml

62 lines
1.1 KiB
TOML

[tool.poetry]
name = "template"
version = "0.1.0"
description = ""
authors = ["daviddoji <daviddoji@pm.me>"]
[tool.poetry.dependencies]
python = ">=3.9,<3.11"
numpy = "^1.21.4"
sympy = "^1.9"
scipy = "^1.8.0"
networkx = "^2.7.1"
[tool.poetry.dev-dependencies]
pytest = "^5.2"
pytest-cov = "^3.0.0"
pre-commit = "^2.15.0"
flake8 = "^4.0.1"
mypy = "^0.910"
isort = "^5.9.3"
black = {version = "^21.10b0", allow-prereleases = true}
[build-system]
requires = ["poetry-core>=1.0.0"]
build-backend = "poetry.core.masonry.api"
[tool.isort]
multi_line_output = 3
include_trailing_comma = true
force_grid_wrap = 0
use_parentheses = true
line_length = 79
[tool.mypy]
pretty = true
show_traceback = true
allow_redefinition = true
[tool.black]
line-length = 79
target-version = ['py38']
include = '\.pyi?$'
exclude = '''
(
/(
\.eggs # exclude a few common directories in the
| \.git # root of the project
| \.hg
| \.mypy_cache
| \.tox
| \.venv
| _build
| buck-out
| build
| dist
)/
| foo.py # also separately exclude a file named foo.py in
# the root of the project
)
'''