-
Notifications
You must be signed in to change notification settings - Fork 1
/
pyproject.toml
51 lines (45 loc) · 1 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
[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 = "tally-token"
version = "0.0.0"
description = ""
authors = []
packages = [
{ include = "tally_token" },
]
[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 = "tally_token/_version.py"
[tool.poe.tasks]
test = "pytest"
coverage-xml = "pytest --cov=tally_token --doctest-modules --cov-report=xml"
format = "ruff format tally_token"
check = [
{ cmd = "ruff check tally_token" },
{ cmd = "mypy tally_token" },
]
build = [
{ cmd = "python -m build"}
]
[tool.mypy]
strict = true
ignore_missing_imports = false
[tool.ruff]
line-length = 79