-
Notifications
You must be signed in to change notification settings - Fork 32
Add new example with pynautobot #53
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from 1 commit
Commits
Show all changes
25 commits
Select commit
Hold shift + click to select a range
be0954c
Add exampele3 with pynautobot
dgarros 9b0ffb1
Replace sub region with population, add diff and flags
dgarros 5288b5f
Pylint and pydocstyle
dgarros 144820d
exclude examples and docs from mypy
dgarros 8c2d17e
exclude examples and docs from pylint
dgarros 8a4cbd9
Update examples/example3/main.py
dgarros 23ce5b3
Update examples/example3/diff.py
dgarros 7578196
Update examples/example3/local_adapter.py
dgarros 0685de8
Update examples/example3/local_adapter.py
dgarros f91d5c4
Update examples/example3/local_adapter.py
dgarros db21ce1
Update examples/example3/README.md
dgarros 1eb9b3e
Update examples/example3/README.md
dgarros 29a0995
Update examples/example3/README.md
dgarros 9924b1d
Update examples/example3/local_adapter.py
dgarros f1382c2
Update examples/example3/local_adapter.py
dgarros 1f73b74
Update examples/example3/main.py
dgarros bd43009
Update examples/example3/main.py
dgarros 38e8dd9
Update examples/example3/main.py
dgarros b0e8b54
Update examples/example3/nautobot_adapter.py
dgarros b99649d
Update examples/example3/nautobot_adapter.py
dgarros 06ec2d2
Update examples/example3/nautobot_adapter.py
dgarros b307176
Update examples/example3/nautobot_adapter.py
dgarros c91eeb5
Update format with black
dgarros efd36a7
Reenable pylint on the examples folder
dgarros e47dd69
fix import error for pylint in example3
dgarros File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
exclude examples and docs from pylint
- Loading branch information
commit 8c2d17ef7eeb9d85a8340e0fc0e0e75665361964
There are no files selected for viewing
This file contains hidden or 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
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why not run pylint against the example code? Seems like it'd be good practice.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Here is the list of errors reported by pylint when it's enabled.
It feels like pylint is expecting all python code to be part of the same package and it is not happy because we have some redundant code and library across some examples.
https://github.com/networktocode/diffsync/runs/3861062794
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Interesting. Does renaming the duplicated
models.py
files toexample1_models.py
andexample3_models.py
respectively help to fix this?