-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
33 lines (27 loc) · 888 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
[tool.pyright]
pythonVersion = "3.7"
exclude = ["**/__pycache__/", ".git/", ".venv/", "__ext__/"]
extraPaths = ["./__ext__/System_MIDIRemoteScripts"]
# Suppress warnings about the Live module not existing.
reportMissingModuleSource = false
# Set up the virtual environment.
venvPath = "."
venv = ".venv"
[tool.ruff]
target-version = "py37"
# Exclude generated libs.
extend-exclude = ["__ext__"]
[tool.ruff.lint]
# - ARG: unused arguments
# - B: flake8-bugbear
# - E: pycodestyle errors
# - I: import sorting
# - W: pycodestyle warnings
extend-select = ["ARG", "B", "E", "I", "W"]
# Turn off strict max line length; B950 allows for exceeding the max
# line length in some cases.
extend-ignore = ["E501"]
[tool.ruff.lint.isort]
# Explicitly specify Live as a standard library to avoid potential
# inconsistencies across systems when sorting imports.
extra-standard-library = ["Live"]