-
Notifications
You must be signed in to change notification settings - Fork 3
/
pyproject.toml
45 lines (38 loc) · 1.15 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
[build-system]
requires = [
"setuptools>=42",
"setuptools_scm[toml]>=6.2",
]
build-backend = "setuptools.build_meta"
[tool.setuptools_scm]
[tool.bandit]
# Excluding tests because bandit doesn't like `assert`.
exclude_dirs = ["docs/conf.py", "docs/make_docs.py", "tests", "install", "tools"]
[tool.codespell]
ignore-words-list = "elemt"
skip = "./.git,./install,./build,./.tox,*/*_cache,*/.virtual_documents,*/.ipynb_checkpoints,*.pdf,*.svg"
[tool.black]
skip-string-normalization = true
[tool.isort]
skip_gitignore = true
profile = "black"
[tool.mypy]
mypy_path = "src"
ignore_missing_imports = true
[tool.pytest.ini_options]
minversion = "7.0"
testpaths = "tests"
addopts = """
--strict-config
--strict-markers
-ra
-v
"""
filterwarnings = [
"error",
"ignore::UserWarning",
'ignore:\n Sentinel is not a public part of the traitlets API:DeprecationWarning',
'ignore:Keyword `trait` is deprecated in traitlets 5.0, use `value_trait` instead:DeprecationWarning',
'ignore:Keyword `traits` is deprecated in traitlets 5.0, use `per_key_traits` instead:DeprecationWarning',
'ignore:distutils Version classes are deprecated:DeprecationWarning',
]