From aa347bad70e84e59abc1f4d489164c381117170f Mon Sep 17 00:00:00 2001 From: 7000pctAUTO Date: Sat, 31 Jan 2026 06:04:08 +0000 Subject: [PATCH] fix: resolve CI/CD failures - package discovery and linting --- pyproject.toml | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml index 83e1091..81c7637 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -40,7 +40,8 @@ dev = [ shell-speak = "shell_speak.main:main" [tool.setuptools.packages.find] -where = ["."] +where = ["shell_speak"] +include = ["shell_speak*"] [tool.pytest.ini_options] testpaths = ["tests"] @@ -55,3 +56,10 @@ target-version = "py310" [tool.ruff.lint] select = ["E", "F", "W", "C90", "I", "N", "UP"] ignore = ["E501"] + +[tool.ruff.lint.per-file-ignores] +"tests/__init__.py" = ["F401", "I001"] +"tests/conftest.py" = ["F401", "I001"] + +[tool.ruff.lint.isort] +known-first-party = ["shell_speak"]