mirror of
https://github.com/python-kasa/python-kasa.git
synced 2025-08-09 20:24:02 +00:00
Move tests folder to top level of project (#1242)
This commit is contained in:
@@ -71,6 +71,7 @@ include = [
|
||||
"/kasa",
|
||||
"/devtools",
|
||||
"/docs",
|
||||
"/tests",
|
||||
"/CHANGELOG.md",
|
||||
]
|
||||
|
||||
@@ -78,15 +79,11 @@ include = [
|
||||
include = [
|
||||
"/kasa",
|
||||
]
|
||||
exclude = [
|
||||
"/kasa/tests",
|
||||
]
|
||||
|
||||
[tool.coverage.run]
|
||||
source = ["kasa"]
|
||||
branch = true
|
||||
omit = [
|
||||
"kasa/tests/*",
|
||||
"kasa/experimental/*"
|
||||
]
|
||||
|
||||
@@ -107,6 +104,9 @@ exclude_lines = [
|
||||
]
|
||||
|
||||
[tool.pytest.ini_options]
|
||||
testpaths = [
|
||||
"tests",
|
||||
]
|
||||
markers = [
|
||||
"requires_dummy: test requires dummy data to pass, skipped on real devices",
|
||||
]
|
||||
@@ -154,7 +154,7 @@ ignore = [
|
||||
convention = "pep257"
|
||||
|
||||
[tool.ruff.lint.per-file-ignores]
|
||||
"kasa/tests/*.py" = [
|
||||
"tests/*.py" = [
|
||||
"D100",
|
||||
"D101",
|
||||
"D102",
|
||||
|
Reference in New Issue
Block a user