-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpyproject.toml
62 lines (57 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
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
[tool.poetry]
name = "tools"
version = "1.2.0"
description = "Yet another small C++ generic library, extending the standard library for ease of use."
authors = ["jgaffiot <j.gaffiot@laposte.net>"]
[tool.poetry.dependencies]
python = "^3.8"
cppyy = "*"
clang = "^11.0"
[tool.poetry.dev-dependencies]
cmake-format = "*"
PyYAML = "*"
pyupgrade = "*"
black = "*"
flake8 = "*"
pytest = "*"
cpplint = "*"
ipython = "*"
flake8-bandit = "*"
flake8-black = "*"
flake8-bugbear = "*"
[build-system]
requires = ["poetry-core>=1.0.0"]
build-backend = "poetry.core.masonry.api"
[tool.black]
target-version = ["py38"]
skip-string-normalization = true
exclude = '''
/(
\.git
| \.kdev4
| build
| install
)/
'''
[tool.pytest.ini_options]
addopts = '''
-vv
--exitfirst
--capture=no
--showlocals
'''
# -s
# --black
# --flake8
# --forked
python_files = "*.py"
testpaths = "test"
norecursedirs = '''
build
install
'''
# python_classes = TestOf # to avoid collecting TestMode
# Daily options
# --failed-first: relaunch all tests but failed tests first
# --pdb: launch pdb after first fail
# -k <regex>: launch only test matching the regex