73 lines
1.4 KiB
TOML
73 lines
1.4 KiB
TOML
[build-system]
|
|
requires = ["hatchling", "hatch-vcs", "wheel", "cffi"]
|
|
build-backend = "hatchling.build"
|
|
|
|
[project]
|
|
name = "RandQuik"
|
|
version = "0.1.0"
|
|
description = "Extremely fast and cryptographically secure random number generator."
|
|
readme = "README.md"
|
|
license = ""
|
|
authors = [{ name = "Vasanko" }]
|
|
classifiers = [
|
|
"Operating System :: POSIX",
|
|
"Operating System :: Unix",
|
|
"Topic :: Security :: Cryptography",
|
|
"Topic :: Security",
|
|
"Topic :: Software Development :: Libraries :: Python Modules",
|
|
]
|
|
dependencies = ["cffi>=1.0.1"]
|
|
requires-python = ">=3.10"
|
|
keywords = [
|
|
"random",
|
|
"generator",
|
|
"fast",
|
|
"secure",
|
|
"cryptographic",
|
|
"randomness",
|
|
]
|
|
|
|
[project.urls]
|
|
|
|
[project.optional-dependencies]
|
|
dev = ["pytest", "ruff"]
|
|
|
|
[tool.hatchling]
|
|
|
|
[tool.hatch.version]
|
|
source = "hatchling.version:Version"
|
|
|
|
[tool.hatch.build]
|
|
hooks.vcs.version-file = "randquik/_version.py"
|
|
hooks.vcs.template = """
|
|
# This file is automatically generated by hatch build.
|
|
__version__ = {version!r}
|
|
"""
|
|
|
|
targets.sdist.include = ["/randquik"]
|
|
|
|
[tool.ruff]
|
|
extend-select = ["I", "W", "UP", "C4", "ISC", "S"]
|
|
# Worth selecting but still too broken: ASYNC, B, DTZ, FA
|
|
ignore = [
|
|
"D100",
|
|
"D101",
|
|
"D102",
|
|
"D103",
|
|
"E402",
|
|
"E741",
|
|
"F811",
|
|
"F821",
|
|
# ruff format complains about these:
|
|
"ISC001",
|
|
"S101",
|
|
"S102",
|
|
"S104",
|
|
"S311",
|
|
"S603",
|
|
"S607",
|
|
"W191",
|
|
]
|
|
show-source = true
|
|
show-fixes = true
|