-
Notifications
You must be signed in to change notification settings - Fork 12
/
pyproject.toml
49 lines (40 loc) · 1.04 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
[tool.black]
line-length = 100
target-version = ['py310']
fast = true
[tool.isort]
profile = "black"
extend_skip_glob = ["tests/**", "*.pyx", "testdata/**", "**/operators/__init__.py"]
skip_gitignore = true
line_length = 100
multi_line_output = 9
force_single_line = true
float_to_top = true
ensure_newline_before_comments = true
[tool.pylint.messages_control]
disable = "C0103,C0415"
[tool.mypy]
exclude = ["bench", "#"]
[tool.bandit]
exclude_dirs = ["**/test_*.py",]
skips = ["B101", "B105", "B324", "B608"]
# B101 - Use of ASSERT
# B105 - Hardcoded passwords
# B324 - Use of weak crypto
# B608 - Hardcoded SQL
[build-system]
requires = ["setuptools>=42", "wheel", "Cython", "numpy"]
build-backend = "setuptools.build_meta"
[tool.ruff]
line-length = 100
indent-width = 4
target-version = 'py310'
[tool.ruff.format]
docstring-code-format = true
docstring-code-line-length = 100
[tool.ruff.lint]
select = ["SIM"]
ignore = []
[tool.ruff.lint.per-file-ignores]
"**/cost_based_optimizer/**" = ["SIM102"]
"opteryx/managers/expression/ops.py" = ["SIM118"]