forked from cea-hpc/rift
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
31 lines (28 loc) · 1.27 KB
/
pyproject.toml
File metadata and controls
31 lines (28 loc) · 1.27 KB
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
[tool.pytest.ini_options]
pythonpath = "lib"
testpaths = "tests"
python_files = "*.py"
# required to catch exception in main()
log_level = "DEBUG"
addopts = "-v --cov=rift --cov-report=term-missing"
[tool.pylint.main]
# Specify a score threshold under which the program will exit with error.
fail-under = 9.80
# Minimum Python version to use for version dependent checks. Will default to the
# version used to run pylint.
py-version = "3.6"
[tool.pylint."messages control"]
# Disable the message, report, category or checker with the given id(s). You can
# either give multiple identifiers separated by comma (,) or put this option
# multiple times (only on the command line, not in the configuration file where
# it should appear only once). You can also use "--disable=all" to disable
# everything first and then re-enable specific checks. For example, if you want
# to run only the similarities checker, you can use "--disable=all
# --enable=similarities". If you want to run only the classes checker, but have
# no Warning level messages displayed, use "--disable=all --enable=classes
# --disable=W".
#
# Currently disabled checkers are:
# E1101: Used when a variable is accessed for a nonexistent member.
# W0511: Used when a warning note as FIXME or XXX is detected.
disable = ["E1101", "W0511"]