diff --git a/examples/feed_generator_from_redis/MISPItemToRedis.py b/examples/feed-generator-from-redis/MISPItemToRedis.py similarity index 100% rename from examples/feed_generator_from_redis/MISPItemToRedis.py rename to examples/feed-generator-from-redis/MISPItemToRedis.py diff --git a/examples/feed_generator_from_redis/ObjectConstructor/CowrieMISPObject.py b/examples/feed-generator-from-redis/ObjectConstructor/CowrieMISPObject.py similarity index 100% rename from examples/feed_generator_from_redis/ObjectConstructor/CowrieMISPObject.py rename to examples/feed-generator-from-redis/ObjectConstructor/CowrieMISPObject.py diff --git a/examples/feed_generator_from_redis/README.md b/examples/feed-generator-from-redis/README.md similarity index 100% rename from examples/feed_generator_from_redis/README.md rename to examples/feed-generator-from-redis/README.md diff --git a/examples/feed_generator_from_redis/fromredis.py b/examples/feed-generator-from-redis/fromredis.py similarity index 100% rename from examples/feed_generator_from_redis/fromredis.py rename to examples/feed-generator-from-redis/fromredis.py diff --git a/examples/feed_generator_from_redis/generator.py b/examples/feed-generator-from-redis/generator.py similarity index 100% rename from examples/feed_generator_from_redis/generator.py rename to examples/feed-generator-from-redis/generator.py diff --git a/examples/feed_generator_from_redis/install.sh b/examples/feed-generator-from-redis/install.sh similarity index 100% rename from examples/feed_generator_from_redis/install.sh rename to examples/feed-generator-from-redis/install.sh diff --git a/examples/feed_generator_from_redis/server.py b/examples/feed-generator-from-redis/server.py similarity index 100% rename from examples/feed_generator_from_redis/server.py rename to examples/feed-generator-from-redis/server.py diff --git a/examples/feed_generator_from_redis/settings.default.py b/examples/feed-generator-from-redis/settings.default.py similarity index 100% rename from examples/feed_generator_from_redis/settings.default.py rename to examples/feed-generator-from-redis/settings.default.py diff --git a/examples/feed_generator/README.md b/examples/feed-generator/README.md similarity index 100% rename from examples/feed_generator/README.md rename to examples/feed-generator/README.md diff --git a/examples/feed_generator/generate.py b/examples/feed-generator/generate.py similarity index 100% rename from examples/feed_generator/generate.py rename to examples/feed-generator/generate.py diff --git a/examples/feed_generator/output/empty b/examples/feed-generator/output/empty similarity index 100% rename from examples/feed_generator/output/empty rename to examples/feed-generator/output/empty diff --git a/examples/feed_generator/settings.default.py b/examples/feed-generator/settings.default.py similarity index 100% rename from examples/feed_generator/settings.default.py rename to examples/feed-generator/settings.default.py diff --git a/mypy.ini b/mypy.ini new file mode 100644 index 0000000..78ad923 --- /dev/null +++ b/mypy.ini @@ -0,0 +1,6 @@ +[mypy] +ignore_errors = False + +show_error_context = True +pretty = True +exclude = pymisp/data|example|docs diff --git a/pyproject.toml b/pyproject.toml index ce63a7a..df7ac01 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -88,11 +88,3 @@ types-Flask = "^1.1.1" [build-system] requires = ["poetry_core>=1.0", "setuptools"] build-backend = "poetry.core.masonry.api" - -[tool.mypy] -show_error_context = true -pretty = true - -[[tool.mypy.overrides]] -module = ["pymisp.data", "pymisp.data.*", "docs.source.*", "examples", "examples.*.*"] -ignore_errors = true