-
Notifications
You must be signed in to change notification settings - Fork 2
/
pyproject.toml
63 lines (56 loc) · 1.56 KB
/
pyproject.toml
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
[build-system]
requires = ["flit_core>=3.4"]
build-backend = "flit_core.buildapi"
[project]
name = "ragger-duck"
version = "0.0.1.dev0"
authors = [
{ name="Guillaume Lemaitre", email="[email protected]" },
]
description = "Ragger Duck is a RAG for the scikit-learn documentation."
readme = "README.md"
requires-python = ">=3.9"
classifiers = [
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"License :: OSI Approved :: BSD License",
"Operating System :: POSIX",
"Operating System :: Unix",
"Operating System :: MacOS",
]
[project.urls]
Homepage = "https://github.com/glemaitre/sklearn-ragger-duck"
Issues = "https://github.com/glemaitre/sklearn-ragger-duck/issues"
[tool.black]
line-length = 88
target_version = ['py38', 'py39', 'py310']
preview = true
exclude = '''
/(
\.eggs # exclude a few common directories in the
| \.git # root of the project
| \.vscode
)/
'''
[tool.ruff]
# all rules can be found here: https://beta.ruff.rs/docs/rules/
select = ["E", "F", "W", "I"]
# max line length for black
line-length = 88
target-version = "py38"
exclude=[
".git",
"__pycache__",
"doc/_build",
]
[tool.ruff.per-file-ignores]
# It's fine not to put the import at the top of the file in the examples
# folder.
"scripts/*"=["E402"]
"doc/conf.py"=["E402"]
"examples/*"=["E402"]
"app/main.py"=["E402"]
"ragger_duck/scraping/tests/data/gallery/stable/*.py"=["E402"]