-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathpyproject.toml
More file actions
114 lines (99 loc) · 2.51 KB
/
Copy pathpyproject.toml
File metadata and controls
114 lines (99 loc) · 2.51 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
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[project]
name = "namedisl"
version = "2026.1.1"
description = 'Name-oriented polyhedral operations'
readme = "README.rst"
requires-python = ">=3.10"
license = "MIT"
# keywords = []
authors = [
{ name = "Andreas Kloeckner", email = "inform@tiker.net" },
]
classifiers = [
"Development Status :: 4 - Beta",
"Programming Language :: Python",
"Programming Language :: Python :: 3",
]
dependencies = [
"constantdict",
"islpy",
"typing-extensions>=4.10",
]
[project.urls]
Documentation = "https://documen.tician.de/namedisl/"
Homepage = "https://github.com/inducer/namedisl/"
[tool.ruff]
preview = true
[tool.ruff.lint]
extend-select = [
"B", # flake8-bugbear
"C", # flake8-comprehensions
"E", # pycodestyle
"F", # pyflakes
"G", # flake8-logging-format
"I", # flake8-isort
"N", # pep8-naming
"NPY", # numpy
"Q", # flake8-quotes
"UP", # pyupgrade
"RUF", # ruff
"W", # pycodestyle
"TC",
"SIM",
]
extend-ignore = [
"C90", # McCabe complexity
"multiple-spaces-before-operator",
"missing-whitespace-around-arithmetic-operator",
"module-import-not-at-top-of-file",
"printf-string-formatting",
"f-string",
"non-empty-init-module",
]
[tool.ruff.lint.per-file-ignores]
"pytools/test/*.py" = ["exec-builtin"]
"doc/conf.py" = ["exec-builtin"]
[tool.ruff.lint.flake8-quotes]
docstring-quotes = "double"
inline-quotes = "double"
multiline-quotes = "double"
[tool.ruff.lint.isort]
combine-as-imports = true
known-local-folder = [
"namedisl",
]
known-first-party = ["islpy"]
lines-after-imports = 2
required-imports = ["from __future__ import annotations"]
[tool.typos.default]
extend-ignore-re = [
"(?Rm)^.*(#|//)\\s*spellchecker:\\s*disable-line$"
]
[tool.basedpyright]
reportImplicitStringConcatenation = "none"
reportUnnecessaryIsInstance = "none"
reportUnusedCallResult = "none"
reportExplicitAny = "none"
reportPrivateUsage = "none"
reportPrivateImportUsage = "none"
reportUnreachable = "hint"
reportUnnecessaryComparison = "hint"
# This reports even cycles that are qualified by 'if TYPE_CHECKING'. Not what
# we care about at this moment.
# https://github.com/microsoft/pyright/issues/746
reportImportCycles = "none"
pythonVersion = "3.10"
pythonPlatform = "All"
exclude = [
"proto-tests/*.py",
"contrib/mem-pattern-explorer/*.py",
"loopy/ipython_ext.py",
"loopy/frontend/fortran/*.py",
"doc",
".conda-root",
".env",
".venv",
]