-
Notifications
You must be signed in to change notification settings - Fork 622
Expand file tree
/
Copy pathpyproject.toml
More file actions
37 lines (30 loc) · 1.13 KB
/
pyproject.toml
File metadata and controls
37 lines (30 loc) · 1.13 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
# SPDX-FileCopyrightText: Copyright (c) 2023-2026, NVIDIA CORPORATION.
# 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 = 95
[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"]