-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
46 lines (39 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
[tool.poetry]
# I use poetry as just a package manager.
# So, I only write the settings that poetry needs.
# The actual package metadata is written in setup.cfg.
# I use pypa/build for packaging.
name = "timeout-iterator"
version = "0.0.0"
description = ""
authors = []
packages = [{ include = "timeout_iterator" }]
[tool.poetry.dependencies]
python = "^3.9"
[tool.poetry.group.dev.dependencies]
ruff = "*"
pytest = "*"
pytest-cov = "*"
poethepoet = "*"
setuptools-scm = "*"
build = "*"
mypy = "*"
[build-system]
requires = ["setuptools", "setuptools_scm"]
build-backend = "setuptools.build_meta"
[tool.setuptools_scm]
write_to = "timeout_iterator/_version.py"
[tool.poe.tasks]
test = "pytest"
coverage-xml = "pytest --cov=timeout_iterator --doctest-modules --cov-report=xml"
format = "ruff format timeout_iterator tests"
check = [
{ cmd = "ruff check timeout_iterator tests" },
{ cmd = "mypy timeout_iterator tests" },
]
build = "python -m build"
[tool.mypy]
strict = true
ignore_missing_imports = false
[tool.ruff]
line-length = 79