algorithms and data structures py
1.0.0
Python实现的算法和数据结构。在这里您会发现:
# Get repository
git clone https://github.com/JCPedroza/algorithms-and-data-structures-py.git
cd algorithms-and-data-strcutrues-py
# Install dependencies in local virtual environment
poetry install # Without a dot as argument # Create project directory
mkdir algos-and-data # Need a dir for env files
cd algos-and-data
# Create and activate local virtual environment
python -m venv venv-algos-and-data # Create local virtual environment
source venv-ads/bin/activate # Activate local virtual environment
# Get repository
git clone https://github.com/JCPedroza/algorithms-and-data-structures-py.git
cd algorithms-and-data-strcutrues-py
# Install dependencies in local virtual environment
python -m pip install . # The dot is required poetry run pytest # Run al unit tests using local virtual environment随着本地虚拟环境的激活:
python -m pytest # With or without dot as argument poetry run < command > # Run command inside local virtual environment
poetry shell # Activate shell inside local virtual environment
poetry check # Validate structure of pyproject.toml 软件包管理器
单位测试
静态检查
样式,覆盖,格式
找到错误,错字还是错误?是否想在此存储库中重构,优化或改进某些东西?发送拉动请求!总是欢迎拉动请求!
无需创建问题。只需使用描述性提交消息,即可在接受拉动请求时对其进行充分的格式。在这里做出贡献就像提交更改并发送拉动请求一样简单!