-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* initial work for 2.0 * implements #28 - context aware regex rules * updated docs and release notes * fix tests * Apply suggestions from code review Co-authored-by: Glenn Matthews <glenn.matthews@networktocode.com> * chore: Remove RQ (#37) - Removed all "rq" occurences - kept in `poetry.lock` Co-authored-by: Jan Snasel <jan.snasel@networktocode.com> * chore: Use NautobotFilterSet and bump nautobot 1.5 (#40) * chore: Use NautobotFilterSet and bump nautobot 1.5 - Potentially we could use nautobot v1.4 with NautobotFilterSet, however, to be sure, it seems to be better to use v1.5 * fix: Nautobot version in tasks.py --------- Co-authored-by: Jan Snasel <jan.snasel@networktocode.com> * Simple fixes to next branch (#38) * fix: remove .coverage * doc * fix: Missing logger name in nautobot config * doc: Update compatibility matrix - mark v2.0.0 to be compatible up to 1.99.99 * doc: Fix links to unique rules images * fix: Log error in case of jinja exception - `self.validation_error` raises an Exception and LOGGER would not be called this way * chore: Reformat lists - one item per line - to better recognize changes in reviews * cleanup: Unnecessary imports * fix: Text `required` used for `unique` validator objects * fix: Replace TestCase with NameSlugFilterTestCase * fix: Blacklisted fields validation typo --------- Co-authored-by: Jan Snasel <jan.snasel@networktocode.com> Co-authored-by: Steven <111259311+DistantVoyager@users.noreply.github.com> * Updated plugin files and structure using cookiecutter template (#44) * Used cookiecutter template to update tasks and dev * Updated root files to follow cookiecutter * Update docs to correspond to cookiecutter template * Modded pyproject.toml format to match cookiecutter * Updated github ci.yml using cookiecutter template * Minor fixes for black formatting * Removed unused imports for flake8 * Formatting fixes for pydocstyle D200, D202, D415 * Fixed pydocstyle docstring issues D101, D102, D106 * Removed tabs for black formatting * Updates to mkdocs and gitignore using cookiecutter * Updated .github dir using cookiecutter-ntc * Updated development dir using cookiecutter-ntc * Updated docs dir using cookiecutter-ntc * Updated inits using cookiecutter-ntc * Updated root source files using cookiecutter-ntc * Quick fixes for nautobot version * Use default ver in dockerfile; update nautobot min * Update poetry.lock * More changes to min nautobot 1.5.0 * Removed 1.4 from dockerfile nautobot ver * Bumped nautobot ver min to 1.5.2 for app rel v2.0 * Disabling some pylint checks to be addressed later * Handling for skipping a bugged view unit test * Minor formatting * Added newline for linting --------- Co-authored-by: Glenn Matthews <glenn.matthews@networktocode.com> Co-authored-by: Jan Snasel <snaselj@gmail.com> Co-authored-by: Jan Snasel <jan.snasel@networktocode.com> Co-authored-by: Steven <111259311+DistantVoyager@users.noreply.github.com>
- Loading branch information
1 parent
ef64c88
commit b4c3bf7
Showing
83 changed files
with
6,581 additions
and
1,698 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,6 @@ | ||
--- | ||
skips: [] | ||
# No need to check for security issues in the test scripts! | ||
exclude_dirs: | ||
- "./tests/" | ||
- "./.venv/" |
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 |
---|---|---|
@@ -0,0 +1,25 @@ | ||
{ | ||
"cookiecutter": { | ||
"codeowner_github_usernames": "@smith-ntc", | ||
"full_name": "Network to Code, LLC", | ||
"email": "info@networktocode.com", | ||
"github_org": "nautobot", | ||
"plugin_name": "nautobot_data_validation_engine", | ||
"verbose_name": "Data Validation Engine", | ||
"plugin_slug": "nautobot-data-validation-engine", | ||
"project_slug": "nautobot-plugin-data-validation-engine", | ||
"repo_url": "https://github.com/nautobot/nautobot-plugin-data-validation-engine", | ||
"base_url": "nautobot-data-validation-engine", | ||
"min_nautobot_version": "1.5.2", | ||
"max_nautobot_version": "1.9999", | ||
"nautobot_version": "latest", | ||
"camel_name": "NautobotDataValidationEngine", | ||
"project_short_description": "Provides UI to build custom data validation rules for data in Nautobot", | ||
"version": "2.0.0", | ||
"model_class_name": "None", | ||
"open_source_license": "Apache-2.0", | ||
"docs_base_url": "https://docs.nautobot.com", | ||
"docs_app_url": "https://docs.nautobot.com/projects/data-validation/en/latest", | ||
"_template": "nautobot-plugin" | ||
} | ||
} |
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 |
---|---|---|
@@ -0,0 +1,27 @@ | ||
# Docker related | ||
development/Dockerfile | ||
development/docker-compose*.yml | ||
development/*.env | ||
*.env | ||
environments/ | ||
|
||
# Python | ||
**/*.pyc | ||
**/*.pyo | ||
**/__pycache__/ | ||
**/.pytest_cache/ | ||
**/.venv/ | ||
|
||
|
||
# Other | ||
docs/_build | ||
FAQ.md | ||
.git/ | ||
.gitignore | ||
.github | ||
tasks.py | ||
LICENSE | ||
**/*.log | ||
**/.vscode/ | ||
invoke*.yml | ||
tasks.py |
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,10 @@ | ||
[flake8] | ||
# E501: Line length is enforced by Black, so flake8 doesn't need to check it | ||
# W503: Black disagrees with this rule, as does PEP 8; Black wins | ||
ignore = E501, W503, F811, F401, F403, F405 | ||
ignore = E501, W503 | ||
exclude = | ||
migrations, | ||
__pycache__, | ||
manage.py, | ||
settings.py, | ||
.venv |
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 |
---|---|---|
@@ -0,0 +1,10 @@ | ||
## New Pull Request | ||
|
||
Have you: | ||
- [ ] Updated the README if necessary? | ||
- [ ] Updated any configuration settings? | ||
- [ ] Written a unit test? | ||
|
||
## Change Notes | ||
|
||
## Justification |
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
Oops, something went wrong.