Add linting back in
Some checks failed
continuous-integration/drone/push Build is failing

This commit is contained in:
IamTheFij 2023-10-27 14:04:46 -07:00
parent 302258ce6c
commit 5ba06140dc

View File

@ -15,6 +15,19 @@ def main(ctx):
# Run tests # Run tests
pipelines += tests() pipelines += tests()
pipelines += [{
"kind": "pipeline",
"name": "lint",
"workspace": get_workspace(),
"steps": [{
"name": "lint",
"image": "python:3",
"commands": [
"python -V",
"make lint",
]
}]
}]
# Add pypi push pipeline # Add pypi push pipeline
pipelines += push_to_pypi() pipelines += push_to_pypi()
@ -106,7 +119,7 @@ def push_to_pypi():
return [{ return [{
"kind": "pipeline", "kind": "pipeline",
"name": "deploy to pypi", "name": "deploy to pypi",
"depends_on": ["tests"], "depends_on": ["tests", "lint"],
"workspace": get_workspace(), "workspace": get_workspace(),
"trigger": { "trigger": {
"ref": [ "ref": [