From 03f19580bcbfeff80dcc4b4d15c7eb756757d43b Mon Sep 17 00:00:00 2001 From: Harpo Date: Mon, 15 Jan 2024 17:53:52 -0800 Subject: [PATCH] Fixes project script syntax --- pyproject.toml | 30 +++++++++++++++++------------- 1 file changed, 17 insertions(+), 13 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index e81a18a..3dca5dd 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -2,27 +2,31 @@ name = "holophonor" dynamic = ["version"] description = "Live looping, unlimited!" -authors = [ - {name = "Quaternion Media", email = "holophonor@quaternion.media"}, -] -dependencies = [ - "pluggy<1.1,>=1.0.0", - "python-rtmidi<1.5,>=1.4.9", - "loguru>=0.6.0", -] +authors = [{ name = "Quaternion Media", email = "holophonor@quaternion.media" }] +dependencies = ["pluggy~=1.0", "python-rtmidi~=1.4", "loguru~=0.6"] requires-python = ">=3.8.1, < 4" readme = "README.md" -license = {text = "MIT"} - -[project.scripts] -holophonor = "holophonor.main.py" - +license = { text = "MIT" } [tool.pdm] version = { source = "file", path = "holophonor/_version.py" } +[project.scripts] +holophonor = "holophonor.main:main" [build-system] requires = ["pdm-backend"] build-backend = "pdm.backend" +[tool.ruff] +ignore = [ + # line too long + "E501", + # Ambiguous variable names + "E741", + # imported but unused + "F401", + # star imports + "F403", + "F405", +]