diff --git a/.github/workflows/Python.yml b/.github/workflows/Python.yml index 9fa182e..8965866 100644 --- a/.github/workflows/Python.yml +++ b/.github/workflows/Python.yml @@ -15,11 +15,11 @@ jobs: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 - - name: Set up Python 3.10 - uses: actions/setup-python@v3 + - uses: actions/checkout@v4 + - name: Set up Python 3.14 + uses: actions/setup-python@v6 with: - python-version: "3.10" + python-version: "3.14" - name: Install dependencies run: | python -m pip install --upgrade pip diff --git a/README.md b/README.md index aee0d18..38d97a0 100644 --- a/README.md +++ b/README.md @@ -40,11 +40,11 @@ to prevent obscuring the function and logic of the algorithms / data-structures. ### Local development - Install `pyenv` -- Install current Python version: `pyenv install 3.10` -- Set global Python version: `pyenv global 3.10` +- Install current Python version: `pyenv install 3.12` +- Set global Python version: `pyenv global 3.12` - Initialize virtual environment: `python -m venv .venv` -- Activate: source `.venv/bin/activate` -- Install packages: `pip3 -r requirements.txt` +- Activate: `source .venv/bin/activate` +- Install packages: `pip3 install -r requirements.txt` ### VS Code Dev Container diff --git a/binary_tree/tests/test_pre_order_traversal.py b/binary_tree/tests/test_pre_order_traversal.py index 7524c9b..484d92d 100644 --- a/binary_tree/tests/test_pre_order_traversal.py +++ b/binary_tree/tests/test_pre_order_traversal.py @@ -1,4 +1,4 @@ -from binary_tree.preorder_traversal import preorder_traversal_iterative, preorder_traversal_morris,\ +from binary_tree.preorder_traversal import preorder_traversal_iterative, preorder_traversal_morris, \ preorder_traversal_recursive from test_helpers.test_helpers import get_binary_tree diff --git a/requirements.txt b/requirements.txt index 52d4b01..21464f6 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,12 +1,18 @@ attrs==21.4.0 -flake8==4.0.1 +build==1.4.0 +click==8.3.1 +flake8==7.3.0 iniconfig==1.1.1 -mccabe==0.6.1 -packaging==21.3 -pluggy==1.0.0 +mccabe==0.7.0 +packaging==26.0 +pluggy==1.6.0 py==1.11.0 -pycodestyle==2.8.0 -pyflakes==2.4.0 +pycodestyle==2.14.0 +pyflakes==3.4.0 +Pygments==2.19.2 pyparsing==3.0.9 -pytest==7.1.2 +pyproject_hooks==1.2.0 +pytest==9.0.2 +setuptools==82.0.1 tomli==2.0.1 +wheel==0.46.3 diff --git a/setup.cfg b/setup.cfg new file mode 100644 index 0000000..8a688d2 --- /dev/null +++ b/setup.cfg @@ -0,0 +1,3 @@ +[flake8] + +exclude = .git,__pycache__,.venv \ No newline at end of file