-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
68 lines (58 loc) · 1.82 KB
/
pyproject.toml
File metadata and controls
68 lines (58 loc) · 1.82 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
[project]
name = "modern_dcf"
version = "0.1.0"
description = "This is a rewrite of the Python package pydcf by Damien Robertson with some speed-up to the computation and implimentation of the Gaussian kernel dcf which previously only was used to select a filter size for the sloted dcf function. It is intended to be used within scripts and in Jupyter notebooks, and is not a command line script. This is compatible with Python 3.12."
readme = "README.md"
authors = [
{name = "Henry Best", email = "hbest@gradcenter.cuny.edu"}
]
maintainers = [
{name = "Henry Best", email = "hbest@gradcenter.cuny.edu"}
]
classifiers = [
# TODO
]
license = {text = "MIT"}
dependencies = [
"typer"
]
requires-python = ">= 3.10"
[project.optional-dependencies]
test = [
"coverage", # testing
"pytest", # testing
"ruff", # linting
"ty", # checking types
"ipdb", # debugging
]
[project.urls]
bugs = "https://github.com/Henry-Best-01/modern_dcf/issues"
changelog = "https://github.com/Henry-Best-01/modern_dcf/blob/master/changelog.md"
homepage = "https://github.com/Henry-Best-01/modern_dcf"
[project.scripts]
modern_dcf = "modern_dcf.cli:app"
[tool.ty]
# All rules are enabled as "error" by default; no need to specify unless overriding.
# Example override: relax a rule for the entire project (uncomment if needed).
# rules.TY015 = "warn" # For invalid-argument-type, warn instead of error.
[tool.ruff]
line-length = 120
[tool.ruff.lint]
select = [
"E", # pycodestyle errors
"W", # pycodestyle warnings
"F", # Pyflakes
"I", # isort
"B", # flake8-bugbear
"UP", # pyupgrade
]
[tool.uv]
package = true
[tool.pytest.ini_options]
pythonpath = [
".", "src", "tests", "src/modern_dcf", "modern_dcf/src/modern_dcf/*"
]
[tool.setuptools]
package-dir = {"" = "src"}
[tool.setuptools.package-data]
"*" = ["*.*"]