add lint target in Makefile (#1940)

* add lint target in Makefile

add black and ruff to dev reqs

* remove black and ruff from 3.6 reqs as ruff is not compatible with 3.6

* remove black and ruff - seems to be causing tests to fail
This commit is contained in:
Simon Blanchard 2023-06-13 13:01:24 +08:00 committed by GitHub
parent 6cfb5a6012
commit a26f6244e3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 5 additions and 1 deletions

View File

@ -19,3 +19,7 @@ force_release: clean
git push --tags
python setup.py sdist bdist_wheel
twine upload dist/*
lint:
@ black --check --skip-string-normalization --line-length 120 rq tests
@ ruff check --show-source rq tests

View File

@ -3,4 +3,4 @@ coverage==6.2
psutil
pytest
pytest-cov
sentry-sdk
sentry-sdk