-
Notifications
You must be signed in to change notification settings - Fork 1
/
pyproject.toml
77 lines (65 loc) · 1.52 KB
/
pyproject.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
[tool.poetry]
name = "download_router_config"
version = "4.1.1"
description = "A Python script to capture the running-config of Cisco Routers and Switches."
authors = ["Aaron Melton <aaron@aaronmelton.com>"]
[tool.poetry.dependencies]
python = "^3.12"
aaron-common-libs = {git = "https://github.com/aaronmelton/aaron-common-libs.git"}
napalm = "^4.1.0"
rich = "^13.7.0"
[tool.poetry.dev-dependencies]
bandit = "^1.7.4"
black = "^24.4.2"
coverage = "^7.2.7"
flake8 = "^7.0.0"
isort = "^5.10.1"
pydocstyle = "^6.1.1"
pylint = "^3.1.0"
pytest = "^8.2.0"
pytest-env = "^1.0.1"
toml = "^0.10.2"
Flake8-pyproject = "^1.2.3"
[build-system]
requires = ["poetry-core>=1.0.0"]
build-backend = "poetry.core.masonry.api"
[tool.bandit]
skips = ["B108"]
exclude_dirs = ["./tests/"]
[tool.black]
line-length = 120
include = '\.pyi?$'
exclude = '''
/(
\.git
| \.tox
| \.venv
| env/
| _build
| build
| dist
)/
'''
[tool.flake8]
ignore = ['E501', 'W503']
[tool.isort]
profile = "black"
[tool.pydocstyle]
convention = '''google'''
inherit = false
match = '''(?!__init__).*\.py'''
match-dir = '''(?!tests)[^\.].*'''
[tool.pylint.master]
init-hook = 'import os, sys; sys.path.append(os.path.dirname("download_router_config/"));'
[tool.pylint.messages_control]
disable = '''
line-too-long,
'''
[tool.pylint.miscellaneous]
notes = ''',
TODO.md,
'''
[tool.pytest.ini_options]
pythonpath = [".", "download_router_config/"]
env = ["LOG_LEVEL = DEBUG",
"LOG_PATH = /tmp/"]