Advent_of_code/pyproject.toml

62 lines
1.1 KiB
TOML
Raw Normal View History

2021-11-12 20:02:55 +01:00
[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"
2022-02-09 16:55:44 +01:00
sympy = "^1.9"
2022-02-21 21:37:04 +01:00
scipy = "^1.8.0"
2022-03-15 14:13:11 +01:00
networkx = "^2.7.1"
2021-11-12 20:02:55 +01:00
[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
2022-03-10 10:11:20 +01:00
[tool.mypy]
pretty = true
show_traceback = true
allow_redefinition = true
2021-11-12 20:02:55 +01:00
[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
)
'''