-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathpyproject.toml
38 lines (33 loc) · 841 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
[build-system]
# AVOID CHANGING REQUIRES: IT WILL BE UPDATED BY PYSCAFFOLD!
requires = ["setuptools>=46.1.0", "setuptools_scm[toml]>=5"]
build-backend = "setuptools.build_meta"
[tool.setuptools_scm]
# For smarter version schemes and other configuration options,
# check out https://github.com/pypa/setuptools_scm
version_scheme = "no-guess-dev"
[tool.ruff]
select = ["ALL"]
ignore = [
"ANN101", # flake8-annotations
"FBT", # flake8-boolean-trap
]
fix = true
# Always generate Python 3.8-compatible code
target-version = "py38"
src = ["src", "test"]
[tool.ruff.per-file-ignores]
"src/bluetooth_numbers/_*.py" = [
"E501", # line too long
]
"scripts/*.py" = [
"INP001", # implicit namespace package
]
"setup.py" = [
"T201", # print
]
"tests/*" = [
"S101", # assert
]
[tool.ruff.pydocstyle]
convention = "google"