Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix linter errors; remove NetBox 3.3 from test matrix. Fixes #627 #628

Merged
merged 4 commits into from
Jul 2, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading