Skip to content

Commit

Permalink
Switch from flake8 to ruff linting
Browse files Browse the repository at this point in the history
  • Loading branch information
jamesoff committed Dec 31, 2024
1 parent e8a5430 commit f09614f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
3 changes: 3 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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"

0 comments on commit f09614f

Please sign in to comment.