forked from scikit-bio/scikit-bio
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpyproject.toml
43 lines (39 loc) · 1 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
[build-system]
requires = ["setuptools", "wheel", "numpy", "cython"]
[tool.pytest.ini_options]
addopts = [
"--doctest-modules",
"--doctest-glob",
"*.pyx",
]
doctest_optionflags = [
"NORMALIZE_WHITESPACE",
"IGNORE_EXCEPTION_DETAIL",
]
[tool.check-manifest]
ignore = [
".coveragerc",
".dockerignore",
".editorconfig",
"aarch64.Dockerfile",
"checklist.py",
# created by conda-incubator/setup-miniconda@v3 action
"ci/setup-miniconda-patched-conda_host_env.yml",
]
# Basic configurations for Ruff.
# See https://docs.astral.sh/ruff/configuration/
[tool.ruff]
target-version = "py38"
exclude = [
"skbio/**/tests/*", # ignoring to be able to implement pydocstyle
"doc/**", # documentation
"web/**", # website
]
[tool.ruff.lint]
select = ["E", "W"] # pycodestyle (E, W)
ignore = [
"D203", # puts a space before class docstrings
"D213", # puts summary on second line
"D400", # redundant with D415 in place
"D301", # forces raw string literals
]