forked from Proteusiq/saa
-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
45 lines (37 loc) · 1.03 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
[project]
name = "saa"
version = "0.0.7a"
description = "Converting time into natural language phrases"
authors = [{ name = "Prayson W. Daniel", email = "[email protected]" }]
dependencies = []
requires-python = ">= 3.8"
[build-system]
requires = ["pdm-backend"]
build-backend = "pdm.backend"
[tool.rye]
managed = true
dev-dependencies = ["ruff>=0.5.6", "pytest>=8.3.2", "pyright>=1.1.374"]
[tool.ruff.lint]
select = [
"A", # warn about shadowing built-ins
"E", # style stuff, whitespaces
"F", # important pyflakes lints
"I", # import sorting
"N", # naming
]
[tool.ruff.lint.per-file-ignores]
"src/saa/*/*.py" = ["N805"] # ignored as first argument is not self
[tool.rye.scripts]
fmt = "rye fmt"
lint = "rye lint --fix"
check = "pyright"
test = "rye test"
all = { chain = ["fmt", "lint", "check", "test"] }
[tool.pyright]
venvPath = "."
venv = ".venv"
include = ["src"]
exclude = ["src/saa/luga", "src/saa/core/*"]
[tool.urls]
"Homepage" = "https://github.com/Proteusiq/saa"
"Bug Tracker" = "https://github.com/Proteusiq/saa/issues"