mirror of https://github.com/rq/rq.git
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:
parent
6cfb5a6012
commit
a26f6244e3
4
Makefile
4
Makefile
|
@ -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
|
||||
|
|
|
@ -3,4 +3,4 @@ coverage==6.2
|
|||
psutil
|
||||
pytest
|
||||
pytest-cov
|
||||
sentry-sdk
|
||||
sentry-sdk
|
||||
|
|
Loading…
Reference in New Issue