Skip to content

Commit 97e47fb

Browse files
committed
Bump black to 24.3.0 and format files
1 parent f432be6 commit 97e47fb

38 files changed

+155
-119
lines changed

docs/conf.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
"""conf.py."""
2+
23
# -*- coding: utf-8 -*-
34
#
45
# napalm documentation build configuration file, created by

napalm/base/helpers.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
"""Helper functions for the NAPALM base."""
2+
23
import ipaddress
34
import itertools
45
import logging

napalm/base/test/conftest.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
"""Test fixtures."""
2+
23
import ast
34
import json
45
import os

napalm/base/test/double.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
"""Base class for Test doubles."""
2+
23
import json
34
import re
45
import os

napalm/base/test/getters.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
"""Testing framework."""
2+
23
import functools
34
from itertools import zip_longest
45
import inspect

napalm/base/utils/jinja_filters.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
"""Some common jinja filters."""
2+
23
from typing import Dict, Any
34

45

napalm/base/utils/string_parsers.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
""" Common methods to normalize a string """
2+
23
import re
34
import struct
45
from typing import Union, List, Iterable, Dict, Optional, Tuple

napalm/base/validate.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
44
See: https://napalm.readthedocs.io/en/latest/validate.html
55
"""
6+
67
import yaml
78
import copy
89
import re

napalm/eos/eos.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1395,7 +1395,7 @@ def get_interfaces_ip(self):
13951395
interface_details.get("linkLocal", {})
13961396
.get("subnet", "::/0")
13971397
.split("/")[-1]
1398-
)
1398+
),
13991399
# when no link-local set, address will be None and maslken 0
14001400
}
14011401
)

napalm/eos/utils/versions.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
"""Some functions to work with EOS version numbers"""
2+
23
import re
34

45

0 commit comments

Comments
 (0)