@@ -16,7 +16,7 @@ readme: README.md ## Regenerate README.md.
1616docs : # # Build the documentation locally.
1717 poetry run sphinx-build -E -b html docs build/docs
1818
19- check : check-bandit check-black check-flake8 check-isort check-safety check-ports check- docs-spelling # # Check it all!
19+ check : check-bandit check-black check-flake8 check-isort check-safety check-docs-spelling # # Check it all!
2020
2121update-spelling-wordlist : # # Update the spelling word list.
2222 scripts/update-spelling-wordlist.sh
@@ -38,12 +38,9 @@ check-bandit: ## Check for security warnings in code using bandit.
3838
3939check-safety : # # Check for vulnerabilities in dependencies using safety.
4040 poetry run pip freeze 2> /dev/null | \
41- grep -v aria2p | \
41+ grep -v git-changelog | \
4242 poetry run safety check --stdin --full-report 2> /dev/null
4343
44- check-ports : # # Check if the ports used in the tests are all unique.
45- scripts/check-ports.sh
46-
4744run-black : # # Lint the code using black.
4845 poetry run black src/ tests/ docs/conf.py
4946
@@ -58,10 +55,10 @@ clean-tests: ## Delete temporary tests files.
5855clean : clean-tests # # Delete temporary files.
5956 @rm -rf build 2> /dev/null
6057 @rm -rf dist 2> /dev/null
61- @rm -rf src/aria2p .egg-info 2> /dev/null
58+ @rm -rf src/* .egg-info 2> /dev/null
6259 @rm -rf .coverage* 2> /dev/null
6360 @rm -rf .pytest_cache 2> /dev/null
6461 @rm -rf pip-wheel-metadata 2> /dev/null
6562
66- test : check-ports clean-tests # # Run the tests using pytest.
63+ test : clean-tests # # Run the tests using pytest.
6764 poetry run pytest -n6 2> /dev/null
0 commit comments