forked from samba-in-kubernetes/sambacc
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpyproject.toml
34 lines (28 loc) · 819 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
[build-system]
requires = ["setuptools>=42", "wheel", "setuptools_scm>=6.0"]
build-backend = "setuptools.build_meta"
[tool.setuptools_scm]
fallback_version = "0.1"
write_to = "sambacc/_version.py"
write_to_template = """
# coding: utf-8
# Generated by setuptool_scm. Do not edit. Do not commit.
version = "{version}"
"""
# I wanted to save a 2nd var for the full hash, but it turns out there's no way
# to grab the full hash from version control and save it to the file at this
# time.
[tool.black]
line-length = 79
quiet = true
[tool.mypy]
disallow_incomplete_defs = true
[[tool.mypy.overrides]]
module = "sambacc.*"
disallow_untyped_defs = true
[[tool.mypy.overrides]]
module = "sambacc.commands.*"
disallow_untyped_defs = false
[[tool.mypy.overrides]]
module = "sambacc.schema.*"
disallow_untyped_defs = false