A queue algorithm test.
This project includes a run script (if windows: run.bat
, otherwise if UNIX: run
) to simplify common tasks during development, testing, and deployment. Below is a detailed description of each available run command.
-
help
Displays a list of all available commands with their descriptions. -
clean
Cleans up all build, test, coverage, and Python artifacts. This command is a combination of the following:clean-build
clean-pyc
clean-test
-
clean_build
Removes all build artifacts, including directories and files related to distribution:build/
dist/
.eggs/
*.egg-info
*.egg
-
clean_pyc
Removes Python file artifacts, including:*.pyc
,*.pyo
- Temporary files (
*~
) - Python cache directories (
__pycache__/
)
-
clean_test
Removes test and coverage artifacts:.coverage
htmlcov/
.pytest_cache
-
lint
Alias forlint/flake8
. Checks the code style usingflake8
. -
format
Alias forformat/black
. Formats the Python source and test folders.
-
test
Runs the test suite usingpytest
. -
coverage
Checks code coverage usingcoverage.py
. This generates a coverage report in the terminal and as an HTML file in thehtmlcov/
directory. The HTML report is opened in the default web browser.
- docs
Generates Sphinx HTML documentation, including API docs. The generated documentation is opened in the default web browser. This command:- Cleans the
docs/
directory. - Runs
sphinx-apidoc
to generate API documentation. - Builds the HTML documentation.
- Cleans the
- install
Cleans the environment and installs the package to the active Python'ssite-packages
.
- Default Goal
Runningmake
without any arguments will display thehelp
command by default.