Skip to content

Commit ced1c48

Browse files
committed
chore: Clean up Makefile
1 parent b3f292b commit ced1c48

1 file changed

Lines changed: 4 additions & 7 deletions

File tree

Makefile

Lines changed: 4 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ readme: README.md ## Regenerate README.md.
1616
docs: ## 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

2121
update-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

3939
check-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-
4744
run-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.
5855
clean: 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

Comments
 (0)