Preserve picked patch name when possible
[stgit.git] / pyproject.toml
blob3e7bfc3657f79c7fb8d6aa5e921c0a0ebcb106fa
1 [build-system]
2 requires = ["setuptools", "wheel"]
3 build-backend = "setuptools.build_meta"
5 [tool.black]
6 line-length = 88
7 skip-string-normalization = true
8 target-version = ['py35']
9 include = '''
11     \.pyi?$
13 '''
14 exclude = '''
16     \/\..*$
17   | \/cmdlist\.py
18   | \/build\/
19   | \/dist
21 '''
23 [tool.coverage.run]
24 source = ['stgit']
25 branch = true
26 parallel = true
28 [tool.coverage.report]
29 exclude_lines = [
30   "pragma: no cover",
31   "def __repr__",
32   "if self.debug",
33   "raise AssertionError",
34   "raise NotImplementedError",
35   "if 0:",
36   "if __name__ == .__main__.:",
39 [tool.coverage.html]
40 title = 'StGit Coverage Report'
41 show_contexts = true