-
Notifications
You must be signed in to change notification settings - Fork 43
/
Copy pathpyproject.toml
38 lines (32 loc) · 924 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]
requires = ["setuptools>=69.2", "setuptools_scm[toml]>=8.0"]
build-backend = "setuptools.build_meta"
[tool.setuptools_scm]
# enables setuptools_scm to provide the dynamic version
[tool.ruff]
line-length = 88
src = ["aiomonitor", "tests", "examples"]
select = [
"E", # pycodestyle errors
"W", # pycodestyle warnings
"F", # pyflakes
"I", # isort
"B", # flake8-bugbear
"Q", # flake8-quotes
]
ignore = ["E203", "E731", "E501", "Q000"]
[tool.ruff.isort]
known-first-party = ["aiomonitor"]
split-on-trailing-comma = true
[tool.ruff.format]
preview = true
[tool.mypy]
ignore_missing_imports = true
[tool.towncrier]
package = "aiomonitor"
filename = "CHANGES.rst"
directory = "changes/"
title_format = "{version} ({project_date})"
template = "changes/template.rst"
underlines = ["-", "~", "^"]
issue_format = "(`#{issue} <https://github.com/aio-libs/aiomonitor/issues/{issue}>`_)"