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 軟件包管理器
單位測試
靜態檢查
樣式,覆蓋,格式
找到錯誤,錯字還是錯誤?是否想在此存儲庫中重構,優化或改進某些東西?發送拉動請求!總是歡迎拉動請求!
無需創建問題。只需使用描述性提交消息,即可在接受拉動請求時對其進行充分的格式。在這裡做出貢獻就像提交更改並發送拉動請求一樣簡單!