-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
66 lines (58 loc) · 1.56 KB
/
Copy pathpyproject.toml
File metadata and controls
66 lines (58 loc) · 1.56 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
[build-system]
requires = ['uv_build>=0.8.3,<0.9.0']
build-backend = 'uv_build'
[project]
name = "pl2html"
version = "0.6.2.dev1"
description = "Add your description here"
readme = "README.md"
requires-python = ">=3.14"
dependencies = [
"polars>=1.42.1",
]
[project.urls]
GitHub = "https://github.com/5j9/pl2html"
[tool.uv.build-backend]
module-root = ''
module-name = "pl2html"
[tool.ruff]
line-length = 79
format.quote-style = 'single'
lint.isort.combine-as-imports = true
lint.extend-select = [
'W605', # invalid-escape-sequence
'FA', # flake8-future-annotations
'I', # isort
'UP', # pyupgrade
'RUF', # Ruff-specific rules (RUF)
]
lint.ignore = [
'E721', # Do not compare types, use `isinstance()`
'RUF001', # ambiguous-unicode-character-string
'RUF002', # ambiguous-unicode-character-docstring
'RUF003', # ambiguous-unicode-character-comment
'RUF012', # mutable-class-default
'RUF059', # Unpacked variable never used
]
[tool.pytest]
addopts = ["--quiet", "--tb=short"]
truncation_limit_lines = '0'
truncation_limit_chars = '0'
[tool.pyright]
typeCheckingMode = 'standard'
reportInvalidStringEscapeSequence = false
reportConstantRedefinition = 'error'
reportDeprecated = 'warning'
reportPropertyTypeMismatch = 'error'
reportTypeCommentUsage = 'warning'
reportUnnecessaryCast = 'warning'
reportUnnecessaryComparison = 'warning'
reportUnnecessaryContains = 'warning'
reportUnnecessaryIsInstance = 'warning'
reportUnnecessaryTypeIgnoreComment = 'warning'
venvPath = "."
venv = ".venv"
[dependency-groups]
dev = [
"pytest>=9.1.1",
]