-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpyproject.toml
70 lines (61 loc) · 1.44 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
64
65
66
67
68
69
70
[project]
name = "site.mahsummary"
version = "0.1.0"
description = "Website for the orgpedia/mahsummary dataset"
authors = [{ name = "mukundesh", email = "mukundesh@outlook.com" }]
requires-python = ">=3.10"
readme = "README.md"
license = "MIT"
dependencies = ["pyright>=1.1.355,<2"]
[dependency-groups]
dev = [
"jinja2>=3.1.3,<4",
"more-itertools>=10.2.0,<11",
"ruff>=0.3.3,<0.4",
"lunr>=0.7.0.post1,<0.8",
"python-dateutil>=2.9.0.post0,<3",
"pyyaml>=6.0.1,<7",
]
[tool.ruff]
# Enable Pyflakes `E` and `F` codes by default.
lint.select = ["E", "F", "W", "I001"]
lint.ignore = []
# Allow autofix for all enabled rules (when `--fix`) is provided.
lint.fixable = ["I001"] # fix only isort issues
lint.unfixable = []
lint.per-file-ignores = {}
# Exclude a variety of commonly ignored directories.
exclude = [
".git",
".mypy_cache",
".nox",
".ruff_cache",
".tox",
"__pypackages__",
"dist",
"node_modules",
"venv",
".bak",
"input",
"output",
"logs",
"conf",
"export",
"models",
"documents",
"data_packages",
"websites",
"page_images",
"html",
]
# Same as Black.
line-length = 100
# Allow unused variables when underscore-prefixed.
#dummy-variable-rgx = "^(_+|(_+[a-zA-Z0-9_]*[a-zA-Z0-9]+?))$"
# Assume Python 3.8
target-version = "py38"
[tool.pyright]
reportAttributeAccessIssue = false
# [build-system]
# requires = ["hatchling"]
# build-backend = "hatchling.build"