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"]