forked from GitGuardian/ggshield
-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
41 lines (35 loc) · 1 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
[tool.black]
target-version = ['py36']
line-length = 88
exclude = '/(\.eggs|\.git|\.hg|\.mypy_cache|\.nox|\.tox|\.venv|\.svn|_build|buck-out|build|dist|venv|snapshots|_snap)/'
[tool.pytest.ini_options]
addopts = "--pdbcls=IPython.terminal.debugger:Pdb --durations=10 --durations-min=3.0 --tb=short"
python_files = ["tests.py", "test_*.py", "*_tests.py"]
testpaths = ["tests/"]
[tool.isort]
profile = "black"
lines_after_imports = 2
[tool.coverage.report]
exclude_lines = [
"@abstractmethod",
"if TYPE_CHECKING:",
"pragma: no cover",
"raise NotImplementedError",
"assert False"]
omit = ["tests/*"]
fail_under = 80
show_missing = true
[tool.coverage.run]
source = ["."]
omit = [".venv/*"]
[tool.pyright]
include = ["ggshield"]
reportIncompatibleMethodOverride = true
reportMissingParameterType = true
reportUnknownParameterType = true
reportUnnecessaryTypeIgnoreComment = true
[tool.scriv]
version = "literal: ggshield/__init__.py: __version__"
format = "md"
md_header_level = "2"
insert_marker = "# Changelog"