forked from gramaziokohler/roslibpy
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpyproject.toml
28 lines (26 loc) · 818 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
[tool.black]
line-length = 120
extend-exclude = "src/roslibpy/comm/comm_cli.py"
[tool.pytest.ini_options]
minversion = "6.0"
testpaths = ["tests"]
python_files = [
"test_*.py",
"*_test.py",
"tests.py"
]
addopts = "-ra --strict --doctest-modules --doctest-glob=*.rst --tb=short"
doctest_optionflags= "NORMALIZE_WHITESPACE IGNORE_EXCEPTION_DETAIL ALLOW_UNICODE ALLOW_BYTES"
filterwarnings = "ignore::DeprecationWarning"
[tool.isort]
# These settings -including the shorter-than-the rest- line length avoid
# conflicts between isort and black import formatting
line_length = 88
multi_line_output = 3
include_trailing_comma = true
force_grid_wrap = 0
use_parentheses = true
ensure_newline_before_comments = true
known_first_party = "roslibpy"
default_section = "THIRDPARTY"
forced_separate = "test_roslibpy"