diff --git a/Makefile b/Makefile index b85df468..036680b9 100644 --- a/Makefile +++ b/Makefile @@ -10,7 +10,7 @@ endif PIPENV := $(shell which poetry) flake8: - poetry run flake8 *.py simplemonitor/ + poetry run ruff check monitor.py simplemonitor/ integration-tests: PATH="$(MOCKSPATH)$(PATH)" $(PIPENV) run coverage run monitor.py -1 -v -d -f $(INTEGRATION_CONFIG) -j 1 diff --git a/pyproject.toml b/pyproject.toml index 16fa195d..52b09c5c 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -73,6 +73,9 @@ types-setuptools = "^75.6.0" ruff = ">=0.5.1,<0.8.4" boto3-stubs = {extras = ["sns"], version = "^1.35.63"} +[tool.ruff.lint] +ignore = ["F401"] + [build-system] requires = ["poetry-core>=1.0.0"] build-backend = "poetry.core.masonry.api"