-
Notifications
You must be signed in to change notification settings - Fork 9
/
Copy pathpyproject.toml
53 lines (44 loc) · 1.02 KB
/
pyproject.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
[tool.poetry]
name = "vrplib"
version = "1.5.1"
description = "Python library for reading and writing VRP instances."
authors = ["Leon Lan <[email protected]>"]
license = "MIT"
readme = "README.md"
repository = "https://github.com/PyVRP/VRPLIB"
[tool.poetry.dependencies]
python = "^3.9"
numpy = ">=1.19.3"
[tool.poetry.group.dev.dependencies]
pytest = "^7.1.2"
codecov = "^2.1.13"
pytest-cov = "^4.0.0"
pre-commit = "^2.19.0"
[build-system]
requires = ["poetry-core>=1.0.0"]
build-backend = "poetry.core.masonry.api"
[tool.black]
line-length = 79
[tool.mypy]
ignore_missing_imports = true
[tool.ruff]
select = [
"E", # pycodestyle errors
"W", # pycodestyle warnings
"F", # pyflakes
"I", # isort
"C", # flake8-comprehensions
]
ignore = [
"E501", # line too long, handled by black
"C901", # too complex
]
[tool.ruff.per-file-ignores]
"__init__.py" = ["F401"]
[tool.pytest.ini_options]
addopts = "--cov=. --cov-report=xml"
pythonpath = [".", "vrplib"]
[tool.coverage.run]
omit = [
"tests/*",
]