Repository navigation
Expand file tree
/
Copy pathpyproject.toml
More file actions
67 lines (58 loc) · 1.99 KB
/
Copy pathpyproject.toml
File metadata and controls
67 lines (58 loc) · 1.99 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
# SPDX-FileCopyrightText: Copyright (c) 2023-2026, NVIDIA CORPORATION & AFFILIATES. All rights reserved.
# SPDX-License-Identifier: Apache-2.0
[tool.codespell]
# note: pre-commit passes explicit lists of files here, which this skip file list doesn't override -
# this is only to allow you to run codespell interactively
skip = "./.git,./.github,./cpp/build,.*egg-info.*,./.mypy_cache,.*_skbuild,CHANGELOG.md,_stop_words.py,,*stemmer.*"
# ignore short words, and typename parameters like OffsetT
ignore-regex = "\\b(.{1,4}|[A-Z]\\w*T)\\b"
ignore-words-list = "inout,numer,startd,couldn,referr,thirdparty,rocess"
# use the 'clear' dictionary for unambiguous spelling mistakes
builtin = "clear"
# disable warnings about binary files and wrong encoding
quiet-level = 3
[tool.cython-lint]
max-line-length = 105
[tool.rstcheck]
report_level = "INFO"
# rstcheck only knows about directives coming from 'docutils', not
# those supplied by extensions. This list of ignores suppresses errors
# like "no directive entry".
ignore_directives = [
# rstcheck does not understand 'sphinx.ext.auto*' directives
"autoclass",
"autofunction",
"automodule",
"autosummary",
# rstcheck does not understand 'sphinx-design' directives
"dropdown",
"grid",
"grid-item-card",
# rstcheck does not understand 'doxygen' directives
"doxygenenum",
"doxygenfunction",
"doxygengroup",
"doxygennamespace",
"doxygenstruct",
"doxygentypedef"
]
ignore_messages = '''(?x)(
# ignore links that look "unused" because they're there to provide stable anchors in hyperlinks
Hyperlink\ target\ .*\ is\ not\ referenced
)
'''
[tool.run-clang-tidy]
ignore = "[.]cu$|_deps|examples/kmeans/"
[tool.ruff]
line-length = 79
extend-include = ["*.pyx", "*.pxd"]
extend-exclude = ["*.ipynb"]
[tool.ruff.lint]
extend-ignore = [
"F811",
]
[tool.ruff.lint.per-file-ignores]
"*.pyx" = ["E999", "E225", "E226", "E227"]
"*.pxd" = ["E999", "E225", "E226", "E227"]
"__init__.py" = ["F401"]
"cpp/examples/**" = ["F401"]