-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
60 lines (55 loc) · 1.52 KB
/
Copy pathpyproject.toml
File metadata and controls
60 lines (55 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
[project]
name = 'farhangestan'
version = '0.1.dev0'
authors = [{ name = '5j9', email = '5j9@users.noreply.github.com' }]
description = ''
readme = 'README.rst'
requires-python = '>=3.13'
dependencies = [
"flask>=3.1.3",
]
license = { text = 'GPLv3' }
[project.urls]
Homepage = 'https://github.com/5j9/farhangestan'
[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'
reportInvalidStringEscapeSequence = false
reportConstantRedefinition = 'error'
reportDeprecated = 'warning'
reportPropertyTypeMismatch = 'error'
reportTypeCommentUsage = 'warning'
reportUnnecessaryCast = 'warning'
reportUnnecessaryComparison = 'warning'
reportUnnecessaryContains = 'warning'
reportUnnecessaryIsInstance = 'warning'
reportUnnecessaryTypeIgnoreComment = 'warning'
venvPath = "."
venv = ".venv"
[tool.uv.build-backend]
module-root = ""
module-name = "farhangestan"
[dependency-groups]
dev = [
"requests>=2.34.2",
]