-
Notifications
You must be signed in to change notification settings - Fork 2
/
pyproject.toml
80 lines (69 loc) · 1.63 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
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
[tool.poetry]
authors = ["Walter Scheper <[email protected]>"]
classifiers = [
"Development Status :: 5 - Production/Stable",
"Environment :: Console",
"Intended Audience :: Developers",
"Intended Audience :: Information Technology",
"Intended Audience :: System Administrators",
"License :: OSI Approved :: Apache Software License",
"Operating System :: OS Independent",
"Programming Language :: Python",
"Topic :: Utilities",
]
description = "Provide multiple hashing algorithms from a single code base"
homepage = "https://github.com/wfscheper/hasher"
license = "Apache-2.0"
name = "hasher"
packages = [
{include = "hasher", from = "src"},
]
readme = "README.rst"
repository = "https://github.com/wfscheper/hasher.git"
version = "2.1.0a1"
[tool.poetry.scripts]
hasher = "hasher.app:hasher"
[tool.poetry.dependencies]
click = "^8.1.3"
python = "^3.8"
[tool.poetry.group.dev.dependencies]
ruff = "^0.3.1"
pytest = "^8.0.2"
mypy = "^1.8.0"
pytest-cov = "^4.1.0"
pytest-mock = "^3.12.0"
# only used in github actions
[tool.poetry.group.github-actions]
optional = true
[tool.poetry.group.github-actions.dependencies]
pytest-github-actions-annotate-failures = "^0.2.0"
[tool.coverage.run]
branch = true
omit = ["tests/*"]
source = ["hasher"]
[tool.coverage.paths]
source = [
"hasher",
"*/site-packages/hasher",
]
[tool.coverage.report]
precision = 2
show_missing = true
[tool.ruff.lint]
select = [
# pycodestyle
"E", "W",
# pyflakes
"F",
# isort
"I",
# bugbear
"B",
# pyupgrade
"UP",
]
[tool.ruff.lint.isort]
from-first = true
[build-system]
build-backend = "poetry.masonry.api"
requires = ["poetry>=0.12"]