forked from avcopan/autoengine
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
75 lines (64 loc) · 1.52 KB
/
Copy pathpyproject.toml
File metadata and controls
75 lines (64 loc) · 1.52 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
74
75
[project]
name = "autoengine"
version = "0.0.1"
authors = [{name = "Andreas V. Copan", email = "avcopan@uga.edu"}]
requires-python = ">= 3.12"
dependencies = [
"automol>=0.0.19",
"autostorage>=0.0.12",
"qcdata>=0.17.1",
"qccodec>=0.10.1",
"qccompute>=0.13.1",
]
[build-system]
build-backend = "uv_build"
requires = ["uv_build<0.12"]
# Ruff configurations
[tool.ruff]
exclude = [
"docs",
"**/*.ipynb",
]
[tool.ruff.lint]
select = ["ALL"]
ignore = [
"COM812", # missing trailing comma (handled by format)
"RUF022", # `__all__` is not sorted
"TID252", # relative import
"D203", # confict: incorrect blank line before class (uses D211 instead)
"D213", # conflict: multi-line summary second line (uses D212 instead)
"CPY001", # copyright at top of file
]
[tool.ruff.lint.per-file-ignores]
"tests/**.py" = ["S101"]
[tool.ruff.lint.pydocstyle]
convention = "numpy"
# Ty configurations
[tool.ty.environment]
python = ".pixi/envs/dev/bin/python"
[tool.ty.src]
include = [
"src",
"tests",
]
# Import-linter configurations
[tool.importlinter]
root_package = "autoengine"
# Pytest configurations
[tool.pytest.ini_options]
testpaths = ["tests", "src"]
addopts = [
"--doctest-modules",
"--cov=autoengine",
"--cov-report=term-missing",
"--cov-report=html",
]
doctest_optionflags = "NORMALIZE_WHITESPACE"
# Pytest-cov configurations
[tool.coverage.run]
branch = true
source = ["autoengine"]
[tool.coverage.report]
show_missing = true
skip_covered = true
fail_under = 80