-
Notifications
You must be signed in to change notification settings - Fork 13
Expand file tree
/
Copy pathpyproject.toml
More file actions
58 lines (54 loc) · 1.5 KB
/
pyproject.toml
File metadata and controls
58 lines (54 loc) · 1.5 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
[project]
version = '0.0.dev0'
name = 'citer'
requires-python = '>=3.11'
dependencies = [
"curl-cffi>=0.7.3",
"isbnlib>=3.10.14",
"jdatetime>=5.2.0",
"langid>=1.1.6",
"lxml>=5.4.0",
"regex>=2024.11.6",
]
[project.urls]
Homepage = "https://github.com/5j9/citer"
[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.ini_options]
addopts = '--quiet --tb=short'
[tool.pyright]
typeCheckingMode = 'standard'
reportDeprecated = "warning"
reportPropertyTypeMismatch = "warning"
reportUnnecessaryCast = "warning"
reportUnnecessaryContains = "warning"
reportUnnecessaryIsInstance = "warning"
reportUnnecessaryTypeIgnoreComment = true
reportInvalidStringEscapeSequence = false
reportConstantRedefinition = 'error'
reportTypeCommentUsage = 'warning'
reportUnnecessaryComparison = 'warning'
venvPath = "."
venv = ".venv"
[tool.uv.build-backend]
module-root = ""
module-name = "citer"
[dependency-groups]
dev = ["pytest-socket>=0.7.0", "python-decouple>=3.8"]