-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
57 lines (50 loc) · 868 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
51
52
53
54
55
56
57
# BUILD
# =====
[build-system]
# Minimum requirements for the build system to execute.
requires = [
"setuptools >= 42",
"wheel",
]
build-backend = "setuptools.build_meta"
# TOOLS
# =====
# BLACK
# -----
[tool.black]
line-length = 88
target_version = ['py36']
include = '\.pyi?$'
exclude = '''
(
/(
| \.git/
| .*venv.*/
| __pycache__/
)
)
'''
# ISORT
# -----
[tool.isort]
# Make compatible with Black
line_length = 88
multi_line_output = 3
include_trailing_comma = true
force_grid_wrap = 0
use_parentheses = true
# Other options
order_by_type = true
lines_after_imports = 2
skip = ""
skip_glob = "*venv*"
# PYTEST
# ------
[tool.pytest.ini_options]
testpaths = "tests/"
markers = [
"slow: marks tests as slow (deselect with '-m \"not slow\"')",
]
python_files = "*test.py"
python_classes = "*Tests, *Test"
python_functions = "test_*"