File: pyproject.toml

package info (click to toggle)
hg-git 1.2.0-1
  • links: PTS, VCS
  • area: main
  • in suites: sid, trixie
  • size: 1,244 kB
  • sloc: python: 8,702; sh: 185; makefile: 23
file content (41 lines) | stat: -rw-r--r-- 787 bytes parent folder | download
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
[build-system]
requires = [
  "setuptools >= 42",
  "setuptools_scm[toml]>=6.0",
  "wheel",
]
build-backend = "setuptools.build_meta"

[tool.setuptools_scm]
write_to = "hggit/__version__.py"
version_scheme = "release-branch-semver"

[tool.black]
line-length = 80
exclude = '''
build/
| wheelhouse/
| dist/
| packages/
| \.hg/
| \.mypy_cache/
| \.venv/
| tests/
| hggit/__version__.py
'''
skip-string-normalization = true

[tool.pylint.master]
#
# Current checks:
# - W0102: no mutable default argument
# - C0321: more than one statement on a single line
#
# Unique to hg-git:
# - W1401: anomalous backslash in string
# - W1402: anomalous unicode escape in string
# - C0411: third party import order
#
reports = "no"
disable = "all"
enable = ["W0102", "C0321", "W1401", "W1402", "C0411"]