-
Notifications
You must be signed in to change notification settings - Fork 23
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
Showing
50 changed files
with
200 additions
and
185 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
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
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,5 +1,6 @@ | ||
{ | ||
"recommendations": [ | ||
"ms-vscode-remote.vscode-remote-extensionpack" | ||
"ms-vscode-remote.vscode-remote-extensionpack", | ||
"tamasfe.even-better-toml" | ||
] | ||
} |
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
File renamed without changes.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -79,6 +79,7 @@ independent. | |
upgrading | ||
changelog | ||
API Docs <api/modules> | ||
Plugins API <plugins_api/modules> | ||
|
||
|
||
|
||
|
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,5 +1,63 @@ | ||
[build-system] | ||
requires = ["setuptools>=42"] | ||
build-backend = "setuptools.build_meta" | ||
|
||
[project] | ||
name = "puresnmp" | ||
version = "2.0.1" | ||
authors = [ | ||
{ name = "Michel Albert", email = "[email protected]" }, | ||
{ name = "POST Luxembourg", email = "[email protected]" }, | ||
] | ||
description = "Pure Python SNMP implementation" | ||
keywords = ["networking", "snmp"] | ||
classifiers = [ | ||
"Development Status :: 5 - Production/Stable", | ||
"Intended Audience :: Developers", | ||
"Intended Audience :: System Administrators", | ||
"License :: OSI Approved :: MIT License", | ||
"Operating System :: OS Independent", | ||
"Programming Language :: Python", | ||
"Programming Language :: Python :: 3", | ||
"Topic :: System :: Networking", | ||
"Topic :: System :: Networking :: Monitoring", | ||
"Topic :: System :: Systems Administration", | ||
] | ||
license = { text = "MIT" } | ||
|
||
requires-python = ">=3.6" | ||
dependencies = [ | ||
'dataclasses; python_version < "3.7"', | ||
'importlib_metadata; python_version < "3.8"', | ||
'typing_extensions; python_version < "3.8"', | ||
'x690 >= 1.0, <2.0', | ||
] | ||
|
||
[project.optional-dependencies] | ||
readthedocs = ["fabric"] | ||
crypto = ["puresnmp-crypto >= 1.0.1"] | ||
dev = [ | ||
'asyncmock; python_version < "3.8"', | ||
"black >= 20.8b1", | ||
"fabric >= 2.6.0", | ||
"furo", | ||
"mypy", | ||
"pylint", | ||
"pytest", | ||
"pytest-asyncio", | ||
"pytest-cov", | ||
"pytest-dependency", | ||
"sphinx", | ||
"types-dataclasses", | ||
] | ||
|
||
[project.urls] | ||
Homepage = "https://github.com/exhuma/puresnmp" | ||
"Bug Tracker" = "https://github.com/exhuma/puresnmp/issues" | ||
Repository = "https://github.com/exhuma/puresnmp" | ||
|
||
[tool.black] | ||
line_length = 80 | ||
line-length = 80 | ||
|
||
[tool.isort] | ||
force_grid_wrap = 0 | ||
|
@@ -20,17 +78,7 @@ ignore-long-lines = ".*(https?://|VarBind|ObjectIdentifier|# type: ignore).*" | |
ignore = [".git", "env"] | ||
|
||
[tool.pylint.basic] | ||
good-names = [ | ||
"i", | ||
"j", | ||
"k", | ||
"n", | ||
"m", | ||
"ex", | ||
"ip", | ||
"Run", | ||
"_" | ||
] | ||
good-names = ["i", "j", "k", "n", "m", "ex", "ip", "Run", "_"] | ||
|
||
[tool.pylint.reports] | ||
output-format = "colorized" | ||
|
@@ -45,14 +93,4 @@ asyncio_mode = "strict" | |
filterwarnings = ["error"] | ||
minversion = "6.0" | ||
# addopts = "--doctest-modules --cov=puresnmp --cov=puresnmp_plugins --cov-report=term-missing" | ||
testpaths = [ | ||
"tests", | ||
"puresnmp", | ||
] | ||
|
||
[build-system] | ||
requires = [ | ||
"setuptools>=42", | ||
"wheel" | ||
] | ||
build-backend = "setuptools.build_meta" | ||
testpaths = ["tests", "puresnmp"] |
Oops, something went wrong.