forked from mrchi/poc-of-oauth-binding-attack
-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
47 lines (38 loc) · 960 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
# https://black.readthedocs.io/en/stable/usage_and_configuration/the_basics.html
[tool.black]
target-version = ["py39"]
required-version = "22.3.0"
line-length = 88
# https://pycqa.github.io/isort/docs/configuration/options.html
[tool.isort]
profile = "black"
py_version = "39"
skip_gitignore = true
line_length = 88
multi_line_output = 3
include_trailing_comma = true
force_grid_wrap = 0
use_parentheses = true
ensure_newline_before_comments = true
# https://docs.pytest.org/en/latest/reference/customize.html#pyproject-toml
[tool.pytest.ini_options]
python_files = "test_*.py"
testpaths = [
"tests",
]
# https://coverage.readthedocs.io/en/latest/config.html
[tool.coverage.run]
branch = true
command_line = "-m pytest"
omit = [
".venv/*",
"venv/*",
"tests/*",
]
[tool.coverage.report]
precision = 2
show_missing = true
exclude_lines = [
"pragma: no cover",
]
# flake8 is not here. See: https://github.com/PyCQA/flake8/issues/234