From 3a1143199a2dd72f11762f0f7399999716df6ede Mon Sep 17 00:00:00 2001 From: onyx-and-iris Date: Fri, 7 Jun 2024 23:16:14 +0100 Subject: [PATCH] pin pysimplegui version due to license changes --- pdm.lock | 2 +- pyproject.toml | 34 ++++++++-------------------------- 2 files changed, 9 insertions(+), 27 deletions(-) diff --git a/pdm.lock b/pdm.lock index 9b2b09b..95ef088 100644 --- a/pdm.lock +++ b/pdm.lock @@ -5,7 +5,7 @@ groups = ["default", "build", "lint", "test"] strategy = ["cross_platform"] lock_version = "4.4.1" -content_hash = "sha256:6be74981983ee2ba3a99c9aa75b10f6c7433fec0854390f82029635cb34d3e0b" +content_hash = "sha256:6bd288ca3e76b99966beba75e19bb50ff7f0787e1b1981269f7a850a22706b0f" [[package]] name = "altgraph" diff --git a/pyproject.toml b/pyproject.toml index 65ec175..c69eee9 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -2,11 +2,9 @@ name = "nvda_voicemeeter" version = "0.6.3" description = "A Voicemeeter app compatible with NVDA" -authors = [ - { name = "onyx-and-iris", email = "code@onyxandiris.online" }, -] +authors = [{ name = "onyx-and-iris", email = "code@onyxandiris.online" }] dependencies = [ - "pysimplegui>=4.60.5", + "pysimplegui==4.60.5", "pyparsing>=3.1.1", "voicemeeter-api>=2.5.3", ] @@ -17,17 +15,9 @@ readme = "README.md" text = "MIT" [tool.pdm.dev-dependencies] -lint = [ - "black>=23.7.0", - "ruff>=0.0.291", - "mypy>=1.7.0", -] -test = [ - "psgdemos>=1.12.1", -] -build = [ - "pyinstaller>=6.3.0", -] +lint = ["black>=23.7.0", "ruff>=0.0.291", "mypy>=1.7.0"] +test = ["psgdemos>=1.12.1"] +build = ["pyinstaller>=6.3.0"] [tool.pdm.scripts.build] shell = "build.ps1" @@ -36,13 +26,8 @@ shell = "build.ps1" line-length = 119 [tool.ruff] -select = [ - "E", - "F", -] -ignore = [ - "E501", -] +select = ["E", "F"] +ignore = ["E501"] fixable = [ "A", "B", @@ -121,7 +106,4 @@ target-version = "py310" max-complexity = 10 [tool.ruff.per-file-ignores] -"__init__.py" = [ - "E402", - "F401", -] +"__init__.py" = ["E402", "F401"]