-
Notifications
You must be signed in to change notification settings - Fork 18
/
pyproject.toml
50 lines (49 loc) · 949 Bytes
/
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
50
[tool.ruff]
line-length = 88
preview = true # required to activate many pycodestyle errors and warnings as of 2024-03-13
builtins = ["snakemake"]
[tool.ruff.format]
quote-style = "double"
indent-style = "space"
docstring-code-format = false
line-ending = "auto"
[tool.ruff.lint]
select = [
# pycodestyle errors
"E",
# pycodestyle warnings
"W",
# Pyflakes
"F",
# pyupgrade
"UP",
# flake8-bugbear
"B",
# flake8-simplify
"SIM",
# isort
"I",
]
ignore = [
# here and below, rules are redundant with formatter, see
# https://docs.astral.sh/ruff/formatter/#conflicting-lint-rules
"E501",
"W191",
"E111",
"E114",
"E117",
]
[tool.pytest.ini_options]
norecursedirs = [
".git",
".snakemake",
"tests/model", # by default, don't execute tests requiring build results
]
testpaths = [
"tests/lib",
"tests/scripts",
]
pythonpath = [
".",
"./scripts"
]