fix: resolve CI/CD failures - package discovery and linting
This commit is contained in:
@@ -40,7 +40,8 @@ dev = [
|
|||||||
shell-speak = "shell_speak.main:main"
|
shell-speak = "shell_speak.main:main"
|
||||||
|
|
||||||
[tool.setuptools.packages.find]
|
[tool.setuptools.packages.find]
|
||||||
where = ["."]
|
where = ["shell_speak"]
|
||||||
|
include = ["shell_speak*"]
|
||||||
|
|
||||||
[tool.pytest.ini_options]
|
[tool.pytest.ini_options]
|
||||||
testpaths = ["tests"]
|
testpaths = ["tests"]
|
||||||
@@ -55,3 +56,10 @@ target-version = "py310"
|
|||||||
[tool.ruff.lint]
|
[tool.ruff.lint]
|
||||||
select = ["E", "F", "W", "C90", "I", "N", "UP"]
|
select = ["E", "F", "W", "C90", "I", "N", "UP"]
|
||||||
ignore = ["E501"]
|
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"]
|
||||||
|
|||||||
Reference in New Issue
Block a user