From 1e07690cf167cf45f844446c18bc46d80fe0c846 Mon Sep 17 00:00:00 2001 From: barneydobson Date: Wed, 25 Sep 2024 15:07:08 +0100 Subject: [PATCH] Try fix namespace thing --- pyproject.toml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/pyproject.toml b/pyproject.toml index da6e1819..9112a5a7 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -98,6 +98,10 @@ source = "vcs" [tool.hatch.build.hooks.vcs] version-file = "_version.py" +[tool.ruff] +# Mark the directory as a namespace package +namespace-packages = ["src/swmmanywhere", "src/netcomp"] + [tool.ruff.lint] select = ["D", "E", "F", "I"] # pydocstyle, pycodestyle, Pyflakes, isort