Skip to content

Commit 6c6c406

Browse files
committed
chore: fix formatting issues
1 parent f930656 commit 6c6c406

15 files changed

Lines changed: 13 additions & 17 deletions

examples/bulk_address_objects.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,6 @@
3636
import panos.firewall
3737
import panos.objects
3838

39-
4039
HOSTNAME = "127.0.0.1"
4140
USERNAME = "admin"
4241
PASSWORD = "admin"

examples/ensure_security_rule.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,6 @@
3333
import panos.firewall
3434
import panos.policies
3535

36-
3736
HOSTNAME = "127.0.0.1"
3837
USERNAME = "admin"
3938
PASSWORD = "admin"

examples/prisma_access_create_remote_network.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@
2525
To use the script, you need to replace the variables below with desired values.
2626
2727
"""
28+
2829
import logging
2930
import os
3031
import sys

examples/prisma_access_list_RN_regions_bw.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,10 +20,11 @@
2020
prisma_access_list_RN_regions_bw.py
2121
==========
2222
23-
This script is an example on how to retrieve list of prisma access
23+
This script is an example on how to retrieve list of prisma access
2424
remote networks locations and bandwidth allocation and print it.
2525
2626
"""
27+
2728
__author__ = "bmigette"
2829

2930

examples/prisma_access_show_jobs_status.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,10 +20,11 @@
2020
prisma_access_show_jobs_status.py
2121
==========
2222
23-
This script is an example on how to retrieve list of prisma access
23+
This script is an example on how to retrieve list of prisma access
2424
jobs (commit and push), and how to get details of a specific job
2525
2626
"""
27+
2728
__author__ = "bmigette"
2829

2930

examples/prisma_access_show_remote_net_per_tenant.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,10 +20,11 @@
2020
prisma_access_show_remote_net_per_tenant.py
2121
==========
2222
23-
This script is an example on how to retrieve list of prisma access
23+
This script is an example on how to retrieve list of prisma access
2424
tenants and their remote networks
2525
2626
"""
27+
2728
__author__ = "bmigette"
2829

2930

panos/base.py

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3831,9 +3831,11 @@ def make_method(cls, super_method_name, super_method):
38313831
def method(self, *args, **kwargs):
38323832
retry_on_peer = kwargs.pop(
38333833
"retry_on_peer",
3834-
True
3835-
if super_method_name not in ("keygen", "op", "ad_hoc", "export")
3836-
else False,
3834+
(
3835+
True
3836+
if super_method_name not in ("keygen", "op", "ad_hoc", "export")
3837+
else False
3838+
),
38373839
)
38383840
apply_on_peer = kwargs.pop("apply_on_peer", False)
38393841
ha_peer = self.pan_device.ha_peer

tests/live/conftest.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@
66
from panos import firewall
77
from panos import panorama
88

9-
109
live_devices = {}
1110
one_fw_per_version = []
1211
one_device_type_per_version = []

tests/test_base.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,6 @@
2626
import panos.firewall
2727
import panos.network
2828

29-
3029
OBJECT_NAME = "MyObjectName"
3130
VSYS = "vsys1"
3231

tests/test_classic_objects.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,11 @@
1-
""" Tests specifically for classic objects.
1+
"""Tests specifically for classic objects.
22
33
Note: All tests in this file are for classic objects. These are to try and
44
make sure that the fix for classic objects with a self.NAME == None still
55
work properly.
66
77
"""
88

9-
109
from panos import device
1110

1211

0 commit comments

Comments
 (0)