atril 0.7.0__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- atril-0.7.0/LICENSE +21 -0
- atril-0.7.0/PKG-INFO +83 -0
- atril-0.7.0/README.md +59 -0
- atril-0.7.0/pyproject.toml +138 -0
- atril-0.7.0/pyproject.toml.orig +111 -0
- atril-0.7.0/src/atril/__init__.py +5 -0
- atril-0.7.0/src/atril/__main__.py +6 -0
- atril-0.7.0/src/atril/backup.py +315 -0
- atril-0.7.0/src/atril/checks.py +41 -0
- atril-0.7.0/src/atril/commands/__init__.py +1 -0
- atril-0.7.0/src/atril/commands/_common.py +115 -0
- atril-0.7.0/src/atril/commands/backup.py +330 -0
- atril-0.7.0/src/atril/commands/config.py +34 -0
- atril-0.7.0/src/atril/commands/deeptutor.py +272 -0
- atril-0.7.0/src/atril/commands/install.py +138 -0
- atril-0.7.0/src/atril/commands/knowledge.py +549 -0
- atril-0.7.0/src/atril/commands/syllabus.py +248 -0
- atril-0.7.0/src/atril/config/__init__.py +9 -0
- atril-0.7.0/src/atril/config/_toml.py +117 -0
- atril-0.7.0/src/atril/config/station.py +353 -0
- atril-0.7.0/src/atril/config/syllabus.py +367 -0
- atril-0.7.0/src/atril/deeptutor.py +132 -0
- atril-0.7.0/src/atril/evaluation.py +258 -0
- atril-0.7.0/src/atril/install.py +405 -0
- atril-0.7.0/src/atril/knowledge.py +419 -0
- atril-0.7.0/src/atril/main.py +79 -0
- atril-0.7.0/src/atril/net.py +111 -0
- atril-0.7.0/src/atril/ollama.py +176 -0
- atril-0.7.0/src/atril/patches.py +92 -0
- atril-0.7.0/src/atril/processes.py +75 -0
- atril-0.7.0/src/atril/py.typed +0 -0
- atril-0.7.0/src/atril/sources.py +304 -0
atril-0.7.0/LICENSE
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2026 isidro-rodriguez
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|
atril-0.7.0/PKG-INFO
ADDED
|
@@ -0,0 +1,83 @@
|
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
|
+
Name: atril
|
|
3
|
+
Version: 0.7.0
|
|
4
|
+
Summary: Gestiona una instalación local de DeepTutor y sus temarios
|
|
5
|
+
License-Expression: MIT
|
|
6
|
+
License-File: LICENSE
|
|
7
|
+
Classifier: Development Status :: 2 - Pre-Alpha
|
|
8
|
+
Classifier: Environment :: Console
|
|
9
|
+
Classifier: Intended Audience :: End Users/Desktop
|
|
10
|
+
Classifier: Natural Language :: Spanish
|
|
11
|
+
Classifier: Operating System :: Microsoft :: Windows
|
|
12
|
+
Classifier: Programming Language :: Python :: 3
|
|
13
|
+
Classifier: Programming Language :: Python :: 3.13
|
|
14
|
+
Classifier: Programming Language :: Python :: 3.14
|
|
15
|
+
Classifier: Typing :: Typed
|
|
16
|
+
Requires-Dist: acodo>=0.5.1,<1
|
|
17
|
+
Requires-Dist: psutil>=7
|
|
18
|
+
Requires-Dist: rich>=14
|
|
19
|
+
Requires-Dist: typer>=0.20
|
|
20
|
+
Requires-Python: >=3.13
|
|
21
|
+
Project-URL: Repository, https://github.com/isidro-rodriguez/atril
|
|
22
|
+
Project-URL: Changelog, https://github.com/isidro-rodriguez/atril/blob/main/CHANGELOG.md
|
|
23
|
+
Description-Content-Type: text/markdown
|
|
24
|
+
|
|
25
|
+
# atril
|
|
26
|
+
|
|
27
|
+
CLI para gestionar una instalación local de [DeepTutor](https://github.com/HKUDS/DeepTutor)
|
|
28
|
+
y sus temarios (fuentes, bases de conocimiento, evaluación y backup).
|
|
29
|
+
|
|
30
|
+
> Estado: fases 0–3 completas (configuración, DeepTutor, temarios, fuentes, KB y backup).
|
|
31
|
+
|
|
32
|
+
## 🚀 Instalación
|
|
33
|
+
|
|
34
|
+
```bash
|
|
35
|
+
uv tool install atril # uso diario
|
|
36
|
+
```
|
|
37
|
+
|
|
38
|
+
Desarrollo:
|
|
39
|
+
|
|
40
|
+
```bash
|
|
41
|
+
git clone https://github.com/isidro-rodriguez/atril.git
|
|
42
|
+
cd atril
|
|
43
|
+
uv sync
|
|
44
|
+
```
|
|
45
|
+
|
|
46
|
+
## 🛠️ Uso
|
|
47
|
+
|
|
48
|
+
```bash
|
|
49
|
+
atril --estacion D:\Desarrollo\DeepTutor validar # o ATRIL_ESTACION, o desde la estación
|
|
50
|
+
```
|
|
51
|
+
|
|
52
|
+
| Grupo | Comandos | Fase |
|
|
53
|
+
|---|---|---|
|
|
54
|
+
| Configuración | `validar` | 0 ✅ |
|
|
55
|
+
| DeepTutor | `instalar` · `actualizar` · `arrancar` · `parar` · `estado` · `parches` | 1 ✅ |
|
|
56
|
+
| Temarios | `temario lista` · `temario cobertura <t>` | 2 ✅ |
|
|
57
|
+
| Fuentes | `fuentes descargar <t> [ids]` · `fuentes comprobar <t> [ids] [--todas]` | 2 ✅ |
|
|
58
|
+
| KB | `kb indexar <t> [kb]` · `kb reindexar <kb>` · `kb evaluar <kb> [-k 5] [--detalle]` | 2 ✅ |
|
|
59
|
+
| Backup | `backup [-d destino]` · `backup comprobar [--datos 5%]` · `backup restaurar -d destino` | 3 ✅ |
|
|
60
|
+
| Otros | `accesos` | 5 |
|
|
61
|
+
|
|
62
|
+
Configuración: [`docs/esquemas.md`](https://github.com/isidro-rodriguez/atril/blob/main/docs/esquemas.md) · ejemplos en [`docs/ejemplos/`](https://github.com/isidro-rodriguez/atril/blob/main/docs/ejemplos/).
|
|
63
|
+
|
|
64
|
+
## ✅ Calidad
|
|
65
|
+
|
|
66
|
+
```bash
|
|
67
|
+
uv run ruff format .
|
|
68
|
+
uv run ruff check .
|
|
69
|
+
uv run ty check
|
|
70
|
+
uv run pytest
|
|
71
|
+
```
|
|
72
|
+
|
|
73
|
+
Con [Poe the Poet](https://poethepoet.natn.io/): `poe check` · `poe fix` · `poe backup`.
|
|
74
|
+
|
|
75
|
+
## Enlaces
|
|
76
|
+
|
|
77
|
+
- Decisiones de diseño: [`docs/decisiones.md`](https://github.com/isidro-rodriguez/atril/blob/main/docs/decisiones.md)
|
|
78
|
+
- Plantilla base: <https://github.com/isidro-rodriguez/acodo-template>
|
|
79
|
+
- Acodo: <https://github.com/isidro-rodriguez/acodo>
|
|
80
|
+
|
|
81
|
+
## Licencia
|
|
82
|
+
|
|
83
|
+
[MIT](https://github.com/isidro-rodriguez/atril/blob/main/LICENSE).
|
atril-0.7.0/README.md
ADDED
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
# atril
|
|
2
|
+
|
|
3
|
+
CLI para gestionar una instalación local de [DeepTutor](https://github.com/HKUDS/DeepTutor)
|
|
4
|
+
y sus temarios (fuentes, bases de conocimiento, evaluación y backup).
|
|
5
|
+
|
|
6
|
+
> Estado: fases 0–3 completas (configuración, DeepTutor, temarios, fuentes, KB y backup).
|
|
7
|
+
|
|
8
|
+
## 🚀 Instalación
|
|
9
|
+
|
|
10
|
+
```bash
|
|
11
|
+
uv tool install atril # uso diario
|
|
12
|
+
```
|
|
13
|
+
|
|
14
|
+
Desarrollo:
|
|
15
|
+
|
|
16
|
+
```bash
|
|
17
|
+
git clone https://github.com/isidro-rodriguez/atril.git
|
|
18
|
+
cd atril
|
|
19
|
+
uv sync
|
|
20
|
+
```
|
|
21
|
+
|
|
22
|
+
## 🛠️ Uso
|
|
23
|
+
|
|
24
|
+
```bash
|
|
25
|
+
atril --estacion D:\Desarrollo\DeepTutor validar # o ATRIL_ESTACION, o desde la estación
|
|
26
|
+
```
|
|
27
|
+
|
|
28
|
+
| Grupo | Comandos | Fase |
|
|
29
|
+
|---|---|---|
|
|
30
|
+
| Configuración | `validar` | 0 ✅ |
|
|
31
|
+
| DeepTutor | `instalar` · `actualizar` · `arrancar` · `parar` · `estado` · `parches` | 1 ✅ |
|
|
32
|
+
| Temarios | `temario lista` · `temario cobertura <t>` | 2 ✅ |
|
|
33
|
+
| Fuentes | `fuentes descargar <t> [ids]` · `fuentes comprobar <t> [ids] [--todas]` | 2 ✅ |
|
|
34
|
+
| KB | `kb indexar <t> [kb]` · `kb reindexar <kb>` · `kb evaluar <kb> [-k 5] [--detalle]` | 2 ✅ |
|
|
35
|
+
| Backup | `backup [-d destino]` · `backup comprobar [--datos 5%]` · `backup restaurar -d destino` | 3 ✅ |
|
|
36
|
+
| Otros | `accesos` | 5 |
|
|
37
|
+
|
|
38
|
+
Configuración: [`docs/esquemas.md`](https://github.com/isidro-rodriguez/atril/blob/main/docs/esquemas.md) · ejemplos en [`docs/ejemplos/`](https://github.com/isidro-rodriguez/atril/blob/main/docs/ejemplos/).
|
|
39
|
+
|
|
40
|
+
## ✅ Calidad
|
|
41
|
+
|
|
42
|
+
```bash
|
|
43
|
+
uv run ruff format .
|
|
44
|
+
uv run ruff check .
|
|
45
|
+
uv run ty check
|
|
46
|
+
uv run pytest
|
|
47
|
+
```
|
|
48
|
+
|
|
49
|
+
Con [Poe the Poet](https://poethepoet.natn.io/): `poe check` · `poe fix` · `poe backup`.
|
|
50
|
+
|
|
51
|
+
## Enlaces
|
|
52
|
+
|
|
53
|
+
- Decisiones de diseño: [`docs/decisiones.md`](https://github.com/isidro-rodriguez/atril/blob/main/docs/decisiones.md)
|
|
54
|
+
- Plantilla base: <https://github.com/isidro-rodriguez/acodo-template>
|
|
55
|
+
- Acodo: <https://github.com/isidro-rodriguez/acodo>
|
|
56
|
+
|
|
57
|
+
## Licencia
|
|
58
|
+
|
|
59
|
+
[MIT](https://github.com/isidro-rodriguez/atril/blob/main/LICENSE).
|
|
@@ -0,0 +1,138 @@
|
|
|
1
|
+
[project]
|
|
2
|
+
name = "atril"
|
|
3
|
+
version = "0.7.0"
|
|
4
|
+
description = "Gestiona una instalación local de DeepTutor y sus temarios"
|
|
5
|
+
readme = "README.md"
|
|
6
|
+
requires-python = ">=3.13"
|
|
7
|
+
license = "MIT"
|
|
8
|
+
license-files = ["LICENSE"]
|
|
9
|
+
classifiers = [
|
|
10
|
+
"Development Status :: 2 - Pre-Alpha",
|
|
11
|
+
"Environment :: Console",
|
|
12
|
+
"Intended Audience :: End Users/Desktop",
|
|
13
|
+
"Natural Language :: Spanish",
|
|
14
|
+
"Operating System :: Microsoft :: Windows",
|
|
15
|
+
"Programming Language :: Python :: 3",
|
|
16
|
+
"Programming Language :: Python :: 3.13",
|
|
17
|
+
"Programming Language :: Python :: 3.14",
|
|
18
|
+
"Typing :: Typed",
|
|
19
|
+
]
|
|
20
|
+
dependencies = [
|
|
21
|
+
"acodo>=0.5.1,<1",
|
|
22
|
+
"psutil>=7",
|
|
23
|
+
"rich>=14",
|
|
24
|
+
"typer>=0.20",
|
|
25
|
+
]
|
|
26
|
+
|
|
27
|
+
[project.urls]
|
|
28
|
+
Repository = "https://github.com/isidro-rodriguez/atril"
|
|
29
|
+
Changelog = "https://github.com/isidro-rodriguez/atril/blob/main/CHANGELOG.md"
|
|
30
|
+
|
|
31
|
+
[project.scripts]
|
|
32
|
+
atril = "atril.main:main"
|
|
33
|
+
|
|
34
|
+
[dependency-groups]
|
|
35
|
+
dev = [
|
|
36
|
+
"pre-commit>=4.7.0",
|
|
37
|
+
"pytest>=9.1.1",
|
|
38
|
+
"pytest-cov>=7.1.0",
|
|
39
|
+
"ruff>=0.17.1",
|
|
40
|
+
"ty>=0.0.89",
|
|
41
|
+
]
|
|
42
|
+
|
|
43
|
+
[build-system]
|
|
44
|
+
requires = ["uv_build>=0.11.7,<0.14.0"]
|
|
45
|
+
build-backend = "uv_build"
|
|
46
|
+
|
|
47
|
+
[tool.coverage.run]
|
|
48
|
+
source = ["src"]
|
|
49
|
+
branch = true
|
|
50
|
+
omit = [
|
|
51
|
+
"*/tests/*",
|
|
52
|
+
"*/__init__.py",
|
|
53
|
+
]
|
|
54
|
+
|
|
55
|
+
[tool.coverage.report]
|
|
56
|
+
exclude_also = [
|
|
57
|
+
"pragma: no cover",
|
|
58
|
+
"if TYPE_CHECKING:",
|
|
59
|
+
"if __name__ == .__main__.:",
|
|
60
|
+
]
|
|
61
|
+
|
|
62
|
+
[tool.poe.executor]
|
|
63
|
+
type = "uv"
|
|
64
|
+
|
|
65
|
+
[tool.poe.tasks.check]
|
|
66
|
+
help = "Formato, lint, tipos y tests (lo mismo que la CI)"
|
|
67
|
+
sequence = [
|
|
68
|
+
"ruff format --check .",
|
|
69
|
+
"ruff check .",
|
|
70
|
+
"ty check",
|
|
71
|
+
"pytest",
|
|
72
|
+
]
|
|
73
|
+
default_item_type = "cmd"
|
|
74
|
+
|
|
75
|
+
[tool.poe.tasks.fix]
|
|
76
|
+
help = "Aplica el formato y las correcciones automáticas de Ruff"
|
|
77
|
+
sequence = [
|
|
78
|
+
"ruff format .",
|
|
79
|
+
"ruff check --fix .",
|
|
80
|
+
]
|
|
81
|
+
default_item_type = "cmd"
|
|
82
|
+
|
|
83
|
+
[tool.poe.tasks.backup]
|
|
84
|
+
help = "Copia de seguridad del repositorio con git bundle"
|
|
85
|
+
cmd = "python scripts/backup.py"
|
|
86
|
+
|
|
87
|
+
[tool.pytest.ini_options]
|
|
88
|
+
addopts = [
|
|
89
|
+
"-ra",
|
|
90
|
+
"--strict-markers",
|
|
91
|
+
"--import-mode=importlib",
|
|
92
|
+
"--doctest-modules",
|
|
93
|
+
]
|
|
94
|
+
testpaths = [
|
|
95
|
+
"tests",
|
|
96
|
+
"src",
|
|
97
|
+
]
|
|
98
|
+
pythonpath = ["tests"]
|
|
99
|
+
|
|
100
|
+
[tool.ruff]
|
|
101
|
+
line-length = 88
|
|
102
|
+
target-version = "py313"
|
|
103
|
+
|
|
104
|
+
[tool.ruff.lint]
|
|
105
|
+
select = [
|
|
106
|
+
"E",
|
|
107
|
+
"F",
|
|
108
|
+
"W",
|
|
109
|
+
"I",
|
|
110
|
+
"N",
|
|
111
|
+
"UP",
|
|
112
|
+
"B",
|
|
113
|
+
"SIM",
|
|
114
|
+
"C4",
|
|
115
|
+
"PERF",
|
|
116
|
+
"PTH",
|
|
117
|
+
"RUF",
|
|
118
|
+
"D",
|
|
119
|
+
]
|
|
120
|
+
|
|
121
|
+
[tool.ruff.lint.pydocstyle]
|
|
122
|
+
convention = "google"
|
|
123
|
+
|
|
124
|
+
[tool.ruff.lint.isort]
|
|
125
|
+
known-first-party = ["atril"]
|
|
126
|
+
|
|
127
|
+
[tool.ruff.lint.per-file-ignores]
|
|
128
|
+
"tests/**" = ["D"]
|
|
129
|
+
|
|
130
|
+
[tool.ty.environment]
|
|
131
|
+
python-version = "3.13"
|
|
132
|
+
extra-paths = ["tests"]
|
|
133
|
+
|
|
134
|
+
[tool.ty.src]
|
|
135
|
+
include = [
|
|
136
|
+
"src",
|
|
137
|
+
"tests",
|
|
138
|
+
]
|
|
@@ -0,0 +1,111 @@
|
|
|
1
|
+
[project]
|
|
2
|
+
name = "atril"
|
|
3
|
+
version = "0.7.0"
|
|
4
|
+
description = "Gestiona una instalación local de DeepTutor y sus temarios"
|
|
5
|
+
readme = "README.md"
|
|
6
|
+
requires-python = ">=3.13"
|
|
7
|
+
license = "MIT"
|
|
8
|
+
license-files = ["LICENSE"]
|
|
9
|
+
classifiers = [
|
|
10
|
+
"Development Status :: 2 - Pre-Alpha",
|
|
11
|
+
"Environment :: Console",
|
|
12
|
+
"Intended Audience :: End Users/Desktop",
|
|
13
|
+
"Natural Language :: Spanish",
|
|
14
|
+
"Operating System :: Microsoft :: Windows",
|
|
15
|
+
"Programming Language :: Python :: 3",
|
|
16
|
+
"Programming Language :: Python :: 3.13",
|
|
17
|
+
"Programming Language :: Python :: 3.14",
|
|
18
|
+
"Typing :: Typed",
|
|
19
|
+
]
|
|
20
|
+
|
|
21
|
+
dependencies = [
|
|
22
|
+
"acodo>=0.5.1,<1",
|
|
23
|
+
"psutil>=7",
|
|
24
|
+
"rich>=14",
|
|
25
|
+
"typer>=0.20",
|
|
26
|
+
]
|
|
27
|
+
|
|
28
|
+
[project.urls]
|
|
29
|
+
Repository = "https://github.com/isidro-rodriguez/atril"
|
|
30
|
+
Changelog = "https://github.com/isidro-rodriguez/atril/blob/main/CHANGELOG.md"
|
|
31
|
+
|
|
32
|
+
[project.scripts]
|
|
33
|
+
atril = "atril.main:main"
|
|
34
|
+
|
|
35
|
+
[dependency-groups]
|
|
36
|
+
dev = [
|
|
37
|
+
"pre-commit>=4.7.0",
|
|
38
|
+
"pytest>=9.1.1",
|
|
39
|
+
"pytest-cov>=7.1.0",
|
|
40
|
+
"ruff>=0.17.1",
|
|
41
|
+
"ty>=0.0.89",
|
|
42
|
+
]
|
|
43
|
+
|
|
44
|
+
[build-system]
|
|
45
|
+
requires = ["uv_build>=0.11.7,<0.14.0"]
|
|
46
|
+
build-backend = "uv_build"
|
|
47
|
+
|
|
48
|
+
# --- pytest coverage ---------------------------------------------------------
|
|
49
|
+
[tool.coverage.run]
|
|
50
|
+
source = ["src"]
|
|
51
|
+
branch = true
|
|
52
|
+
omit = ["*/tests/*", "*/__init__.py"]
|
|
53
|
+
|
|
54
|
+
[tool.coverage.report]
|
|
55
|
+
exclude_also = ["pragma: no cover", "if TYPE_CHECKING:", "if __name__ == .__main__.:"]
|
|
56
|
+
|
|
57
|
+
# --- Poe the Poet (opcional) -------------------------------------------------
|
|
58
|
+
# Atajos para quien tenga `poe` instalado globalmente (`uv tool install poethepoet`).
|
|
59
|
+
# No es dependencia del proyecto: todo se puede ejecutar también con `uv run`.
|
|
60
|
+
[tool.poe]
|
|
61
|
+
executor.type = "uv"
|
|
62
|
+
|
|
63
|
+
[tool.poe.tasks.check]
|
|
64
|
+
help = "Formato, lint, tipos y tests (lo mismo que la CI)"
|
|
65
|
+
sequence = [
|
|
66
|
+
"ruff format --check .",
|
|
67
|
+
"ruff check .",
|
|
68
|
+
"ty check",
|
|
69
|
+
"pytest",
|
|
70
|
+
]
|
|
71
|
+
default_item_type = "cmd"
|
|
72
|
+
|
|
73
|
+
[tool.poe.tasks.fix]
|
|
74
|
+
help = "Aplica el formato y las correcciones automáticas de Ruff"
|
|
75
|
+
sequence = ["ruff format .", "ruff check --fix ."]
|
|
76
|
+
default_item_type = "cmd"
|
|
77
|
+
|
|
78
|
+
[tool.poe.tasks.backup]
|
|
79
|
+
help = "Copia de seguridad del repositorio con git bundle"
|
|
80
|
+
cmd = "python scripts/backup.py"
|
|
81
|
+
|
|
82
|
+
# --- pytest ------------------------------------------------------------------
|
|
83
|
+
[tool.pytest.ini_options]
|
|
84
|
+
addopts = ["-ra", "--strict-markers", "--import-mode=importlib", "--doctest-modules"]
|
|
85
|
+
testpaths = ["tests", "src"]
|
|
86
|
+
pythonpath = ["tests"]
|
|
87
|
+
|
|
88
|
+
# --- Astral Ruff -------------------------------------------------------------
|
|
89
|
+
[tool.ruff]
|
|
90
|
+
line-length = 88
|
|
91
|
+
target-version = "py313"
|
|
92
|
+
|
|
93
|
+
[tool.ruff.lint]
|
|
94
|
+
select = ["E", "F", "W", "I", "N", "UP", "B", "SIM", "C4", "PERF", "PTH", "RUF", "D"]
|
|
95
|
+
|
|
96
|
+
[tool.ruff.lint.pydocstyle]
|
|
97
|
+
convention = "google"
|
|
98
|
+
|
|
99
|
+
[tool.ruff.lint.isort]
|
|
100
|
+
known-first-party = ["atril"]
|
|
101
|
+
|
|
102
|
+
[tool.ruff.lint.per-file-ignores]
|
|
103
|
+
"tests/**" = ["D"]
|
|
104
|
+
|
|
105
|
+
# --- Astral ty ---------------------------------------------------------------
|
|
106
|
+
[tool.ty.environment]
|
|
107
|
+
python-version = "3.13"
|
|
108
|
+
extra-paths = ["tests"]
|
|
109
|
+
|
|
110
|
+
[tool.ty.src]
|
|
111
|
+
include = ["src", "tests"]
|