-
Notifications
You must be signed in to change notification settings - Fork 2
/
pyproject.toml
45 lines (39 loc) · 1.06 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
[tool.pytest.ini_options]
minversion = "6.0"
testpaths = [
"larray_editor"
]
addopts = [
"-v",
"--doctest-modules",
# this test is not automation-friendly
"--ignore=larray_editor/tests/test_api_larray.py",
# this test cannot be run with pytest (must be run from within PyCharm)
"--ignore=larray_editor/tests/run_with_console.py",
# "--cov",
]
filterwarnings = [
# turn warnings into errors (unless they are explicitly handled in tests or ignored here)
"error",
"ignore:Jupyter is migrating its paths to use standard platformdirs.*:DeprecationWarning:jupyter_client.connect.*:",
]
[tool.ruff]
# Exclude a variety of commonly ignored directories.
exclude = [
".eggs",
".git",
".ruff_cache",
".venv",
"__pypackages__",
"build",
"dist",
]
line-length = 120
[tool.ruff.lint]
# Enable Pyflakes `E` and `F` codes by default.
select = ["E", "F"]
ignore = []
# Allow autofix for all enabled rules (when `--fix`) is provided.
# fixable = ["A", "B", "C", "D", "E", "F", "..."]
# unfixable = []
per-file-ignores = {}