-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
73 lines (63 loc) · 2.14 KB
/
pyproject.toml
File metadata and controls
73 lines (63 loc) · 2.14 KB
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
[project]
name = "streebog"
version = "0.1.0"
description = "Python ctypes wrapper for GOST R 34.11-2012 (RFC 6986) hash function."
readme = "README.md"
license = "BSD-2-Clause OR GPL-2.0-or-later"
authors = [
{ name = "Eugene Zamriy", email = "eugene@zamriy.ru" }
]
classifiers = [
"Development Status :: 3 - Alpha",
"Operating System :: POSIX :: Linux",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Programming Language :: Python :: 3.14",
"Programming Language :: Python :: Implementation :: CPython",
"Topic :: Security :: Cryptography",
"Topic :: Software Development :: Libraries :: Python Modules"
]
requires-python = ">=3.11"
dependencies = []
[build-system]
requires = ["setuptools>=69.0", "wheel"]
build-backend = "setuptools.build_meta"
[tool.setuptools.packages.find]
where = ["src"]
[project.optional-dependencies]
# Dependencies required for running tests.
dev = ["pytest", "pytest-cov"]
# Linters and formatters recommened for a development environment.
ide = ["basedpyright", "ruff"]
[tool.pyright]
reportAny = false
reportExplicitAny = false
reportUnusedCallResult = false
[tool.pytest.ini_options]
addopts = "--doctest-modules"
[tool.ruff]
indent-width = 4
line-length = 88
# Enables all linting rules.
select = ["ALL"]
# Selectively disables the specified linting rules.
ignore = [
"COM812", # See https://docs.astral.sh/ruff/rules/missing-trailing-comma/
"EM101", # See https://docs.astral.sh/ruff/rules/raw-string-in-exception/
"EM102", # See https://docs.astral.sh/ruff/rules/f-string-in-exception/
"RET506", # See https://docs.astral.sh/ruff/rules/superfluous-else-raise/
"TRY003", # See https://docs.astral.sh/ruff/rules/raise-vanilla-args/
]
[tool.ruff.lint.pydocstyle]
convention = "google"
[tool.ruff.lint.per-file-ignores]
"tests/*" = ["S101"] # See https://docs.astral.sh/ruff/rules/assert/
[tool.ruff.format]
indent-style = "space"
quote-style = "double"
docstring-code-format = true
[tool.ruff.lint.flake8-quotes]
inline-quotes = "double"
multiline-quotes = "double"