Skip to content

Commit c2c39d2

Browse files
committed
Move Python source to python dir
The `src` dir will be used for the rust bindings Signed-off-by: Sahas Subramanian <[email protected]>
1 parent 8e5f867 commit c2c39d2

File tree

4 files changed

+3
-2
lines changed

4 files changed

+3
-2
lines changed

pyproject.toml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ include = '\.pyi?$'
100100
[tool.isort]
101101
profile = "black"
102102
line_length = 88
103-
src_paths = ["benchmarks", "examples", "src", "tests"]
103+
src_paths = ["benchmarks", "examples", "python", "tests"]
104104

105105
[tool.flake8]
106106
# We give some flexibility to go over 88, there are cases like long URLs or
@@ -150,7 +150,7 @@ disable = [
150150

151151
[tool.pytest.ini_options]
152152
addopts = "-W=all -Werror -Wdefault::DeprecationWarning -Wdefault::PendingDeprecationWarning -vv"
153-
testpaths = ["tests", "src"]
153+
testpaths = ["tests", "python"]
154154
asyncio_mode = "auto"
155155
asyncio_default_fixture_loop_scope = "function"
156156
required_plugins = ["pytest-asyncio", "pytest-mock"]
@@ -166,6 +166,7 @@ namespace_packages = true
166166
#no_incremental = true
167167
packages = ["frequenz.microgrid_component_graph"]
168168
strict = true
169+
mypy_path = "python"
169170

170171
[[tool.mypy.overrides]]
171172
module = ["mkdocs_macros.*", "sybil", "sybil.*"]
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)