-
-
Notifications
You must be signed in to change notification settings - Fork 13
/
pyproject.toml
40 lines (35 loc) · 865 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
39
40
[project]
name = "Harmonbot"
dynamic = ["version"]
requires-python = "==3.11.*"
[build-system]
requires = ["setuptools==69.0.2", "setuptools-scm==8.0.4"]
build-backend = "setuptools.build_meta"
[tool.mypy]
packages = ["units"]
python_version = "3.11"
[tool.ruff]
ignore = [
"E501", # line-too-long
"TD002", # missing-todo-author
"TD003", # missing-todo-link
"UP015", # redundant-open-modes
]
include = ["tests/*.py", "units/*.py"]
select = [
"E", # pycodestyle error
"EXE", # flake8-executable
"F", # Pyflakes
"FA", # flake8-future-annotations
"PIE", # flake8-pie
"PYI", # flake8-pyi
"SLOT", # flake8-slots
"TCH", # flake8-type-checking
"TD", # flake8-todos
"UP", # pyupgrade
"YTT", # flake8-2020
]
target-version = "py311"
[tool.setuptools]
packages = ["units"]
[tool.setuptools_scm]