Skip to content
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

Run latest pylint-nautobot #3

Open
wants to merge 14 commits into
base: develop
Choose a base branch
from

Conversation

snaselj
Copy link
Contributor

@snaselj snaselj commented Feb 19, 2024

Closes Nan

What's Changed

  • Improved invoke pylint to run with the latest pylint-nautobot.
  • Added GitHub Action workflow to be run every other day to check the latest develop with the latest pylint-nautobot.

@snaselj snaselj changed the base branch from develop to u/snaselj-cleanup February 19, 2024 11:53
@snaselj snaselj changed the base branch from u/snaselj-cleanup to develop February 21, 2024 14:45
@snaselj snaselj changed the base branch from develop to drift-manager/baked February 21, 2024 14:46
@snaselj snaselj changed the base branch from drift-manager/baked to develop February 21, 2024 14:46
tasks.py Show resolved Hide resolved
tasks.py Outdated Show resolved Hide resolved
@snaselj snaselj marked this pull request as draft March 4, 2024 10:03
@snaselj
Copy link
Contributor Author

snaselj commented Mar 4, 2024

Any clue, where are Slack notifications sent? @cmsirbu 🙏

https://github.com/nautobot/nautobot-app-dev-example/actions/runs/8139358465/job/22242416754#step:2:1

@cmsirbu
Copy link
Contributor

cmsirbu commented Mar 4, 2024

Any clue, where are Slack notifications sent? @cmsirbu 🙏

https://github.com/nautobot/nautobot-app-dev-example/actions/runs/8139358465/job/22242416754#step:2:1

Right now, into the wrong channel I think :) That's used for pypi release notifications.

@snaselj snaselj marked this pull request as ready for review March 19, 2024 08:32
@snaselj snaselj requested a review from whitej6 as a code owner March 19, 2024 08:32
@snaselj snaselj requested a review from cmsirbu March 19, 2024 08:33
@snaselj snaselj self-assigned this Mar 19, 2024
@snaselj
Copy link
Contributor Author

snaselj commented Mar 19, 2024

run_command(context, " ".join(pylint_command))
return

pip_and_pylint_command = ["pip install"]
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why do we have to pip install it here?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

For our implementation, similar to pylint-django, it's necessary to have the package installed.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What I don't understand is why is this not installed by poetry?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

poetry install doesn't allow to specify the GitHub as a package source, works with local pyproject.toml only.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants