-
Notifications
You must be signed in to change notification settings - Fork 32
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Anthony House
committed
Apr 19, 2024
1 parent
dab8f2d
commit b6e0bbe
Showing
8 changed files
with
867 additions
and
750 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
[tool.poetry] | ||
name = "napalm_panos" | ||
version = "0.6.0" | ||
version = "0.6.1" | ||
description = "Network Automation and Programmability Abstraction Layer with Multivendor support for PANOS." | ||
authors = ["Gabriele Gerbino <[email protected]>"] | ||
license = "Apache-2.0" | ||
|
@@ -13,11 +13,10 @@ classifiers = [ | |
"Intended Audience :: Developers", | ||
"Development Status :: 4 - Beta", | ||
"Programming Language :: Python :: 3", | ||
"Programming Language :: Python :: 3.6", | ||
"Programming Language :: Python :: 3.7", | ||
"Programming Language :: Python :: 3.8", | ||
"Programming Language :: Python :: 3.9", | ||
"Programming Language :: Python :: 3.10", | ||
"Programming Language :: Python :: 3.11", | ||
] | ||
include = [ | ||
"CHANGELOG.md", | ||
|
@@ -27,7 +26,7 @@ include = [ | |
] | ||
|
||
[tool.poetry.dependencies] | ||
python = ">=3.8,<4.0" | ||
python = ">=3.8,<3.12" | ||
cryptography = "3.3.2" | ||
napalm = "4.1.0" | ||
lxml = "5.2.1" | ||
|
@@ -37,13 +36,12 @@ requests-toolbelt = "*" | |
xmltodict = "*" | ||
|
||
|
||
[tool.poetry.dev-dependencies] | ||
[tool.poetry.group.dev.dependencies] | ||
bandit = "*" | ||
black = {version="^21.10b0", python="^3.6.2"} | ||
coverage = "*" | ||
invoke = "*" | ||
flake8 = "*" | ||
pylint = {version="2.12.2", python="^3.6.2"} | ||
pylint = "*" | ||
pytest = "*" | ||
pyyaml = "*" | ||
pydocstyle = "*" | ||
|
@@ -58,10 +56,12 @@ pytest-json = "*" | |
pytest-pythonpath = "*" | ||
pylama = "*" | ||
flake8-import-order = "*" | ||
black = "*" | ||
|
||
|
||
[tool.black] | ||
line-length = 120 | ||
target-version = ['py37'] | ||
target-version = ['py38', 'py39', 'py310', 'py311'] | ||
include = '\.pyi?$' | ||
exclude = ''' | ||
( | ||
|
@@ -92,7 +92,6 @@ good-names="i,ip,j,k,ex,Run,_" | |
# Pylint and Black disagree about how to format multi-line arrays; Black wins. | ||
disable = """, | ||
line-too-long, | ||
bad-continuation, | ||
consider-iterating-dictionary, | ||
too-many-statements, | ||
""" | ||
|
@@ -105,9 +104,10 @@ notes = """, | |
""" | ||
|
||
[tool.pytest.ini_options] | ||
python_paths = "./" | ||
pythonpaths = "./" | ||
testpaths = "tests/" | ||
addopts = "-vv --doctest-modules -p no:warnings --ignore-glob='*mock*'" | ||
|
||
[build-system] | ||
requires = ["poetry>=0.12"] | ||
build-backend = "poetry.masonry.api" | ||
requires = ["poetry_core>=1.0.0"] | ||
build-backend = "poetry.core.masonry.api" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,5 @@ | ||
"""Test fixtures.""" | ||
|
||
from builtins import super | ||
|
||
from napalm.base.test import conftest as parent_conftest | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,5 @@ | ||
"""Basic test for version check.""" | ||
|
||
import os | ||
import unittest | ||
|
||
|