Skip to content

Commit

Permalink
Merge pull request #628 from netbox-community/jeffg/issue-627-linter-…
Browse files Browse the repository at this point in the history
…errors

Fix linter errors Fixes #627
  • Loading branch information
jeffgdotorg authored Jul 2, 2024
2 parents 9dc54a9 + f0e8e93 commit d62cb87
Show file tree
Hide file tree
Showing 13 changed files with 13 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/py3.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
strategy:
matrix:
python: ["3.8", "3.9", "3.10", "3.11"]
netbox: ["3.3", "3.4", "3.5", "3.6", "3.7"]
netbox: ["3.4", "3.5", "3.6", "3.7"]

steps:
- uses: actions/checkout@v4
Expand Down
1 change: 1 addition & 0 deletions pynetbox/core/api.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
See the License for the specific language governing permissions and
limitations under the License.
"""

import requests

from pynetbox.core.query import Request
Expand Down
1 change: 1 addition & 0 deletions pynetbox/core/app.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
See the License for the specific language governing permissions and
limitations under the License.
"""

from pynetbox.core.endpoint import Endpoint
from pynetbox.core.query import Request
from pynetbox.models import (
Expand Down
1 change: 1 addition & 0 deletions pynetbox/core/endpoint.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
See the License for the specific language governing permissions and
limitations under the License.
"""

from pynetbox.core.query import Request, RequestError
from pynetbox.core.response import Record, RecordSet

Expand Down
1 change: 1 addition & 0 deletions pynetbox/core/query.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
See the License for the specific language governing permissions and
limitations under the License.
"""

import concurrent.futures as cf
import json
from packaging import version
Expand Down
1 change: 1 addition & 0 deletions pynetbox/core/response.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
See the License for the specific language governing permissions and
limitations under the License.
"""

import copy
from collections import OrderedDict

Expand Down
1 change: 1 addition & 0 deletions pynetbox/models/circuits.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
See the License for the specific language governing permissions and
limitations under the License.
"""

from pynetbox.core.response import Record


Expand Down
1 change: 1 addition & 0 deletions pynetbox/models/dcim.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
See the License for the specific language governing permissions and
limitations under the License.
"""

from urllib.parse import urlsplit

from pynetbox.core.query import Request
Expand Down
1 change: 1 addition & 0 deletions pynetbox/models/extras.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
See the License for the specific language governing permissions and
limitations under the License.
"""

from pynetbox.core.response import Record, JsonField


Expand Down
1 change: 1 addition & 0 deletions pynetbox/models/ipam.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
See the License for the specific language governing permissions and
limitations under the License.
"""

from pynetbox.core.response import Record
from pynetbox.core.endpoint import DetailEndpoint

Expand Down
1 change: 1 addition & 0 deletions pynetbox/models/users.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
See the License for the specific language governing permissions and
limitations under the License.
"""

from pynetbox.core.response import Record, JsonField


Expand Down
1 change: 1 addition & 0 deletions pynetbox/models/virtualization.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
See the License for the specific language governing permissions and
limitations under the License.
"""

from pynetbox.core.response import Record, JsonField
from pynetbox.models.ipam import IpAddresses

Expand Down
1 change: 1 addition & 0 deletions pynetbox/models/wireless.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
See the License for the specific language governing permissions and
limitations under the License.
"""

from pynetbox.core.response import Record


Expand Down

0 comments on commit d62cb87

Please sign in to comment.