-
Notifications
You must be signed in to change notification settings - Fork 6
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
use plugin configuration #398
Conversation
- git tag --delete 1.0.0 2.0.0 2.1.0 2.1.1 2.1.2 2.1.2.dev0 2.1.2.dev1 | ||
""" | ||
|
||
import subprocess # nosec |
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.
What does #nosec
do?
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.
bandit (part of our precommit) flags possible security vulnerabilities and it was mad about subprocess use, nosec skips that line
# -----DO NOT MODIFY THIS FILE----- | ||
# This file should only be modified by bumpver, which should in turn only be ran | ||
# via a GH Action | ||
version = "0.1.7" |
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.
I think in order to complete this setup, you need to have something like this which watches for modifications to version.toml
then builds and publishes if version.toml
has been modified. You could also build and publish manually if you prefer
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.
Note that ours is currently set up to publish to artifactory, so yours might look more like this
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.
ah good point, I'll modify our publish.yml
What does this PR do?
Incorporate plugin's bump workflow
Before submitting
pytest
command?pre-commit run -a
command?Did you have fun?
Make sure you had fun coding 🙃