nautobot-dev-example 2.2.0__tar.gz → 2.2.2__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {nautobot_dev_example-2.2.0 → nautobot_dev_example-2.2.2}/PKG-INFO +1 -1
- {nautobot_dev_example-2.2.0 → nautobot_dev_example-2.2.2}/nautobot_dev_example/__init__.py +0 -2
- {nautobot_dev_example-2.2.0 → nautobot_dev_example-2.2.2}/nautobot_dev_example/forms.py +2 -1
- nautobot_dev_example-2.2.2/nautobot_dev_example/migrations/0002_alter_devexample_description_alter_devexample_name.py +21 -0
- {nautobot_dev_example-2.2.0 → nautobot_dev_example-2.2.2}/nautobot_dev_example/models.py +3 -2
- nautobot_dev_example-2.2.2/nautobot_dev_example/views.py +54 -0
- {nautobot_dev_example-2.2.0 → nautobot_dev_example-2.2.2}/pyproject.toml +19 -6
- nautobot_dev_example-2.2.0/nautobot_dev_example/static/nautobot_dev_example/docs/404.html +0 -1322
- nautobot_dev_example-2.2.0/nautobot_dev_example/static/nautobot_dev_example/docs/admin/compatibility_matrix.html +0 -1452
- nautobot_dev_example-2.2.0/nautobot_dev_example/static/nautobot_dev_example/docs/admin/install.html +0 -1622
- nautobot_dev_example-2.2.0/nautobot_dev_example/static/nautobot_dev_example/docs/admin/release_notes/index.html +0 -1414
- nautobot_dev_example-2.2.0/nautobot_dev_example/static/nautobot_dev_example/docs/admin/release_notes/version_1.0.html +0 -1647
- nautobot_dev_example-2.2.0/nautobot_dev_example/static/nautobot_dev_example/docs/admin/release_notes/version_2.0.html +0 -1538
- nautobot_dev_example-2.2.0/nautobot_dev_example/static/nautobot_dev_example/docs/admin/release_notes/version_2.1.html +0 -1702
- nautobot_dev_example-2.2.0/nautobot_dev_example/static/nautobot_dev_example/docs/admin/release_notes/version_2.2.html +0 -1605
- nautobot_dev_example-2.2.0/nautobot_dev_example/static/nautobot_dev_example/docs/admin/uninstall.html +0 -1523
- nautobot_dev_example-2.2.0/nautobot_dev_example/static/nautobot_dev_example/docs/admin/upgrade.html +0 -1480
- nautobot_dev_example-2.2.0/nautobot_dev_example/static/nautobot_dev_example/docs/assets/_mkdocstrings.css +0 -119
- nautobot_dev_example-2.2.0/nautobot_dev_example/static/nautobot_dev_example/docs/assets/extra.css +0 -166
- nautobot_dev_example-2.2.0/nautobot_dev_example/static/nautobot_dev_example/docs/assets/favicon.ico +0 -0
- nautobot_dev_example-2.2.0/nautobot_dev_example/static/nautobot_dev_example/docs/assets/images/favicon.png +0 -0
- nautobot_dev_example-2.2.0/nautobot_dev_example/static/nautobot_dev_example/docs/assets/javascripts/bundle.471ce7a9.min.js +0 -29
- nautobot_dev_example-2.2.0/nautobot_dev_example/static/nautobot_dev_example/docs/assets/javascripts/bundle.471ce7a9.min.js.map +0 -7
- nautobot_dev_example-2.2.0/nautobot_dev_example/static/nautobot_dev_example/docs/assets/javascripts/lunr/min/lunr.ar.min.js +0 -1
- nautobot_dev_example-2.2.0/nautobot_dev_example/static/nautobot_dev_example/docs/assets/javascripts/lunr/min/lunr.da.min.js +0 -18
- nautobot_dev_example-2.2.0/nautobot_dev_example/static/nautobot_dev_example/docs/assets/javascripts/lunr/min/lunr.de.min.js +0 -18
- nautobot_dev_example-2.2.0/nautobot_dev_example/static/nautobot_dev_example/docs/assets/javascripts/lunr/min/lunr.du.min.js +0 -18
- nautobot_dev_example-2.2.0/nautobot_dev_example/static/nautobot_dev_example/docs/assets/javascripts/lunr/min/lunr.el.min.js +0 -1
- nautobot_dev_example-2.2.0/nautobot_dev_example/static/nautobot_dev_example/docs/assets/javascripts/lunr/min/lunr.es.min.js +0 -18
- nautobot_dev_example-2.2.0/nautobot_dev_example/static/nautobot_dev_example/docs/assets/javascripts/lunr/min/lunr.fi.min.js +0 -18
- nautobot_dev_example-2.2.0/nautobot_dev_example/static/nautobot_dev_example/docs/assets/javascripts/lunr/min/lunr.fr.min.js +0 -18
- nautobot_dev_example-2.2.0/nautobot_dev_example/static/nautobot_dev_example/docs/assets/javascripts/lunr/min/lunr.he.min.js +0 -1
- nautobot_dev_example-2.2.0/nautobot_dev_example/static/nautobot_dev_example/docs/assets/javascripts/lunr/min/lunr.hi.min.js +0 -1
- nautobot_dev_example-2.2.0/nautobot_dev_example/static/nautobot_dev_example/docs/assets/javascripts/lunr/min/lunr.hu.min.js +0 -18
- nautobot_dev_example-2.2.0/nautobot_dev_example/static/nautobot_dev_example/docs/assets/javascripts/lunr/min/lunr.hy.min.js +0 -1
- nautobot_dev_example-2.2.0/nautobot_dev_example/static/nautobot_dev_example/docs/assets/javascripts/lunr/min/lunr.it.min.js +0 -18
- nautobot_dev_example-2.2.0/nautobot_dev_example/static/nautobot_dev_example/docs/assets/javascripts/lunr/min/lunr.ja.min.js +0 -1
- nautobot_dev_example-2.2.0/nautobot_dev_example/static/nautobot_dev_example/docs/assets/javascripts/lunr/min/lunr.jp.min.js +0 -1
- nautobot_dev_example-2.2.0/nautobot_dev_example/static/nautobot_dev_example/docs/assets/javascripts/lunr/min/lunr.kn.min.js +0 -1
- nautobot_dev_example-2.2.0/nautobot_dev_example/static/nautobot_dev_example/docs/assets/javascripts/lunr/min/lunr.ko.min.js +0 -1
- nautobot_dev_example-2.2.0/nautobot_dev_example/static/nautobot_dev_example/docs/assets/javascripts/lunr/min/lunr.multi.min.js +0 -1
- nautobot_dev_example-2.2.0/nautobot_dev_example/static/nautobot_dev_example/docs/assets/javascripts/lunr/min/lunr.nl.min.js +0 -18
- nautobot_dev_example-2.2.0/nautobot_dev_example/static/nautobot_dev_example/docs/assets/javascripts/lunr/min/lunr.no.min.js +0 -18
- nautobot_dev_example-2.2.0/nautobot_dev_example/static/nautobot_dev_example/docs/assets/javascripts/lunr/min/lunr.pt.min.js +0 -18
- nautobot_dev_example-2.2.0/nautobot_dev_example/static/nautobot_dev_example/docs/assets/javascripts/lunr/min/lunr.ro.min.js +0 -18
- nautobot_dev_example-2.2.0/nautobot_dev_example/static/nautobot_dev_example/docs/assets/javascripts/lunr/min/lunr.ru.min.js +0 -18
- nautobot_dev_example-2.2.0/nautobot_dev_example/static/nautobot_dev_example/docs/assets/javascripts/lunr/min/lunr.sa.min.js +0 -1
- nautobot_dev_example-2.2.0/nautobot_dev_example/static/nautobot_dev_example/docs/assets/javascripts/lunr/min/lunr.stemmer.support.min.js +0 -1
- nautobot_dev_example-2.2.0/nautobot_dev_example/static/nautobot_dev_example/docs/assets/javascripts/lunr/min/lunr.sv.min.js +0 -18
- nautobot_dev_example-2.2.0/nautobot_dev_example/static/nautobot_dev_example/docs/assets/javascripts/lunr/min/lunr.ta.min.js +0 -1
- nautobot_dev_example-2.2.0/nautobot_dev_example/static/nautobot_dev_example/docs/assets/javascripts/lunr/min/lunr.te.min.js +0 -1
- nautobot_dev_example-2.2.0/nautobot_dev_example/static/nautobot_dev_example/docs/assets/javascripts/lunr/min/lunr.th.min.js +0 -1
- nautobot_dev_example-2.2.0/nautobot_dev_example/static/nautobot_dev_example/docs/assets/javascripts/lunr/min/lunr.tr.min.js +0 -18
- nautobot_dev_example-2.2.0/nautobot_dev_example/static/nautobot_dev_example/docs/assets/javascripts/lunr/min/lunr.vi.min.js +0 -1
- nautobot_dev_example-2.2.0/nautobot_dev_example/static/nautobot_dev_example/docs/assets/javascripts/lunr/min/lunr.zh.min.js +0 -1
- nautobot_dev_example-2.2.0/nautobot_dev_example/static/nautobot_dev_example/docs/assets/javascripts/lunr/tinyseg.js +0 -206
- nautobot_dev_example-2.2.0/nautobot_dev_example/static/nautobot_dev_example/docs/assets/javascripts/lunr/wordcut.js +0 -6708
- nautobot_dev_example-2.2.0/nautobot_dev_example/static/nautobot_dev_example/docs/assets/javascripts/workers/search.b8dbb3d2.min.js +0 -42
- nautobot_dev_example-2.2.0/nautobot_dev_example/static/nautobot_dev_example/docs/assets/javascripts/workers/search.b8dbb3d2.min.js.map +0 -7
- nautobot_dev_example-2.2.0/nautobot_dev_example/static/nautobot_dev_example/docs/assets/nautobot_logo.png +0 -0
- nautobot_dev_example-2.2.0/nautobot_dev_example/static/nautobot_dev_example/docs/assets/nautobot_logo.svg +0 -131
- nautobot_dev_example-2.2.0/nautobot_dev_example/static/nautobot_dev_example/docs/assets/networktocode_bw.png +0 -0
- nautobot_dev_example-2.2.0/nautobot_dev_example/static/nautobot_dev_example/docs/assets/overrides/partials/copyright.html +0 -21
- nautobot_dev_example-2.2.0/nautobot_dev_example/static/nautobot_dev_example/docs/assets/stylesheets/main.3cba04c6.min.css +0 -1
- nautobot_dev_example-2.2.0/nautobot_dev_example/static/nautobot_dev_example/docs/assets/stylesheets/main.3cba04c6.min.css.map +0 -1
- nautobot_dev_example-2.2.0/nautobot_dev_example/static/nautobot_dev_example/docs/assets/stylesheets/palette.06af60db.min.css +0 -1
- nautobot_dev_example-2.2.0/nautobot_dev_example/static/nautobot_dev_example/docs/assets/stylesheets/palette.06af60db.min.css.map +0 -1
- nautobot_dev_example-2.2.0/nautobot_dev_example/static/nautobot_dev_example/docs/dev/arch_decision.html +0 -1427
- nautobot_dev_example-2.2.0/nautobot_dev_example/static/nautobot_dev_example/docs/dev/code_reference/api.html +0 -1916
- nautobot_dev_example-2.2.0/nautobot_dev_example/static/nautobot_dev_example/docs/dev/code_reference/index.html +0 -1414
- nautobot_dev_example-2.2.0/nautobot_dev_example/static/nautobot_dev_example/docs/dev/code_reference/package.html +0 -1611
- nautobot_dev_example-2.2.0/nautobot_dev_example/static/nautobot_dev_example/docs/dev/contributing.html +0 -1585
- nautobot_dev_example-2.2.0/nautobot_dev_example/static/nautobot_dev_example/docs/dev/dev_environment.html +0 -2412
- nautobot_dev_example-2.2.0/nautobot_dev_example/static/nautobot_dev_example/docs/dev/extending.html +0 -1422
- nautobot_dev_example-2.2.0/nautobot_dev_example/static/nautobot_dev_example/docs/dev/release_checklist.html +0 -1876
- nautobot_dev_example-2.2.0/nautobot_dev_example/static/nautobot_dev_example/docs/images/icon-nautobot-dev-example.png +0 -0
- nautobot_dev_example-2.2.0/nautobot_dev_example/static/nautobot_dev_example/docs/index.html +0 -1598
- nautobot_dev_example-2.2.0/nautobot_dev_example/static/nautobot_dev_example/docs/insert-analytics.sh +0 -36
- nautobot_dev_example-2.2.0/nautobot_dev_example/static/nautobot_dev_example/docs/models/devexample.html +0 -1427
- nautobot_dev_example-2.2.0/nautobot_dev_example/static/nautobot_dev_example/docs/objects.inv +0 -6
- nautobot_dev_example-2.2.0/nautobot_dev_example/static/nautobot_dev_example/docs/requirements.txt +0 -7
- nautobot_dev_example-2.2.0/nautobot_dev_example/static/nautobot_dev_example/docs/search/search_index.json +0 -1
- nautobot_dev_example-2.2.0/nautobot_dev_example/static/nautobot_dev_example/docs/sitemap.xml +0 -123
- nautobot_dev_example-2.2.0/nautobot_dev_example/static/nautobot_dev_example/docs/sitemap.xml.gz +0 -0
- nautobot_dev_example-2.2.0/nautobot_dev_example/static/nautobot_dev_example/docs/user/app_getting_started.html +0 -1519
- nautobot_dev_example-2.2.0/nautobot_dev_example/static/nautobot_dev_example/docs/user/app_overview.html +0 -1571
- nautobot_dev_example-2.2.0/nautobot_dev_example/static/nautobot_dev_example/docs/user/app_use_cases.html +0 -1517
- nautobot_dev_example-2.2.0/nautobot_dev_example/static/nautobot_dev_example/docs/user/external_interactions.html +0 -1548
- nautobot_dev_example-2.2.0/nautobot_dev_example/static/nautobot_dev_example/docs/user/faq.html +0 -1421
- nautobot_dev_example-2.2.0/nautobot_dev_example/tests/test_basic.py +0 -25
- nautobot_dev_example-2.2.0/nautobot_dev_example/views.py +0 -30
- {nautobot_dev_example-2.2.0 → nautobot_dev_example-2.2.2}/LICENSE +0 -0
- {nautobot_dev_example-2.2.0 → nautobot_dev_example-2.2.2}/README.md +0 -0
- {nautobot_dev_example-2.2.0 → nautobot_dev_example-2.2.2}/nautobot_dev_example/api/__init__.py +0 -0
- {nautobot_dev_example-2.2.0 → nautobot_dev_example-2.2.2}/nautobot_dev_example/api/serializers.py +0 -0
- {nautobot_dev_example-2.2.0 → nautobot_dev_example-2.2.2}/nautobot_dev_example/api/urls.py +0 -0
- {nautobot_dev_example-2.2.0 → nautobot_dev_example-2.2.2}/nautobot_dev_example/api/views.py +0 -0
- {nautobot_dev_example-2.2.0 → nautobot_dev_example-2.2.2}/nautobot_dev_example/app-config-schema.json +0 -0
- {nautobot_dev_example-2.2.0 → nautobot_dev_example-2.2.2}/nautobot_dev_example/filters.py +0 -0
- {nautobot_dev_example-2.2.0 → nautobot_dev_example-2.2.2}/nautobot_dev_example/migrations/0001_initial.py +0 -0
- {nautobot_dev_example-2.2.0 → nautobot_dev_example-2.2.2}/nautobot_dev_example/migrations/__init__.py +0 -0
- {nautobot_dev_example-2.2.0 → nautobot_dev_example-2.2.2}/nautobot_dev_example/navigation.py +0 -0
- {nautobot_dev_example-2.2.0 → nautobot_dev_example-2.2.2}/nautobot_dev_example/tables.py +0 -0
- {nautobot_dev_example-2.2.0 → nautobot_dev_example-2.2.2}/nautobot_dev_example/tests/__init__.py +0 -0
- {nautobot_dev_example-2.2.0 → nautobot_dev_example-2.2.2}/nautobot_dev_example/tests/fixtures.py +0 -0
- {nautobot_dev_example-2.2.0 → nautobot_dev_example-2.2.2}/nautobot_dev_example/tests/test_api.py +0 -0
- {nautobot_dev_example-2.2.0 → nautobot_dev_example-2.2.2}/nautobot_dev_example/tests/test_filters.py +0 -0
- {nautobot_dev_example-2.2.0 → nautobot_dev_example-2.2.2}/nautobot_dev_example/tests/test_forms.py +0 -0
- {nautobot_dev_example-2.2.0 → nautobot_dev_example-2.2.2}/nautobot_dev_example/tests/test_models.py +0 -0
- {nautobot_dev_example-2.2.0 → nautobot_dev_example-2.2.2}/nautobot_dev_example/tests/test_views.py +0 -0
- {nautobot_dev_example-2.2.0 → nautobot_dev_example-2.2.2}/nautobot_dev_example/urls.py +0 -0
|
@@ -18,8 +18,6 @@ class NautobotDevExampleConfig(NautobotAppConfig):
|
|
|
18
18
|
description = "Nautobot App to demonstrate how to create a Nautobot App.."
|
|
19
19
|
base_url = "dev-example"
|
|
20
20
|
required_settings = []
|
|
21
|
-
min_version = "2.4.11"
|
|
22
|
-
max_version = "2.9999"
|
|
23
21
|
default_settings = {}
|
|
24
22
|
caching_config = {}
|
|
25
23
|
docs_view_name = "plugins:nautobot_dev_example:docs"
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
"""Forms for nautobot_dev_example."""
|
|
2
2
|
|
|
3
3
|
from django import forms
|
|
4
|
+
from nautobot.apps.constants import CHARFIELD_MAX_LENGTH
|
|
4
5
|
from nautobot.apps.forms import NautobotBulkEditForm, NautobotFilterForm, NautobotModelForm, TagsBulkEditFormMixin
|
|
5
6
|
|
|
6
7
|
from nautobot_dev_example import models
|
|
@@ -20,7 +21,7 @@ class DevExampleBulkEditForm(TagsBulkEditFormMixin, NautobotBulkEditForm): # py
|
|
|
20
21
|
"""DevExample bulk edit form."""
|
|
21
22
|
|
|
22
23
|
pk = forms.ModelMultipleChoiceField(queryset=models.DevExample.objects.all(), widget=forms.MultipleHiddenInput)
|
|
23
|
-
description = forms.CharField(required=False)
|
|
24
|
+
description = forms.CharField(required=False, max_length=CHARFIELD_MAX_LENGTH)
|
|
24
25
|
|
|
25
26
|
class Meta:
|
|
26
27
|
"""Meta attributes."""
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
# Generated by Django 4.2.24 on 2025-09-18 18:12
|
|
2
|
+
from django.db import migrations, models
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
class Migration(migrations.Migration):
|
|
6
|
+
dependencies = [
|
|
7
|
+
("nautobot_dev_example", "0001_initial"),
|
|
8
|
+
]
|
|
9
|
+
|
|
10
|
+
operations = [
|
|
11
|
+
migrations.AlterField(
|
|
12
|
+
model_name="devexample",
|
|
13
|
+
name="description",
|
|
14
|
+
field=models.CharField(blank=True, max_length=255),
|
|
15
|
+
),
|
|
16
|
+
migrations.AlterField(
|
|
17
|
+
model_name="devexample",
|
|
18
|
+
name="name",
|
|
19
|
+
field=models.CharField(max_length=255, unique=True),
|
|
20
|
+
),
|
|
21
|
+
]
|
|
@@ -4,6 +4,7 @@
|
|
|
4
4
|
from django.db import models
|
|
5
5
|
|
|
6
6
|
# Nautobot imports
|
|
7
|
+
from nautobot.apps.constants import CHARFIELD_MAX_LENGTH
|
|
7
8
|
from nautobot.apps.models import PrimaryModel, extras_features
|
|
8
9
|
|
|
9
10
|
|
|
@@ -15,8 +16,8 @@ from nautobot.apps.models import PrimaryModel, extras_features
|
|
|
15
16
|
class DevExample(PrimaryModel): # pylint: disable=too-many-ancestors
|
|
16
17
|
"""Base model for Nautobot Dev Example App app."""
|
|
17
18
|
|
|
18
|
-
name = models.CharField(max_length=
|
|
19
|
-
description = models.CharField(max_length=
|
|
19
|
+
name = models.CharField(max_length=CHARFIELD_MAX_LENGTH, unique=True)
|
|
20
|
+
description = models.CharField(max_length=CHARFIELD_MAX_LENGTH, blank=True)
|
|
20
21
|
# additional model fields
|
|
21
22
|
|
|
22
23
|
class Meta:
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
"""Views for nautobot_dev_example."""
|
|
2
|
+
|
|
3
|
+
from nautobot.apps.ui import ObjectDetailContent, ObjectFieldsPanel, SectionChoices
|
|
4
|
+
from nautobot.apps.views import NautobotUIViewSet
|
|
5
|
+
|
|
6
|
+
# if/when use the table, uncomment the following lines
|
|
7
|
+
# from nautobot.core.templatetags import helpers
|
|
8
|
+
# from nautobot.apps.ui import ObjectsTablePanel
|
|
9
|
+
from nautobot_dev_example import filters, forms, models, tables
|
|
10
|
+
from nautobot_dev_example.api import serializers
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
class DevExampleUIViewSet(NautobotUIViewSet):
|
|
14
|
+
"""ViewSet for DevExample views."""
|
|
15
|
+
|
|
16
|
+
bulk_update_form_class = forms.DevExampleBulkEditForm
|
|
17
|
+
filterset_class = filters.DevExampleFilterSet
|
|
18
|
+
filterset_form_class = forms.DevExampleFilterForm
|
|
19
|
+
form_class = forms.DevExampleForm
|
|
20
|
+
lookup_field = "pk"
|
|
21
|
+
queryset = models.DevExample.objects.all()
|
|
22
|
+
serializer_class = serializers.DevExampleSerializer
|
|
23
|
+
table_class = tables.DevExampleTable
|
|
24
|
+
|
|
25
|
+
# Here is an example of using the UI Component Framework for the detail view.
|
|
26
|
+
# More information can be found in the Nautobot documentation:
|
|
27
|
+
# https://docs.nautobot.com/projects/core/en/stable/development/core/ui-component-framework/
|
|
28
|
+
object_detail_content = ObjectDetailContent(
|
|
29
|
+
panels=[
|
|
30
|
+
ObjectFieldsPanel(
|
|
31
|
+
weight=100,
|
|
32
|
+
section=SectionChoices.LEFT_HALF,
|
|
33
|
+
fields="__all__",
|
|
34
|
+
# Alternatively, you can specify a list of field names:
|
|
35
|
+
# fields=[
|
|
36
|
+
# "name",
|
|
37
|
+
# "description",
|
|
38
|
+
# ],
|
|
39
|
+
# Some fields may require additional configuration, we can use value_transforms
|
|
40
|
+
# value_transforms={
|
|
41
|
+
# "name": [helpers.bettertitle]
|
|
42
|
+
# },
|
|
43
|
+
),
|
|
44
|
+
# If there is a ForeignKey or M2M with this model we can use ObjectsTablePanel
|
|
45
|
+
# to display them in a table format.
|
|
46
|
+
# ObjectsTablePanel(
|
|
47
|
+
# weight=200,
|
|
48
|
+
# section=SectionChoices.RIGHT_HALF,
|
|
49
|
+
# table_class=tables.DevExampleTable,
|
|
50
|
+
# You will want to filter the table using the related_name
|
|
51
|
+
# filter="devexamples",
|
|
52
|
+
# ),
|
|
53
|
+
],
|
|
54
|
+
)
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
[tool.poetry]
|
|
2
2
|
name = "nautobot-dev-example"
|
|
3
|
-
version = "
|
|
3
|
+
version = "2.2.2"
|
|
4
4
|
description = "Nautobot App to demonstrate how to create a Nautobot App."
|
|
5
5
|
authors = ["Network to Code, LLC <opensource@networktocode.com>"]
|
|
6
6
|
license = "Apache-2.0"
|
|
@@ -29,7 +29,7 @@ include = [
|
|
|
29
29
|
[tool.poetry.dependencies]
|
|
30
30
|
python = ">=3.9.2,<3.13"
|
|
31
31
|
# Used for local development
|
|
32
|
-
nautobot = "
|
|
32
|
+
nautobot = ">=2.4.11,<3.0.0"
|
|
33
33
|
|
|
34
34
|
[tool.poetry.group.dev.dependencies]
|
|
35
35
|
coverage = "*"
|
|
@@ -46,6 +46,13 @@ toml = "*"
|
|
|
46
46
|
# Python implementation of markdownlint
|
|
47
47
|
pymarkdownlnt = "~0.9.30"
|
|
48
48
|
Markdown = "*"
|
|
49
|
+
towncrier = ">=23.6.0,<=24.8.0"
|
|
50
|
+
to-json-schema = "*"
|
|
51
|
+
jsonschema = "*"
|
|
52
|
+
djlint = ">=1.36.4,<2.0.0"
|
|
53
|
+
djhtml = ">=3.0.8,<4.0.0"
|
|
54
|
+
|
|
55
|
+
[tool.poetry.group.docs.dependencies]
|
|
49
56
|
# Render custom markdown for version added/changed/remove notes
|
|
50
57
|
markdown-version-annotations = "1.0.1"
|
|
51
58
|
# Rendering docs to HTML
|
|
@@ -57,9 +64,6 @@ mkdocstrings = "0.25.2"
|
|
|
57
64
|
mkdocstrings-python = "1.10.8"
|
|
58
65
|
mkdocs-autorefs = "1.2.0"
|
|
59
66
|
griffe = "1.1.1"
|
|
60
|
-
towncrier = ">=23.6.0,<=24.8.0"
|
|
61
|
-
to-json-schema = "*"
|
|
62
|
-
jsonschema = "*"
|
|
63
67
|
|
|
64
68
|
[tool.poetry.extras]
|
|
65
69
|
all = [
|
|
@@ -78,6 +82,10 @@ no-docstring-rgx = "^(_|test_|Meta$)"
|
|
|
78
82
|
disable = """,
|
|
79
83
|
line-too-long,
|
|
80
84
|
too-many-ancestors,
|
|
85
|
+
too-many-positional-arguments,
|
|
86
|
+
nb-warn-dunder-filter-field,
|
|
87
|
+
nb-no-search-function,
|
|
88
|
+
nb-no-char-filter-q,
|
|
81
89
|
"""
|
|
82
90
|
|
|
83
91
|
[tool.pylint.miscellaneous]
|
|
@@ -89,7 +97,7 @@ notes = """,
|
|
|
89
97
|
|
|
90
98
|
[tool.pylint-nautobot]
|
|
91
99
|
supported_nautobot_versions = [
|
|
92
|
-
"2
|
|
100
|
+
"2"
|
|
93
101
|
]
|
|
94
102
|
|
|
95
103
|
[tool.ruff]
|
|
@@ -207,3 +215,8 @@ showcontent = true
|
|
|
207
215
|
directory = "housekeeping"
|
|
208
216
|
name = "Housekeeping"
|
|
209
217
|
showcontent = true
|
|
218
|
+
|
|
219
|
+
[tool.djlint]
|
|
220
|
+
ignore = "H005,H006,H008,H011,H012,H013,H014,H015,H016,H019,H020,H021,H022,H023,H025,H026,H030,H031,H037"
|
|
221
|
+
profile="django"
|
|
222
|
+
extend_exclude = "docs/,nautobot_dev_example/static/"
|