diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 3ea6f24..fd5aeec 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -29,13 +29,13 @@ repos: stages: [commit-msg] - id: mypy name: mypy - entry: poetry run mypy bugmon + entry: poetry run mypy src language: system pass_filenames: false types: [ python ] - id: pylint name: pylint - entry: poetry run pylint -j 0 bugmon + entry: poetry run pylint -j 0 src language: system pass_filenames: false types: [ python ] diff --git a/pyproject.toml b/pyproject.toml index bc4f55a..b7c8bdd 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -51,6 +51,7 @@ maintainers = [ "Mozilla Fuzzing Team " ] name = "bugmon" +packages = [{from = "src", include = "bugmon"}] readme = "README.md" repository = "https://github.com/MozillaSecurity/bugmon" version = "3.5.2" diff --git a/bugmon/__init__.py b/src/bugmon/__init__.py similarity index 100% rename from bugmon/__init__.py rename to src/bugmon/__init__.py diff --git a/bugmon/__main__.py b/src/bugmon/__main__.py similarity index 100% rename from bugmon/__main__.py rename to src/bugmon/__main__.py diff --git a/bugmon/bug.py b/src/bugmon/bug.py similarity index 100% rename from bugmon/bug.py rename to src/bugmon/bug.py diff --git a/bugmon/bugmon.py b/src/bugmon/bugmon.py similarity index 100% rename from bugmon/bugmon.py rename to src/bugmon/bugmon.py diff --git a/bugmon/evaluator_configs/__init__.py b/src/bugmon/evaluator_configs/__init__.py similarity index 100% rename from bugmon/evaluator_configs/__init__.py rename to src/bugmon/evaluator_configs/__init__.py diff --git a/bugmon/evaluator_configs/base.py b/src/bugmon/evaluator_configs/base.py similarity index 100% rename from bugmon/evaluator_configs/base.py rename to src/bugmon/evaluator_configs/base.py diff --git a/bugmon/evaluator_configs/browser.py b/src/bugmon/evaluator_configs/browser.py similarity index 100% rename from bugmon/evaluator_configs/browser.py rename to src/bugmon/evaluator_configs/browser.py diff --git a/bugmon/evaluator_configs/js.py b/src/bugmon/evaluator_configs/js.py similarity index 100% rename from bugmon/evaluator_configs/js.py rename to src/bugmon/evaluator_configs/js.py diff --git a/bugmon/exceptions.py b/src/bugmon/exceptions.py similarity index 100% rename from bugmon/exceptions.py rename to src/bugmon/exceptions.py diff --git a/bugmon/main.py b/src/bugmon/main.py similarity index 100% rename from bugmon/main.py rename to src/bugmon/main.py diff --git a/bugmon/py.typed b/src/bugmon/py.typed similarity index 100% rename from bugmon/py.typed rename to src/bugmon/py.typed diff --git a/bugmon/search_params/fixed-secbug.json b/src/bugmon/search_params/fixed-secbug.json similarity index 100% rename from bugmon/search_params/fixed-secbug.json rename to src/bugmon/search_params/fixed-secbug.json diff --git a/bugmon/search_params/ionmonkey.json b/src/bugmon/search_params/ionmonkey.json similarity index 100% rename from bugmon/search_params/ionmonkey.json rename to src/bugmon/search_params/ionmonkey.json diff --git a/bugmon/search_params/langfuzz.json b/src/bugmon/search_params/langfuzz.json similarity index 100% rename from bugmon/search_params/langfuzz.json rename to src/bugmon/search_params/langfuzz.json diff --git a/bugmon/search_params/marked.json b/src/bugmon/search_params/marked.json similarity index 100% rename from bugmon/search_params/marked.json rename to src/bugmon/search_params/marked.json diff --git a/bugmon/utils.py b/src/bugmon/utils.py similarity index 100% rename from bugmon/utils.py rename to src/bugmon/utils.py