Skip to content

Commit

Permalink
Update comments on post_gen_project and models.py (#150)
Browse files Browse the repository at this point in the history
* Update comments on post_gen_project and models.py

* Use invoke and fix for Ruff

* Update nautobot-app/hooks/post_gen_project.py

Co-authored-by: Gary Snider <[email protected]>

* Update chatops post_gen_project

---------

Co-authored-by: Gary Snider <[email protected]>
  • Loading branch information
smk4664 and gsnider2195 authored Aug 22, 2024
1 parent 3dbb57e commit 3e5c2d3
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion nautobot-app-chatops/hooks/post_gen_project.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
* poetry install
* poetry shell
* invoke makemigrations
* ruff . # this will ensure all python files are formatted correctly, may require `sudo chown -R <my local username> ./` as migrations may be owned by root
* inv ruff --fix # this will ensure all python files are formatted correctly, may require `sudo chown -R $USER ./` as migrations may be owned by root
The file `creds.env` will be ignored by git and can be used to override default environment variables.
"""
Expand Down
2 changes: 1 addition & 1 deletion nautobot-app/hooks/post_gen_project.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
* poetry install
* poetry shell
* invoke makemigrations
* ruff . # this will ensure all python files are formatted correctly, may require `sudo chown -R <my local username> ./` as migrations may be owned by root
* invoke ruff --fix # this will ensure all python files are formatted correctly, may require `sudo chown -R $USER ./` as migrations may be owned by root
The file `creds.env` will be ignored by git and can be used to override default environment variables.
"""
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
# Nautobot imports
from nautobot.apps.models import PrimaryModel

# from nautobot.extras.utils import extras_features
# from nautobot.apps.models import extras_features
# If you want to use the extras_features decorator please reference the following documentation
# https://docs.nautobot.com/projects/core/en/latest/plugins/development/#using-the-extras_features-decorator-for-graphql
# Then based on your reading you may decide to put the following decorator before the declaration of your class
Expand Down

0 comments on commit 3e5c2d3

Please sign in to comment.