PaloAltoNetworks / pan-os-python

The PAN-OS SDK for Python is a package to help interact with Palo Alto Networks devices (including physical and virtualized Next-generation Firewalls and Panorama). The pan-os-python SDK is object oriented and mimics the traditional interaction with the device via the GUI or CLI/API.
https://pan-os-python.readthedocs.io
ISC License
345 stars 170 forks source link

chore: Update black to full released version (22.1) #420

Closed btorresgil closed 8 months ago

btorresgil commented 2 years ago

Description

Update black to released version (not pre-released)

Motivation and Context

Finally black has a full release. There are some changes to how it formats python code. We will be using the full release going forward.

Types of changes

IMPORTANT

This PR does not include actual format changes. After this PR is merged, the following will need to happen:

deactivate
<delete your virtual environment, for example> rm -rf .venv
git checkout develop
git pull
git status (ensure no files have changed)
poetry install
poetry run make format
git add -A
git commit -m "style: Apply code format for black 22.1"
git push
shinmog commented 2 years ago

black is up to v22.3 now

shinmog commented 8 months ago

Black is at 23.12.1 in this repo at this point, so closing this out as it's basically addressed.