-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
58 lines (52 loc) · 1.59 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
[project]
name = "aprxc"
dynamic = ["version"]
description = "A command-line tool to estimate the number of distinct lines in a file/stream using Chakraborty/Vinodchandran/Meel’s approximation algorithm."
readme = "README.md"
authors = [{name = "Fabian Neumann", email = "[email protected]"}]
requires-python = ">=3.11"
dependencies = []
classifiers = [
"Development Status :: 4 - Beta",
"Intended Audience :: Developers",
"Intended Audience :: Science/Research",
"License :: OSI Approved :: European Union Public Licence 1.2 (EUPL 1.2)",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Topic :: Scientific/Engineering :: Mathematics",
"Topic :: Utilities",
]
keywords = [
"algorithm",
"cli",
"computer-science",
"math",
]
[project.scripts]
aprxc = "aprxc:run"
[project.urls]
Codeberg = "https://codeberg.org/fa81/aprxc"
GitHub = "https://github.com/hellp/aprxc"
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[tool.hatch.build.targets.sdist]
exclude = [
"/benchmark.py",
"/test-data",
"/workspace.code-workspace",
]
[tool.hatch.version]
path = "aprxc.py"
[tool.ruff.lint]
select = ["ALL"]
ignore = [ # inspired by attrs :)
"ANN", # Mypy is better at this
"COM", # Black takes care of our commas
"D", # We prefer our own docstring style.
"E501", # leave line-length enforcement to Black
"PLR0913", # yes, many arguments, but most have defaults
"SLF001", # private members are accessed by friendly functions
]