-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
64 lines (55 loc) · 2.02 KB
/
Copy pathpyproject.toml
File metadata and controls
64 lines (55 loc) · 2.02 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
[build-system]
requires = ["setuptools>=65.0.0", "wheel", "setuptools-git-versioning"]
build-backend = "setuptools.build_meta"
[tool.setuptools.packages]
find = { namespaces = false, where = ["src"] }
[tool.setuptools-git-versioning]
enabled = true
[project]
name = "curioso"
description = "Generates an operating system information report"
dynamic = ["version"]
readme = "README.md"
license = { "file" = "LICENSE" }
requires-python = ">=3.12"
authors = [
{ name = "David Angarita", email = "davidangarita.sistemas@gmail.com" },
]
maintainers = [{ name = "Andrew Pikul", email = "ajpikul@gmail.com" }]
dependencies = ["packaging>=25.0"]
[project.scripts]
curioso = "curioso._cli:run_cli"
[dependency-groups]
dev = ["ipdb>=0.13.13", "pyright>=1.1.407", "pytest>=9.0.1"]
[tool.ruff.lint]
select = ["ALL"]
ignore = [
"ANN", # no types
"EM", # allow strings in raise(), despite python being ugly about it
"TRY003", # allow long error messages inside raise()
"D203", # No blank before class docstring (D211 = require blank line)
"D212", # Commit message style docstring is D213, ignore D212
"COM812", # manual says linter rule conflicts with formatter
"ISC001", # manual says litner rule conflicts with formatter
"RET504", # Allow else if unnecessary because more readable
"RET505", # Allow else if unnecessary because more readable
"RET506", # Allow else if unnecessary because more readable
"RET507", # Allow else if unnecessary because more readable
"RET508", # Allow else if unnecessary because more readable
"RUF012", # We don't do typing, so no typing
"SIM105", # Too opionated (try-except-pass)
"PT003", # scope="function" implied but I like readability
"G004", # I like fstrings in my log
]
[tool.ruff.lint.per-file-ignores]
"tests/*" = [
"D", # ignore docstring errors
"S101", # allow assert
"INP001", # no need for __init__ in test directories
]
[tool.pyright]
venvPath = "."
venv = ".venv"
include = ["src", "tests"]
[tool.rumdl]
disable = ["MD046"]